[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

Login screen after Physical Isolation build on KVM

This is more a how-not-to-do-it than a Whonix issue :wink:

Just finished a WS Physical Isolation build on a 4 GB image… the vm started complaining that only 68 MB space are left, so after a full start I decided to shut down and resize the image. Shutting down was not so easy, the vm kept hanging so I shut down via the vmm button.
After adding a few GB and resizing with gparted the vm started nicely but gave me a graphical login, that refused the user user (why?). I rebooted, ctrl-c, whonixsetup and whonixcheck ok, but still no login possible… :-\

The QCOW2 images are sparse files meaning they take up a couple of gigs but they can seamlessly expand to 100GB each without intervention.

The only good way to interact with KVM disk images is with qemu-img, anything else is going to corrupt them:

http://linux.die.net/man/1/qemu-img

The QCOW2 images are sparse files meaning they take up a couple of gigs but they can seamlessly expand to 100GB each without intervention.
Right. In my case I need a fix size.
The only good way to interact with KVM disk images is with qemu-img, anything else is going to corrupt them:
Yep. The best tutorial^^ here: [url=http://michael.orlitzky.com/articles/resizing_a_kvm_or_qemu_disk_image.php]http://michael.orlitzky.com/articles/resizing_a_kvm_or_qemu_disk_image.php[/url] Don't miss his copyright note ;) If you are using a kvm vm image you can skip the convert steps.

In order to adjust the partition size inside the vm image just download the gparted live image and add it as cdrom to the vm. Don’t forget the boot order.

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]