Grub fails to install on Lucid guests running under KVM during installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bug Description
Binary package hint: grub
Grub does not install if Lucid is installed onto a KVM guest using virtio disks. The installation will progress to the point where the boot loader is supposed to be installed, and an error message will pop up saying that grub failed to install. If you continue the installation anyhow, the system will of course not boot because there is no grub boot loader installed.
Further, if you then boot off the Lucid CD ISO to rescue the system, you will find that the Lucid CD in rescue mode does not detect any disks. You must to a modprobe of the virtio driver in order to get the Lucid ISO to recognize the virtio disk in rescue mode. Then, of course, you have to repair the installation.
This only happens if you install the system onto a virtio disk. If you install onto, for instance, an IDE disk, then switch KVM to use virtio, everything is fine. But it's obvious that something is very broken in the virtio handling of Lucid at installation time.
ProblemType: Bug
Architecture: amd64
Date: Sat Feb 20 10:45:56 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20091209)
Package: grub (not installed)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: grub
Uname: Linux 2.6.32-13-generic x86_64
affects: | grub (Ubuntu) → grub2 (Ubuntu) |
I can confirm that this bug exists in the Ubuntu 10.04 Lucid Alpha 2 amd64 iso installed on a Ubuntu 9.10 Karmic Koala amd64 KVM host.