来由:分区u盘有概率导致U盘被写保护,烂U盘概率更大
准备工具:fbinst+bootice
步骤:
step1:删除所有分区+fbinst格式化
step2:新建data(ntfs)区
step3:复制系统引导文件到data(ntfs)区(grldr+MENU.LST+bootmgr以及其他系统引导文件【其实就是把winpe.iso里的所有文件】)
step4:bootice 修复主分区引导记录为 wee (bootice f: /mbr /install /type=wee);
bootice 修复分区引导记录为bootmgr(bootice f: /pbr /install /type=bootmgr);
精髓:
主引导记录菜单
default 0
timeout 1
title 1 Win10PE
find --set-root --active command +1
find --set-root /bootmgr /bootmgr
find --set-root /ntldr /ntldr
title 2 MaxDos
find --set-root /grldr /grldr
grldr文件-------------
pxe detect
configfile
default 0
timeout 0
title find /menu.lst, /boot/menu.lst
errorcheck off
configfile /menu.lst
configfile /boot/menu.lst
if "%@root:~1,1%"=="f" && find --set-root --devices=f /menu.lst && configfile /menu.lst
find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
find --set-root --ignore-floppies --ignore-cd /boot/menu.lst && configfile /boot/menu.lst
errorcheck on
commandline
MENU.LST文件------------
map --mem /IKQD/BOOT/imgs/MAXDOS93.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)