CwF wrote:Actually, from the screenshots I don't see the error. I do see evidence of things I wouldn't do, but no errors. If you get past unlocking the drive, and then get to a blank screen, then you need to probe around, it's a config issue in the vm, try a 'startx'. It's salvageable, approach it like bare metal, it's not a vm or disk issue ?
The screenshot shows a clean file system. Other than the fact it does work, I would not recommend passing a single disk encrypted device to a VM. At least set hypervisor caching to 'none'.
Yes, it's good to have ALL OS images setup to be virtualized. Passing the lvm disk should be a rescue or forensics attempt, and not the daily driver. That extra disk should boot the host too btw, so consider setting up your host to be able to be virtualized also, just in case.
There are better ways to utilize extra disk space. I assume the primary host is also on a single disk lvm? If so, any extra space should be linked in to the host disk, but not in a dependent way, and in a crash worthy way. Look into using qcow2 layers and place only the read-write 'runtime' layer on the host. Use the external space for READ-ONLY qcow2 layers, virtual usb qcows, ISO's, or guest controlled simple FS's. I use 3 layers typically, and have 5 disk in my main machine. I do pass 2 spinners to vm's, but with only guest caching.
Before you go much further verify some parachutes. If the power button is setup to shutdown the system it will shut down vm's if the OS is alive and it's some gui lockup. If it is a gui lockup and the system is still running, be aware VM's may continue oblivious to the issue, so learn to identify that, and give things time. It's useful to have a second machine capable of reaching in via ssh, vnc, etc. A vfio assisted vm with it's own kbm can even reach back into host if setup. If the situation is a hardware lock and the OS is indeed froze, identify and fix it before continuing.
Fun!
Thank you for replying again.
You address so many things that I don't even know where to start.
My thing with VMs is just to test things instead of using my host machine to mess with things I never messed before.
Anyway, the problem I see is the messages saying:
Volume group "tugarevo-vg" not found
Cannot process volume group tugarevo-vg
Then it all looks fine. Then at the bottom of the first screen there is another message that seems to raise some flags but I have no idea of what it might mean.
[ OK ] Started Restore /etc/resolv.conf if the system crashed befre th ppp link was shut down.
Then, last line is just weir. on't you agree?
Resuming from hibernationet up successfullypatcher Service...
shows only the same messages about volume tugarevo volume groups cannot be processed.
Where is that option you say about HyperCisor Cache? Is it in IDE isk Options??
You tell me to probe around but I have no more clues of what to do.
I tried "startx" but that an unknown command. I chose not to install any desktop but even so, somehow I got some desktop GUI installed!.
edited;
I tried to set Hypervision to none in the above screenshot but boot freezes here:
No cpu or disk I/O activity whatsoever. :s