40_custom for Natty Narwhal 11.04 fails
Just installed Natty Narwhal 11.04 Alpha 3 as my third Kubuntu OS this afternoon. I edited the /etc/grub.
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
}
And this is what the Marverick /etc/grub.
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
}
Lucid's Grub2 is the controlling Grub (it's installed to the MBR). After booting into Lucid I ran sudo update-grub. I rebooted into Maverick and did the same (ran sudo update-grub). Natty appears in the Grub Menu of each. However, selecting Natty from either Lucid or Maverick results in the following errors:
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...
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.
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-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
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-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
What is wrong with the Natty stanza in the 30_os-prober files? The Lucid and Maverick stanzas work just fine.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Paul Loughman
- Solved:
- Last query:
- Last reply: