| Summary: | virt-install cannot boot from floppy | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jeff Bastian <jbastian> |
| Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.0 | CC: | dallan, dyuan, mhideo, mjenner, nzhang, xen-maint, zpeng |
| Target Milestone: | rc | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
An error would occur and the installation would stop when instructing virt-install to build a virtual machine from a boot floppy by specifying device=floppy. This fix ensures that device=floppy is working appropriately.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:43:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This should be fixed in the currently built version. Verified with python-virtinst-0.500.5-2.el6.noarch, it's fixed already. Move to VERIFIED. # virt-install -n myvm -r 512 --vcpus=1 --os-type=other --os-variant=msdos --vnc --import --disk path=/var/lib/libvirt/boot/msdos.img,device=floppy --disk path=/var/lib/libvirt/images/myvm.img,size=4 --boot=fd verified this bug with: Linux localhost.localdomain 2.6.32-130.el6.x86_64 #1 SMP Tue Apr 5 19:58:31 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux python-virtinst-0.500.5-3.el6.noarch libvirt-0.8.7-17.el6.x86_64 passed.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
* An error would occur and the installation would stop when instructing virt-install to build a virtual machine from a boot floppy by specifying device=floppy. This fix ensures that device=floppy is working appropriately. (BZ#672987)
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1 @@
-* An error would occur and the installation would stop when instructing virt-install to build a virtual machine from a boot floppy by specifying device=floppy. This fix ensures that device=floppy is working appropriately. (BZ#672987)+An error would occur and the installation would stop when instructing virt-install to build a virtual machine from a boot floppy by specifying device=floppy. This fix ensures that device=floppy is working appropriately.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0636.html |
Description of problem: I just tried to build a virtual machine installing from a boot floppy but virt-install crashed with this error: libvirtError: internal error unknown boot device 'floppy' The full backtrace is below. This patch fixed the problem for me: http://hg.fedorahosted.org/hg/python-virtinst/rev/4d0ea2274ffd Version-Release number of selected component (if applicable): python-virtinst-0.500.3-7.el6.noarch How reproducible: every time Steps to Reproduce: 1. virt-install -n myvm -r 512 --vcpus=1 \ --os-type=other --os-variant=msdos \ --network bridge=br0 --vnc --noautoconsole \ --import \ --disk path=/tmp/boot.img,device=floppy \ --disk path=/var/lib/libvirt/images/myvm.img,size=4 Actual results: Starting install... ERROR internal error unknown boot device 'floppy' ... libvirtError: internal error unknown boot device 'floppy' Expected results: new virtual machine boots from floppy Additional info: Starting install... ERROR internal error unknown boot device 'floppy' Domain installation does not appear to have been successful. If it was, you can restart your domain by running 'virsh start myvm'; otherwise, please restart your installation. ERROR internal error unknown boot device 'floppy' Traceback (most recent call last): File "/usr/sbin/virt-install", line 1054, in <module> main() File "/usr/sbin/virt-install", line 936, in main start_time, guest.start_install) File "/usr/sbin/virt-install", line 978, in do_install dom = install_func(conscb, progresscb, wait=(not wait)) File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 973, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1038, in _do_install "install") File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1022, in _create_guest self.domain = self.conn.defineXML(final_xml) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1292, in defineXML if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self) libvirtError: internal error unknown boot device 'floppy'