Just installed Natty Narwhal 11.04 Alpha 3 as my third Kubuntu OS this afternoon. I want to add to the /etc/grub.d/40_custom files in Lucid and Maverick so that each has the required entry for Natty. This is what the Lucid file looks like:
And this is what the Marverick file looks like:
I ran sudo update-grub after booting into Lucid and then again in Maverick, Natty appears in the Grub Menu of each. However, selecting Natty from either Lucid or Maverick results in the following errors:
Pressing any key returns me to the Grub menu.
I activated 30_os-prober in Lucid and Maverick and reran sudo update-grub, adding Natty to the ### BEGIN /etc/grub.d/30_os-prober ### section of grub.cfg in Lucid and Maverick. Selecting Natty from there, Natty boots correctly. This is the Natty stanza in ### BEGIN /etc/grub.d/30_os-prober ### of Lucid's and Maverick's grub.cfg:
What is wrong with the Natty stanza in my 30_os-prober files? The Lucid and Maverick stanzas work just fine.
menuentry "Ubuntu, Maverick Meerkat"{
set root='(hd0,7)'
configfile /boot/grub/grub.cfg
}
menuentry "Ubuntu, Natty Narwhal"{
set root='(hd0,9)'
configfile /boot/grub/grub.cfg
}
set root='(hd0,7)'
configfile /boot/grub/grub.cfg
}
menuentry "Ubuntu, Natty Narwhal"{
set root='(hd0,9)'
configfile /boot/grub/grub.cfg
}
menuentry "Ubuntu, Lucid Lynx"{
set root='(hd0,1)'
configfile /boot/grub/grub.cfg
}
menuentry "Ubuntu, Natty Narwhal"{
set root='(hd0,9)'
configfile /boot/grub/grub.cfg
}
set root='(hd0,1)'
configfile /boot/grub/grub.cfg
}
menuentry "Ubuntu, Natty Narwhal"{
set root='(hd0,9)'
configfile /boot/grub/grub.cfg
}
error: file not found
error: file not found
error: unknown command 'background_color'.
error: unknown command 'lua'.
syntax error
Incorrect command
Press any key to continue...
error: file not found
error: unknown command 'background_color'.
error: unknown command 'lua'.
syntax error
Incorrect command
Press any key to continue...
I activated 30_os-prober in Lucid and Maverick and reran sudo update-grub, adding Natty to the ### BEGIN /etc/grub.d/30_os-prober ### section of grub.cfg in Lucid and Maverick. Selecting Natty from there, Natty boots correctly. This is the Natty stanza in ### BEGIN /etc/grub.d/30_os-prober ### of Lucid's and Maverick's grub.cfg:
menuentry "Ubuntu, with Linux 2.6.38-5-generic (on /dev/sda9)" {
insmod ext2
set root='(hd0,9)'
search --no-floppy --fs-uuid --set 67532fdd-10e6-47bf-9ac3-26a52581799a
linux /boot/vmlinuz-2.6.38-5-generic root=UUID=67532fdd-10e6-47bf-9ac3-26a52581799a ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-5-generic
}
menuentry "Ubuntu, with Linux 2.6.38-5-generic (recovery mode) (on /dev/sda9)" {
insmod ext2
set root='(hd0,9)'
search --no-floppy --fs-uuid --set 67532fdd-10e6-47bf-9ac3-26a52581799a
linux /boot/vmlinuz-2.6.38-5-generic root=UUID=67532fdd-10e6-47bf-9ac3-26a52581799a ro single
initrd /boot/initrd.img-2.6.38-5-generic
}
insmod ext2
set root='(hd0,9)'
search --no-floppy --fs-uuid --set 67532fdd-10e6-47bf-9ac3-26a52581799a
linux /boot/vmlinuz-2.6.38-5-generic root=UUID=67532fdd-10e6-47bf-9ac3-26a52581799a ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-5-generic
}
menuentry "Ubuntu, with Linux 2.6.38-5-generic (recovery mode) (on /dev/sda9)" {
insmod ext2
set root='(hd0,9)'
search --no-floppy --fs-uuid --set 67532fdd-10e6-47bf-9ac3-26a52581799a
linux /boot/vmlinuz-2.6.38-5-generic root=UUID=67532fdd-10e6-47bf-9ac3-26a52581799a ro single
initrd /boot/initrd.img-2.6.38-5-generic
}
Comment