Herewith, some general notes on getting Arch Linux installed & tweaked on my rather bizarre set of desktop hardware. The bottom line is that it pretty much works, with very few quirks, right out of the carton. Search for previous posts detailing most of the things discussed here.
Hard drive partitioning on /dev/sda:
- Dell Utility
- Windows XP
- Dell Restore
- Logical -> Extended
- Swap
- Xubuntu 9.10 (recently installed desktop)
- Xubuntu 8.10 (last year’s desktop)
- Arch Linux installation (replacing Ubuntu 9.10 trial install)
The trick is to have enough partitions lying around that you can do a complete installation without clobbering your previous version. Then, when you’re happy the new one works, just change the Grub boot default and you’re off & running.
Follow the Installation & User Guides, which walk you through most of the choices and situations.
I did not allow it to install Grub, as I already had it set up and didn’t mind some manual tweakage.
After the installation, I added this stanza to the existing Xubuntu 9.10 grub.cfg file to boot the new Arch installation; the old menu.lst file has vanished with the new Grub. On a 1600×200 LCD, I need VGA=792 in what used to be the kernel line to get readable characters.
menuentry "Arch Linux on /dev/sda8" {
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set 108a6b1b-1628-47dd-ab84-7a13be82590b
linux /boot/vmlinuz26 root=/dev/sda8 ro vga=792
initrd /boot/kernel26.img
}
The Arch installation completes with a reboot to a naked root command prompt. Everything beyond that happens only at your command.
Add your personal user, add the wheel group to your ID, then uncomment that line to enable super powers when you edit /etc/sudoers.
I had to do pacman -Syy before any installs worked. I found no advantage to powerpill rather than pacman.
Various programs:
- rpcbind & nfs-common
- alsa-utils
- cups
The modified entries in /etc/rc.conf, which is where much of the system configuration & daemon startup occurs:
LOCALE="en_US.UTF-8" HARDWARECLOCK="localtime" TIMEZONE="America/New_York" KEYMAP="us" CONSOLEFONT="Lat2-Terminus16.psfu.gz" ... eth0="eth0 192.168.1.3 netmask 255.255.255.0 broadcast 192.168.1.255" INTERFACES=(eth0) ... gateway="default gw 192.168.1.1" ROUTES=(gateway) ... DAEMONS=(syslog-ng hal network rpcbind netfs nfs-common cups crond)
The Terminus font looks better than whatever the default is, but maybe that’s just me.
The eth0 line is all it takes to set up a static IP address. Zowie!
The gateway line aims all Internet traffic at my firewall router.
The DAEMONS line starts up a variety of services. I have these:
- hal – required for XFCE and others
- rpcbind – for nfs network file shares
- netfs – similarly
- nfs-common – nfs client
- cups – network printing
I added my usual nfs mounts to /etc/fstab, got the service startup order correct in rc.conf, and it’s all good.