[SOLVED] QEMU x86_64 booting local win10 drive "sda" with snapshot - stuck on booting. Debian 10.4
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
QEMU x86_64 booting local win10 drive "sda" with snapshot - stuck on booting. Debian 10.4
I don't know how to troubleshoot this and it doesn't seem like this is something very many do so I wasn't able to find any guides on it anywhere. The virtual machine stops with blinking marker on Booting from Hard Disk...
I don't expect you to have an answer for what's wrong here but I'm kind of lost as to where to even start. Is there a boot log somewhere I can check for errors or simply where it hangs?
No, first time I'm running it. Tried through terminal and virtual machine manager. Realized I probably shouldn't run it through manager without setting sda to read only, but as far as I understand snapshot should be an okay alternative to it.
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).
Again I'm not expecting you to troubleshoot this for me, I just thought I'd ask here for ways to troubleshoot. Also from the same page:
Quote:
In order to use VM snapshots, you must have at least one non removable and writable block device using the qcow2 disk image format. Normally this device is the first virtual hard drive.
I'm not entirely sure what this means, however it tells me that VM snapshots are snapshots of the complete virtual machine including CPU state, RAM, device state and the content of all the writable disks. I believe this means the partition where the snapshot saves to must have enough space to room all the content of the physical hard drive I'm trying to boot from. Does this seem right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.