Re: AutoFormat and AutoMount

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Feb 20, 9:29 am, Ronnie Lim <Ronnie...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Hello Everyone,
I just started using CE5.0 PlatformBuilder and have a problem trying to get
the internal flash disk partitioned, formatted and mounted automatically when
it boots up. I'm using a Samsung S3C2440A based board with K9F1208 nand flash
and I can use the storage manager in the control panel to format/mount with
no problem. As my final target device will not have a LCD, I need to
automatically check/format/mount the flash disk upon boot.
This is the first time I'm using Platform Builder and I can't seems to get
this working.
Thank you very much for any help/advise.

Here's my platform.reg :

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Support BINFS Section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Add BinFS to partition table
[HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
        "21"="BINFS"

[HKEY_LOCAL_MACHINE\System\StorageManager\BINFS]
        "Folder"="BINFS"
        "FriendlyName"="Bin FileSystem"
        "Dll"="binfs.dll"
; MountFlags:
; 0x10 specifies that this file system is to be mounted as an external
;      ROM filesystem shadowing the \windows directory
; 0x1 specifies that the mountpoint \BINFS is to be hidden
;
        "MountFlags"=dword:11
        "BootPhase"=dword:0

;
; Entries to load the block driver that BINFS uses
; This is dependent on what device is used
;

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FlashDrv]
        "DriverPath"="Drivers\\BlockDevice\\FlashDrv"
        "LoadFlags"=dword:1
        "MountFlags"=dword:11
        "BootPhase"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\FlashDrv]
        "Prefix"="DSK"
        "Dll"="FLASHDRV.dll"
        "Order"=dword:0
        "Ioctl"=dword:4
        "Profile"="FlashDrv"
        "FriendlyName"="MS Flash Driver"
        "MountFlags"=dword:11
        "BootPhase"=dword:0

; Bind BINFS to the block driver
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv]
;       "DefaultFileSystem"="BINFS"
        "FileSystem"="FATFS"
        "PartitionDriver"="mspart.dll"
        "AutoFormat"=dword:1
        "AutoMount"=dword:1
        "AutoPart"=dword:1
;       "MountFlags"=dword:11
;   "MountSystem"=dword:1
;       "MountAsRoot"=dword:1
        "Folder"="Flash Storage"
        "Name"="Microsoft Flash Disk"
        "BootPhase"=dword:0

; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv\FATFS]
        "MountFlags"=dword:0

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
        "MountFlags"=dword:0

How are creating partition? Boot part library?

Thanks
.



Relevant Pages

  • Re: BootIt NG high level steps - best approach??
    ... backup boot strategy. ... As far as BING, I should tell you I've been using this software ... make managing your bootable options and partition management so much easier. ... drives) and the DATA partition on a mirrored array. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Dual booting
    ... of Microsoft's dual boot scenario. ... The extended partition is not assigned a drive letter, ... BIOS reserves letters A and B for floppy drives, ... If WinXP Setup ...
    (microsoft.public.windowsxp.general)
  • Re: Dual Boot Instructions
    ... I ended up reinstalling Vista, ... The boot SECTOR is not the bootLOADER. ... finds the partition table for that HDD and sees that the first partition is ... violated, we no longer can simply install WinXP, install Vista and ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: how to change out system disk?
    ... Inaccessible_Boot_Device, when trying to boot from the new HD, but sometimes ... WinXP booted, you can still run Word, Quicken or whatever without having to ... following the primary partition and the first logical drive ). ... > logical drives in a single extended partition. ...
    (microsoft.public.windowsxp.hardware)
  • Re: XP reinstallation woes on Multiboot system
    ... original installation a breeze.Was I ever wrong! ... I mean the moment the yellow progress bar in Setup is Copying Files ... You need to be *very* quick to catch it, if you want to Boot into any ... & what Partition are you choosing to do the Install onto? ...
    (uk.people.silversurfers)