Blog: 2023-09-13

From razwiki
Revision as of 13:52, 13 September 2023 by Razzi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

https://en.wikipedia.org/wiki/E2fsprogs

https://slackware.nl/slackware-live/slackware64-15.0-live/


Back at it, now thinking about packaging onefetch for debian. Some work to this end is here: https://github.com/o2sh/onefetch/issues/1125

Learned about this cool directory size utility, ncdu: https://serverfault.com/questions/200949/how-can-i-find-the-biggest-directories-in-unix-ubuntu


So close to slackware... https://mirrors.slackware.com/slackware/slackware-iso/slackware64-15.0-iso/