New menu.lst on Grub version 2
Karl F. Larsen
klarsen1 at gmail.com
Sun Oct 4 17:05:36 UTC 2009
Here is a snippit of the /boot/grub/grub.cfg file on karmic:
3-35245eb5fb2a ro single
initrd /boot/initrd.img-2.6.31-11-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 7428ef7928ef392e
drivemap -s (hd0) ${root}
chainloader +1
}
Notice the ### instead of #, and the { and } which set off
the actual chore grub does from the words that tell us what it
is doing.
This makes writing by hand an entry a chore.
73 Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
More information about the ubuntu-users
mailing list