I just replaced Debian Squeeze with Quantal Quetzal 12.10. This is the contents of my /etc/grub.d/06_custom file.
It still gets an erroneous error when selecting windows but, without touching any key it still boots into windows just like it should.
Everything else works great.
The (hdx,y) x and y values will depend on the output of sudo blkid.
You can also label each partition like this: sudo tune2fs -L Quantal /dev/sda9.
Code:
#!/bin/sh
echo 1>&2 "Adding Ubuntu Lucid Lynx 10.04, Precise Pangolin 12.04, Quantal Quetzal 12.10 and Windows 7"
exec tail -n +4 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above (unless on Natty or later then change +3 to +4).
menuentry "Lycid Lynx 10.04" {
set root=(hd0,3)
linux /vmlinuz root=/dev/sda3 ro quiet splash
initrd /initrd.img
}
menuentry "Lycid Lynx 10.04 (Recovery Mode)" {
set root=(hd0,3)
linux /vmlinuz root=/dev/sda3 ro single
initrd /initrd.img
}
menuentry "Ubuntu Precise Pangolin 12.04" {
set root=(hd0,5)
linux /vmlinuz root=/dev/sda5 ro quiet splash
initrd /initrd.img
}
menuentry "Ubuntu Precise Pangolin 12.04 (Recovery Mode)" {
set root=(hd0,5)
linux /vmlinuz root=/dev/sda5 ro single
initrd /initrd.img
}
menuentry "Quantal Quetzal 12.10" {
set root=(hd0,9)
linux /vmlinuz root=/dev/sda9 ro quiet splash
initrd /initrd.img
}
menuentry "Quantal Quetzal 12.10 (Recovery Mode)" {
set root=(hd0,9)
linux /vmlinuz root=/dev/sda9 ro single
initrd /initrd.img
}
menuentry "Windows 7" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 1CFC7A8DFC7A60C6
chainloader +1
}
Bookmarks