Installing Artix with s6 in a KVM 01 May 2023, 04:51:11 Unsure if this is the right place, but I'm trying to install artix with s6 in a kvm. I can't see to find good instructions on how to do this. Could anyone send me a link on this? Thanks
Re: Installing Artix with s6 in a KVM Reply #1 – 02 May 2023, 10:45:54 https://wiki.artixlinux.org/Main/Installation, you're welcome.
Re: Installing Artix with s6 in a KVM Reply #2 – 03 May 2023, 03:19:49 @nous - Not quite yet. I think you missed that I was doing this in a KVM. The link you provided is good, but doesn't include anything for KVMs. Maybe I'm wrong, but this link shows you need to install libguestfs with Arch-like distros:https://computingforgeeks.com/install-kvm-qemu-virt-manager-arch-manjarIf that's right, I'm unsure where this needs to happen in the wiki instructions you provided. Is it installed on the installer/live-iso? Or in the chrooted environment? Either that or Artix is exempt from needing this and I'm not aware. Also unsure about the /boot partition. Since its in a KVM, I don't think it needs a EFI or separate boot partition. I shouldn't need /home or swap either, but whether I try making all of those or not, I finish, reboot and it just hangs, never booting up. Maybe I missed something else, but I've gone over this about 10 times since my first reply. I've also used Arch and Artix in other vms in the past without this much issue. So I'm guessing I'm missing a step for the KVM. If you have any advice for this I'm all ears.Thanks
Re: Installing Artix with s6 in a KVM Reply #3 – 03 May 2023, 05:05:49 What you linked shows how to install KVM on Arch. It has nothing to do with installing Arch in QEMU/KVM.I'm not sure what you're actually after but if you want to install Artix in QEMU it's exactly the same as installing it on baremetal. You just do it in the virtual machine. There's nothing special.
Re: Installing Artix with s6 in a KVM Reply #4 – 03 May 2023, 06:50:01 That's simple:qemu-img create -f qcow2 vHD.qcow2 64Gqemu-system-x86_64 -enable-kvm -cpu host -smp cores=4 -m 4G -display sdl,gl=on,window-close=off -vga virtio -drive file=vHD.qcow2,if=virtio,aio=io_uring,discard=unmap -boot once=d -cdrom artix-(whatever).isoWith Xfce you can build a "Benutzerdefinierte Aktion" (don't know the english Name), so you can boot the vHD with RMB/Boot in KVM:1. Tab:Name: Boot in KVMCommand: qemu-system-x86_64 -enable-kvm -cpu host -smp cores=4 -m 4G -display sdl,gl=on,window-close=off -vga virtio -drive file=%f,if=virtio,aio=io_uring,discard=unmap2. Tab: *.iso;*.qcow2;*.rawfor othersBtw:I had Problems with s6 and prefer Artix-Xfce-Runit.