Ubuntu Server 9.10 (karmic): grub2: error: invalid magic number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub
I installed Ubuntu Server 9.10 (karmic) using text-based installer into a KVM VM. During installation I provided console args after "quiet splash" so that a serial console would work. After installation the hypervisor reboots the VM and reconnects me to domain console. There is no console output.
I boot the VM using the 9.10 iso file and enter rescue mode. The kernel args are fine in grub.cfg but upstart is not configured for a serial console so I configure one. Create a /etc/default/grub file with serial console definitions. Do a 'update-grub' and a 'grub-install /dev/sda' and exit. set hd as boot dev and reboot. The serial console now works but I'm getting this message on console:
error: invalid magic number
Failed to boot default entries.
Press any key to continue...
Something is obviously wrong with grub2. Is there any workaround to get this system booting?
affects: | grub (Ubuntu) → grub2 (Ubuntu) |
Some further info:
/dev/sda5 is /boot which is ext3 LogVol00 is / which is ext4
/dev/ubuntu-