|
grub> root (hd0,1) grub> kernel /vmlinuz root=/dev/sda2 ro vga=791 grub> boot |
|
grub> rootnoverify (hd0,0) grub> makeactive grub> chainloader +1 grub> boot |
|
grub> kernel /vmlinuz.old root=/dev/sda2 ro vga=ask [Linux-bzImage, setup=0xe00, size=0xfad30] |
|
grub> help kernel For example, grub> cat (hd0,2)/etc/fstab will show the contents of the /etc/fstab file in the Debian |
Finally, you can call up a specific menu interface with the configfile command as in:
|
grub> configfile (fd0)/boot/grub/menu.lst |
Next, start GRUB, either with the grub executable you built in Linux or by rebooting with the GRUB floppy. If GRUB starts in menu mode, press c to go to command-line mode. Enter the following commands at the grub prompt:
|
grub> root (hd0,1) grub> setup (hd0) grub> quit |
..