Blog: 2023-09-13: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
Taken from: https://drewdevault.com/2018/09/10/Getting-started-with-qemu.html |
Taken from: https://drewdevault.com/2018/09/10/Getting-started-with-qemu.html |
||
Link roll up: |
|||
https://harelang.org/tutorials/stdlib/ |
|||
https://harelang.org/tutorials/introduction/ |
|||
https://c9x.me/compile/code.html |
|||
https://en.wikipedia.org/wiki/OpenRC |
|||
https://en.wikipedia.org/wiki/Runit |
|||
https://en.wikipedia.org/wiki/Systemd |
|||
https://en.wikipedia.org/wiki/Theodore_Ts%27o |
|||
https://en.wikipedia.org/wiki/E2fsprogs |
|||
https://slackware.nl/slackware-live/slackware64-15.0-live/ |
Revision as of 02:03, 13 September 2023
qemu... at long last... even under wsl
qemu-img create -f qcow2 alpine.qcow2 16G
Then I downloaded an alpine ISO from their website, then
qemu-system-x86_64 -enable-kvm -m 2048 -nic user,model=virtio -drive file=alpine.qcow2,media=disk,if=virtio -cdrom alpine-standard-3.18.3-x86_64.iso
Then I ran setup-alpine, shoulda got a screenshot or something. Bunch of prompts, even enabled disk encryption for my virtual disk.
Finally I ran reboot, and it booted again fine. The next time I ran the command I could "remove" the cdrom :)
sudo qemu-system-x86_64 -enable-kvm -m 2048 -nic user,model=virtio -drive file=alpine.qcow2,media=disk,if=virtio
I also tried the -nographic
flag, which sorta worked but at one point I got a blank screen, I guess the output of the terminal wasn't cleanly displayed and I couldn't see the prompt for password to unlock my disk, or something.
Taken from: https://drewdevault.com/2018/09/10/Getting-started-with-qemu.html
Link roll up:
https://harelang.org/tutorials/stdlib/
https://harelang.org/tutorials/introduction/
https://c9x.me/compile/code.html
https://en.wikipedia.org/wiki/OpenRC
https://en.wikipedia.org/wiki/Runit
https://en.wikipedia.org/wiki/Systemd
https://en.wikipedia.org/wiki/Theodore_Ts%27o