Set external storage device as root directory

To set a external storage device as root directory, just set registry as following:

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
"DriverPath"="Drivers\\BuiltIn\\NORFlash"
"LoadFlags"=dword:1
"BootPhase"=dword:0
"Order"=dword:0
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1


[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
;"MountFlags"=dword:2
"EnableCache"=dword:0
"MountBootable"=dword:1
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/Vichard/archive/2009/08/29/4497658.aspx

原文地址:https://www.cnblogs.com/ceblog/p/1772363.html