[libvirt] Can't boot guest after adding an IDE storage

Hi, We installed Fedora 11 guest in an emulated SCSI disk using virt-install. After the installation the guest was shutdown and additional IDE virtual storage was added to the guest. When we try to boot the guest from virt-manager, it tries to boot from the newly added IDE storage (instead of installed SCSI storage) and fails to boot. It seems that how the disk devices are sorted is the problem. There is a bug opened to track this issue: https://bugzilla.redhat.com/show_bug.cgi?id=507271 As dicussed in the bugzilla, ideally there should be a 'bootable' flag for each storage device. Also virt-manager could another option to specify which disk to boot from. Regards, M. Mohan Kumar

On Tue, Jul 07, 2009 at 05:58:37PM +0530, M. Mohan Kumar wrote:
Hi,
We installed Fedora 11 guest in an emulated SCSI disk using virt-install. After the installation the guest was shutdown and additional IDE virtual storage was added to the guest.
When we try to boot the guest from virt-manager, it tries to boot from the newly added IDE storage (instead of installed SCSI storage) and fails to boot.
It seems that how the disk devices are sorted is the problem. There is a bug opened to track this issue: https://bugzilla.redhat.com/show_bug.cgi?id=507271
As dicussed in the bugzilla, ideally there should be a 'bootable' flag for each storage device. Also virt-manager could another option to specify which disk to boot from.
Yeah, this is getting painful we need to fix this for next release ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

On Tuesday 07 July 2009 09:03:57 Daniel Veillard wrote:
On Tue, Jul 07, 2009 at 05:58:37PM +0530, M. Mohan Kumar wrote:
Hi,
We installed Fedora 11 guest in an emulated SCSI disk using virt-install. After the installation the guest was shutdown and additional IDE virtual storage was added to the guest.
When we try to boot the guest from virt-manager, it tries to boot from the newly added IDE storage (instead of installed SCSI storage) and fails to boot.
It seems that how the disk devices are sorted is the problem. There is a bug opened to track this issue: https://bugzilla.redhat.com/show_bug.cgi?id=507271
As dicussed in the bugzilla, ideally there should be a 'bootable' flag for each storage device. Also virt-manager could another option to specify which disk to boot from.
Yeah, this is getting painful we need to fix this for next release !
I agree. This "which disk to boot" has long been a problem on real hardware. Current "good" motherboards/bioses have lots of options as to what device to boot. Gene
participants (3)
-
Daniel Veillard
-
Gene Czarcinski
-
M. Mohan Kumar