Skip to main content
Topic: Installing Artix with s6 in a KVM (Read 541 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Installing Artix with s6 in a KVM

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 #2
@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-manjar

If 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
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
That's simple:

qemu-img create -f qcow2 vHD.qcow2 64G

qemu-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).iso

With 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 KVM

Command: 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=unmap

2. Tab:

 *.iso;*.qcow2;*.raw
for others

Btw:

I had Problems with s6 and prefer Artix-Xfce-Runit.