HVM from previous filesystem in the form of .img

16 views
Skip to first unread message

lus...@gmail.com

unread,
Mar 22, 2019, 6:54:26 AM3/22/19
to qubes-users
I have dumped my previous Linux daily driver's filesystem on an .img file.
I'm trying to create an HVM with the option --root-copy-from.
The HVM fails to boot at all cases. Either I get the grimmy 4 liner, or it's running background jobs and then notes that the booting failed or I get a kernel panic.

The image file contains my root previous working tree and the boot partition included in it under /boot.

Any ideas?

awokd

unread,
Mar 24, 2019, 3:07:14 PM3/24/19
to qubes...@googlegroups.com
lus...@gmail.com wrote on 3/22/19 10:54 AM:
The default HVM disk size is likely smaller than your .img file. Create
the HVM first, size the disk and RAM (2GB+ at first) appropriately, then
cp name.img /dev/mapper/qubes_dom0-vm--[VMNAME]--root.

Reply all
Reply to author
Forward
0 new messages