Slackware 14.2 X86_64 with QEMU/KVM virtio failing to boot
I have installed Slackware 14.2 x86_64 in a QEMU/KVM VM with the following options :
Code:
/usr/bin/qemu-system-x86_64 \ So I followed the instructions of : http://johnrey.es/index.php/2015/10/...to-be-defined/ Which most probably a nice excerpt of earlier discussions on this matter. However lilo comes back to me with : Fatal : open /boot/vmlinuz : No such file or directory What steps am I missing here? |
if can be useful, here is the /etc/lilo.conf is use on my virtual machines with virtio
Code:
compact Code:
mkinitrd -c -k 4.4.19 -f ext4 -r /dev/vda1 -m virtio_blk:virtio_pci:virtio_balloon:virtio_net:virtio_mmio:virtio_input:virtio_console:virtio_scsi:virtio-rng:virtio-gpu:ext4 -u -o /boot/initrd.gz in your case I would also check that you have the /boot/vmlinuz link in the filesystem of your virtual disk and that points to something actually there. the error you got could be also that it simply doesn't find the virtual disk: in this case you can test the disk layout with the same command line but booting again from the cdrom and checking with "fdisk -l". |
Thanks Ponce.
Stupid me. I had /boot on /dev/vda1 Mounting /dev/vda1 to /mnt/sysimage/boot solved the issue ! |
Hi,
@ponce Do you really need all of those virtio modules in the initrd? In my case it's just sufficient to have "virtio-pci:virtio-blk:virtio-scsi:ext4". -- Best regards, Andrzej Telszewski |
Quote:
|
All times are GMT -5. The time now is 05:15 AM. |