FS#17601 - Error in netinstall installer when using "Auto-Prepare" partitioning mode
Attached to Project:
Release Engineering
Opened by Marti (intgr) - Friday, 25 December 2009, 02:56 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Friday, 05 March 2010, 20:11 GMT
Opened by Marti (intgr) - Friday, 25 December 2009, 02:56 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Friday, 05 March 2010, 20:11 GMT
|
Details
Description: While trying to install a new virtual machine
with QEMU/KVM/libvirt, I chose the "Auto-Prepare" option
from the Arch Linux installer. This, however, made the
installer crash with the following error:
ERROR: get_blockdevice_size needs a blockdevice as $1 (MiB given) I am using following image: archlinux-2009.08-netinstall-x86_64.iso I don't know if this is somehow specific to QEMU or a generic error. |
This task depends upon
This is because I'm using VirtIO in my virtual machine -- the Arch installer does not recognize /dev/vda as a disk even after running 'modprobe virtio_blk'
# cfdisk /dev/vda
# cd /dev/mapper
# ln -s ../vda? ./
so basically we should also look for devices called /dev/vd*, this is easy
the loading of the module, should this happen automatically?
Actually the module is already loaded automatically. When booting this ISO file, 'lsmod' lists virtio_blk straight after boot and /dev/vda* devices exist.
Apart from adding /dev/vd* support, you should also prevent the installer from crashing when there are no disks at all. :)
FS#16050* crashing when there are no disks fixed in git (untested): http://projects.archlinux.org/aif.git/commit/?h=experimental&id=b7a87de6512d3864b4b6dec5b0a6f91fc832e131