nkc3g4 发表于 2015-1-24 09:25:38

让UEFI 支持NTFS分区启动

经过搜索,有大神开发了一个NTFS.EFI的文件,使用EFI SHELL加载,就能识别NTFS分区
下载地址:http://pan.baidu.com/s/1sjuhZL7

启动NTFS分区上的WIN TO GO系统具体操作方法:
准备两个优盘
一个FAT32格式的小优盘,就放NTFS.EFI
一个NTFS格式的 装有WIN8系统并且含有EFI启动文件的优盘或移动硬盘

在系统启动时选择进入EFI SHELL



看上面找到优盘映射的驱动器,在我这里是FS1



如果你的主板原生支持NTFS分区,那你将在上面看到两个优盘映射比如 FS1和FS2,那就不需要这个操作了,直接启动就行了。

主板不支持的话,就需要加载NTFS驱动了

在下面输入
fs1:
load ntfs.efi



看到成功了,继续输入
map -r



可以看到,有一个移动磁盘被映射到了FS2,这说明主板已经识别了两个优盘,由于看不到完整的列表,我们需要试一下
继续输入
fs2:
ls
看到只有一个NTFS.EFI,说明这不是我们要找的NTFS分区
fs1:
ls
看到


NTFS分区中的文件列表,说明我们成功了
继续输命令
cd efi
cd boot
bootx64.efi



回车之后就能启动WIN TO GO 系统了

nkc3g4 发表于 2015-1-24 09:27:25

但是每次这样操作太复杂了,我参考无忧论坛上大神的一篇文章
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=333680写个脚本文件

nkc3g4 发表于 2015-1-24 10:20:02


我修改的startup.nsh,适用于VHD,64位系统新建一个文本文档,复制内容 粘贴,将文件名改为startup.nsh,放入X:\efi\boot (X是你的FAT32格式小优盘盘符)
将NTFS.EFI放入X:\apps
echo -off
if exist fs0:\apps\ntfs.efi then
set test "fs0:"
endif
if exist fs1:\apps\ntfs.efi then
set test "fs1:"
endif
if exist fs2:\apps\ntfs.efi then
set test "fs2:"
endif
if exist fs3:\apps\ntfs.efi then
set test "fs3:"
endif
if exist fs4:\apps\ntfs.efi then
set test "fs4:"
endif
if exist fs5:\apps\ntfs.efi then
set test "fs5:"
endif
if exist fs6:\apps\ntfs.efi then
set test "fs6:"
endif
if exist fs7:\apps\ntfs.efi then
set test "fs7:"
endif
if exist fs8:\apps\ntfs.efi then
set test "fs8:"
endif
if exist fs9:\apps\ntfs.efi then
set test "fs9:"
endif
if exist fsa:\apps\ntfs.efi then
set test "fsa:"
endif
if exist fsb:\apps\ntfs.efi then
set test "fsb:"
endif
load %test%\apps\ntfs.efi

if exist blk0:\win8.vhd then
set test1 "blk0:"
endif
if exist blk1:\win8.vhd then
set test1 "blk1:"
endif
if exist blk2:\win8.vhd then
set test1 "blk2:"
endif
if exist blk3:\win8.vhd then
set test1 "blk3:"
endif
if exist blk4:\win8.vhd then
set test1 "blk4:"
endif
if exist blk5:\win8.vhd then
set test1 "blk5:"
endif
if exist blk6:\win8.vhd then
set test1 "blk6:"
endif
if exist blk7:\win8.vhd then
set test1 "blk7:"
endif
if exist blk8:\win8.vhd then
set test1 "blk8:"
endif
if exist blk9:\win8.vhd then
set test1 "blk9:"
endif
if exist blka:\win8.vhd then
set test1 "blka:"
endif
if exist blkb:\win8.vhd then
set test1 "blkb:"
endif
%test1%
cd EFI
cd Boot
bootx64.efi
启动时仍然需要连接两个优盘,选择 EFI SHELL这项



启动时按一下回车,启动startup.nsh




完成!

nkc3g4 发表于 2015-2-3 00:11:44

minifans 发表于 2016-7-6 23:04:47

太高深了,看不懂
页: [1]
查看完整版本: 让UEFI 支持NTFS分区启动