|
GRUB怎么样做到光盘上去呢?用什么写到MBR里?
我利用grldr作光盘启动盘的引导文件,利用
mkisofs -R -b grldr -no-emul-boot -boot-load-seg 0x1000 -o grub.iso iso
做出的映像,在vpc中测试不通过,在boch中可以通过。
但是在boch中引导好像经历过不同的阶段:
首先出现下面的画面,
GNU GRUB version 0.96 (639K lower / 31744K upper memory)
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ find /menu.lst ³
³ enter commandline mode ³
³ reboot ³
³ halt ³
³ ³
³ ³
³ ³
³ ³
³ ³
³ ³
³ ³
³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Use the and keys to select which entry is highlighted.
Press enter to boot the selected OS, ';e'; to edit the
commands before booting, or ';c'; for a command-line.
The highlighted entry will be booted automatically in 1 seconds.
然后紧接着(我没做任何的键盘操作)出现下面的画面(这个画面是在上面的画面一晃而过后就出现的)
GNU GRUB version 0.96 (639K lower / 31744K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ESC at any time exits. ]
grub>
上面的画面可以进行普通的grub shell操作。
这是为什么,谁能告诉我? |
|