qemu-kvm on a real partition
Earlier this day I've tried to boot a existing partition on a external hard disk, which didn't work. Now I'd like to find out why.
My disk layout is like:
On /dev/sdc1 I have a Data partition. Of course this partition doesn't have any bootable files, but I just tried to find out if qemu-kvm is even able to boot from existing partitions rather than converting them into a raw file for example. So I ran Code:
qemu-kvm /dev/sdc1 Code:
Booting the kernel. This case has been already solved, but I'd like to find out whats wrong with that. Thanks for any hints. |
There are some docs that tell how to boot or access a physical partition. I don't think this is close to correct. "qemu-kvm /dev/sdc1"
I don't think this has changed. "Hard disks Hard disks can be used. Normally you must specify the whole disk (/dev/hdb instead of /dev/hdb1) so that the guest OS can see it as a partitioned disk. WARNING: unless you know what you do, it is better to only make READ-ONLY accesses to the hard disk otherwise you may corrupt your host data (use the -snapshot command line option or modify the device permissions accordingly). " |
It seems that I've run into a qemu-kvm bug, no idea if its QEMU or even libvirtd being the problematic part. Some minutes ago I tried to start a CentOS VM instance and the system crashed immediately. No log entries. After reboot I was able to start the VM without problems.
|
All times are GMT -5. The time now is 10:31 PM. |