Re: Hive with self made Flash File System



Hi !
Hi!

Apology if I was unable to explain earlier.

Actually I tried both using MountasRoot and MountasBootable flags for
particular profile I created and thereafter I tried without those flags.

I am actually able to see hive files in the storage device where its getting
created.

But for some reason it's seems like not reading from those locations when
rebooting the system.

Depending on the Flags value I set below it either loads DeviceManager or
Storage Manager.
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="system.hv"
"ProfileDir"="Profiles"
"Flags"=dword:0
; END HIVE BOOT SECTION

When MyFSD driver loads, thereafter DeviceManager driver loads and just
hangs at BUSENUM.dll. Usually in any normal situation Block driver gets
loaded at this point.

I was curious if the Block Device Driver is required for Hive Based Registry
Functionality?

As I had earlier mentioned that I do not have any Block Driver(or FMD) and I
have implemented read/write NAND functionality in my File System Driver
itself. As my File System Driver is Monolithic.

Since I have my own FSD do I have to implement Registry read write functions ?


Thanks!

"Paul G. Tobey [eMVP]" wrote:

I just told you! You're expecting to store the hive in \Documents and
Settings, but *that's not on the flash filesystem*! So, reading it back
won't work; it was never saved to persistent storage!

Paul T.

"JAM" <JAM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7EA21E69-2CB2-4DB8-8FE9-3AB72CA85AEC@xxxxxxxxxxxxxxxx
No I am not mounting the flash filesystem as the root.

So I made changes as below.
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="system.hv"
"ProfileDir"=""
"Start DevMgr"=dword:1
"Flags"=dword:3

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MYFSD]
"FriendlyName"="MYFSD"
"Dll"="MYFSD.dll"
"BootPhase"=dword:0
"LoadFlags"=dword:1 ; 1:load synchronously 2:load asynchronously

; END HIVE BOOT SECTION

Could you please let me know if I am still doing something wrong in
registry.

Thanks much!


"Paul G. Tobey [eMVP]" wrote:

You're mounting the flash filesystem as the root? Otherwise, won't
Documents and Settings *not* be in the right filesystem?

Paul T.

"JAM" <JAM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D635428D-ECC6-4896-A0B9-CD31DFEAE04E@xxxxxxxxxxxxxxxx
Thanks for prompt reply.

I would appreciate if you could verify the registry settings.

; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="Documents and Settings\\system.hv"
"ProfileDir"="Documents and Settings"
"Start DevMgr"=dword:1
"Flags"=dword:3

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MYFSD]
"FriendlyName"="MYFSD"
"Dll"="MYFSD.dll"
"BootPhase"=dword:0
"LoadFlags"=dword:1 ; 1:load synchronously 2:load asynchronously

; END HIVE BOOT SECTION

I am glad to know about PSM. In our case. FSDMGR does load the MYFSD.
Either I am missing load order or some functionality.

Thanks!



"Paul G. Tobey [eMVP]" wrote:

You can use the hive registry with any storage device. Reading back
probably indicates that you are not mounting the filesystem properly
during
startup. I'm using Intel's Persistent Storage Manager, which doesn't
use
FAT, and it works fine.

Paul T.

"JAM" <JAM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EBE2226E-9374-4155-B318-34FE761DAF87@xxxxxxxxxxxxxxxx
Hi!
Can I use hive functionality with self made flash file system ?
Flash File System is autoloaded using FSDMGR.
There is "NO" block driver. I use Flash File System driver with self
made
NAND read/write routines. I have implemented all functions required
by
File
System.

I am able to save Hive registry but not able to read back on reboot.

Is it possible to use hive registry with any other file system then
FAT?
















.



Relevant Pages

  • Re: Hive registry hangs
    ... HIVE BOOT SECTION commends. ... BootVars registry entries. ... system seems to get inintialized instead of my TFFS file system: ... kernel to be ready to launch apps ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Hive registry hangs
    ... Is anyone aware of a combined final registry file ... ; END HIVE BOOT SECTION ... system seems to get inintialized instead of my TFFS file system: ... kernel to be ready to launch apps ...
    (microsoft.public.windowsce.platbuilder)
  • HIVE Based registry with MSFlash and WinCE 6.0
    ... I have Windows CE 6.0 platform using PXA270 processor, my flash is NOR ... I can read write from MSFlash file system. ... Registry Storage: HIVE based registry ... ; END HIVE BOOT SECTION ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Hive registry hangs
    ... ; END HIVE BOOT SECTION ... system seems to get inintialized instead of my TFFS file system: ... Initializing Database ... kernel to be ready to launch apps ...
    (microsoft.public.windowsce.platbuilder)

Loading