Hello, I have an x86 WinCE50 system that uses the ATAPI IDE driver for
a system CF card.
Currently, I have the CF card partitioned into 2 parts:
*Partition1 = Fat16 bootable partition with CEPC Nk.bin
*Partition2 = TFAT formatted partition for WinCE use.
I am currently trying to mount the partition 2 as root, but having no
luck at all. I have tried the following approaches.
1) Use MountAsRoot and AutoMount keys for partitions to set which
should mount as root, making sure to set Part1 MountAsBootable=0 so it
does not think system/hive files are on the drive.
Result: Partition 1 still mounts to root. This seemed to have no
effect. Maybe I am messing up the way I use the Profile? (HDProfile
\Part00\ see my reg below)?
2) Use the 'cheating' method to set the PartitionTable key 0x04 to
invalid FS. (suggested here:
http://groups.google.com/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/e122bf548aab3c7c/c61f11d3a810184f)
[HKLM\System\StorageManager\PartitionTable]
"04"="SYSBOOT"
Result: Both partition 1 and 2 do not mount and the system halts after
storage manager. To my understanding, the first partition formatted
in FAT16 is 0x04. However, shouldn't my TFAT partition be type x0B
(MS-DOS 32 bit FAT)? Perhaps I am wrong in my assumptions of how the
PartitionTable works.
3) Setting the "PartitionDriverName" to blank in an attempt to load
null partition driver
[HKLM\System\StorageManager\Profiles\HDProfile\Part00]
"PartitionDriverName"=""
[HKLM\System\StorageManager\Profiles\HDProfile\Part01]
"PartitionDriverName"="MSPART"
Result: Both partitions still loaded.
Here is where I am at stuck. Can anyone offer advice or help? Thanks
in advance
-t
Below are my current registry settings - some may have been enabled/
disabled per the 3 steps above (which I tried one at a time).
[HKLM\System\StorageManager\Profiles\HDProfile]
"MountAsRom"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:0
"Flags"=dword:00080064
[HKLM\System\StorageManager\Profiles\HDProfile\FATFS]
"MountAsRom"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:0
"Flags"=dword:00080064
[HKLM\System\StorageManager\Profiles\HDProfile\Part00]
"AutoMount"=dword:0
"AutoFormat"=dword:0
"AutoPart"=dword:0
"DefaultFileSystem"="FATFS"
; "PartitionDriver"="mspart.dll"
"PartitionDriver"=""
"MountAsRom"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:0
"Flags"=dword:00080064
[HKLM\System\StorageManager\Profiles\HDProfile\Part01]
"AutoMount"=dword:1
"AutoFormat"=dword:0
"AutoPart"=dword:0
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"MountAsRom"=dword:1
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:0
"Flags"=dword:00080064