qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] boot symlinked block device?


From: p
Subject: [Qemu-discuss] boot symlinked block device?
Date: Sat, 20 Oct 2018 09:58:16 +0200
User-agent: Horde Application Framework 5


Hi

I use QEMU(2.12.1)/KVM with virt-manager with gentoo.

I added an SSD drive to the VM as primary boot device.
The problem is now on every reboot of my gentoo box the
SSD gets a different device name assigned (sdc,sde,sdd)
and I have to reassign the SDD in virt-manager and select new
boot order...

To prevent that I issue a udev rule that creates a unique
symlink to that device:

SUBSYSTEM=="block", ATTRS{vendor}=="NORELSYS", ATTRS{model}=="106X", SYMLINK+="windows-disk"

I then create a drive in virt-manager that has the "windows-disk" and I set it to
the first boot device.

But QEMU does not boot from it... Instead it show me the EFI shell and when I exit the shell I can select one of the many drives in the boot menu and it bootes the windows-vm...

Can QEMU not boot from symlinked devices?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]