You are not logged in.
This is my third installation with 2 successful bare metal. This time I tried it on a vm, I needed much lighter system without lot of functionality. I forgot installing dhcpcd (ok I am embarrased for that, but I don't do it everyday.) In bare metal installation, I can always arch-chroot using live usb. But I am confused how you do that on vm? I am using gnome-boxes for vm.
Last edited by amixra (2024-10-10 17:07:09)
Experiment at-least.
Offline
I don't know how gnome-boxes works, but it'd be exactly the same as how you started the installation: you'd boot the VM with the iso with the target disk image also available to the vm. From there it's exactly the same as bare metal: mount the system partitions and either chroot and run pacman, or just run pacman with the relevant flags directly (i.e., --sysroot= or whatever it is).
Alternatively, you could just get the dhcpcd pkg.tar.xz file on additional media available to the vm and install it with pacman -U.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
another option is to just use systemd:
https://wiki.archlinux.org/title/Systemd-networkd
https://wiki.archlinux.org/title/Systemd-resolved
in fact: aside from wifi and an editor one could get away with just base and a kernel thanks to what system comes with already: network, boot ...
Last edited by cryptearth (2024-10-10 16:57:00)
Offline
I was mainly struggling because gnome-boxes launches iso first time but after shutdown. It launches installed arch directly. You don't get the option to choose there. I was mainly confused, thinking that iso and target image is probably same for vm...
you'd boot the VM with the iso with the target disk image also available to the vm.
above part gave enough clarity. After that, I enabled iso and edited boot order using virt-manager.
Experiment at-least.
Offline