|
以下是我的Grub4dos菜单
default 0
timeout 5
gfxmenu /grub/message
title 从上次系统启动
find --set-root /bootmgr
chainloader /bootmgr
title Windows 10
find --set-root --devices=h /boot/BCD
dd if=()/boot/bcd10 of=()/boot/BCD
find --set-root /bootmgr
chainloader /bootmgr
title Windows 7
find --set-root --devices=h /boot/BCD
dd if=()/boot/bcd7 of=()/boot/BCD
find --set-root /bootmgr
chainloader /bootmgr
title 还原_Win7.vhd.bak
password=1234
find --set-root --devices=h /VHD/2_Win7.vhd.bak
dd if=()/VHD/2_Win7.vhd.bak of=()/VHD/2_Win7.vhd
find --set-root /bootmgr
chainloader /bootmgr
title 还原_Win10.vhdx.bak
password=1234
find --set-root --devices=h /boot/BCD
dd if=()/boot/BCD10 of=()/boot/BCD
find --set-root --devices=h /VHD/Win10.vhdx.bak
dd if=()/VHD/Win10.vhdx.bak of=()/VHD/Win10.vhdx
find --set-root /bootmgr
chainloader /bootmgr
|
|