Blog: 2023-09-20

From razwiki
Revision as of 19:21, 20 September 2023 by Razzi (talk | contribs) (Created page with "Virtualization deep dive is wrapping up, here's the link roll up. https://wiki.alpinelinux.org/wiki/QEMU <pre> qemu-img create alpine-disk.qcow2 -f qcow2 10G qemu-system-x86...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Virtualization deep dive is wrapping up, here's the link roll up.

https://wiki.alpinelinux.org/wiki/QEMU

qemu-img create alpine-disk.qcow2 -f qcow2 10G
qemu-system-x86_64 -cdrom alpine-standard-3.18.3-x86_64.iso -hda alpine-disk.qcow2 -nic user -boot d -enable-kvm -m 512M

Also this is the way easier way to do this

podman run -it debian

But that's a minimal system, will have to build on top of it. Also nice to have the qcow2 and virtualization commands easy access.

Ah, I think I figured out why it looked like the system wasn't fully set up - I was exiting it without giving the filesystem a chance to sync. Let me shut down the first boot cleanly.