|
README_GRUB4DOS.TXT里面查找grldr.mbr
Offset Length Description
====== ====== ==============================================================
02h 1 bit0=1: disable the search for GRLDR on floppy
bit0=0: enable the search for GRLDR on floppy
bit1=1: disable the boot of PREVIOUS MBR with invalid
partition table(usually an OS boot sector)
bit1=0: enable the boot of PREVIOUS MBR with invalid
partition table(usually an OS boot sector)
bit2=1: disable the feature of unconditional entrance to
the command-line(See below `--duce')
bit2=0: enable the feature of unconditional entrance to
the command-line(See below `--duce')
bit3=1: disable geometry tune(See below `--chs-no-tune')
bit3=0: enable geometry tune(See below `--chs-no-tune')
bit4 - bit6: reserved
bit7=1: try to boot PREVIOUS MBR after the search for GRLDR
bit7=0: try to boot PREVIOUS MBR before the search for GRLDR
03h 1 timeout in seconds to wait for a key press. 0xff stands for
waiting all the time(endless).
1.下面的恢复等待10秒.
write --offset=3 (hd0)+1,4 \xa
2.优先启动GRUB4DOS, 按热键时直接启动MBR
dd if=(hd0)+1 of=(md)0x300+1 bs=1 skip=2 count=1
set /A n=*0x60000&0xff|0x80
write --offset=2 (hd0)+1,3 \%n:~1%
3.优先启动MBR, 按热键时直接启动GRLDR
dd if=(hd0)+1 of=(md)0x300+1 bs=1 skip=2 count=1
set /A n=*0x60000&0x7F
write --offset=2 (hd0)+1,3 \%n:~1%
需要什么情况组合使用. |
|