Blog: 2023-09-15: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Setting up debian with qemu First I made a larger qcow disk than the default cloud image: qemu-img resize debian-12-larger-disk-amd64.qcow2 10G Then I ran the installer...") |
(No difference)
|
Revision as of 01:28, 15 September 2023
Setting up debian with qemu
First I made a larger qcow disk than the default cloud image:
qemu-img resize debian-12-larger-disk-amd64.qcow2 10G
Then I ran the installer
virt-install --memory 2048 --vcpus 2 --name qemu-debian-12 --disk debian-12-larger-disk-amd64.qcow2,device=disk,bus=virtio --graphics none --import --os-variant=debian12
When I was all done, I exited with CTRL-] - https://www.reddit.com/r/linuxadmin/comments/5gzdtk/properly_exiting_virtinstall/
Then I can boot the system with:
qemu-system-x86_64 -hda debian-12-larger-disk-amd64.qcow2 -nographic -m 2048
Finally...