This is a walkthrough of what I did to get Arch Linux 2014.12.01 as QEMU-host onto a Core2Duo (32-bit) PC with 140 GB disk and 2 GB of mem, around 2015-01-20.
From what I can tell, Arch Linux comes with brilliant documentation in the form of a Wiki. The document you are reading is therefore not leading; it merely describes what I did, for better or worse.
Arch documentation used in this text:
My goal is to run multiple QEMU-guests, each fit for running at least 1 application very well, where the guest's OS of choice is the one that runs that application best/easiest.
Goals in terms of installed software:
Actions are listed below in order of execution, starting from install-media and a clean PC.
This section closely follows the Installation guide, and uses details from Partitioning, Swap, and Systemd.
fdisk /dev/sda, and setup partitions as follows:
mount /dev/sda2 /mnt
ping www.google.comto verify you have network connectivity at this point)
pacstrap /mnt base
genfstab -p /mnt >> /mnt/etc/fstab
echo my-computer-name > /etc/hostname
ln -sf /usr/share/zoneinfo/CET /etc/localtime
en_US.UTF-8 UTF-8(I have no idea how useful this actually is)
locale-gen(I have no idea what to fill in in /etc/locale.conf or $HOME/.config/locale.conf)
mkinitcpio -p linux
passwd root, and set new password
pacmanare available yet, so run...
pacman -S syslinux(use
pacman -Ss MyRegExpto search for packages)
syslinux-install_update -i -a -m
reboot, remove CD, choose 'Arch Linux' from boot-menu
pacman -S openssh
systemctl enable dhcpcd(use
systemctl list-unit-filesto see which units are started or enabled to run at boot)
systemctl start dhcpcd(verify by pinging 'google.com')
systemctl start sshd
systemctl enable sshd
ssh localhost, login as root; also test SSH access from LAN
useradd -m michai
passwd michai, and set new password (can su root per default; see /etc/group)
You now have a SSH-accessible box booting Arch Linux, getting an IP-address through DHCP.
Delivered to you by Vim, GNU Make, MultiMarkdown, bozohttpd, NetBSD, and 1 human.