Henry Flower
100+ Head-Fier
- Joined
- Aug 18, 2006
- Posts
- 414
- Likes
- 16
These are my notes on how to do this. I assume an existing Linux box and some familiarity with the usual tools.
Quote:
- Download the install image, then dd onto your card thusly: http://archlinuxarm.org/platforms/armv6/raspberry-pi . If your card appears as something like "/dev/mmcblk0p1", dd it to /dev/mmcblk0, not p1 etc.
- Remove and reinsert the card, and increase the main partition size as much as you like in gparted.
- Boot.
- Ssh in. Your router should provide a dhcp table, which will give you the address to ssh to. Root password is root.
- Change the root password, update (pacman -Syu), and run sync before rebooting. Sync every time you change the installed packages.
- Do as much of this general setting up of the system as you think necessary: http://elinux.org/ArchLinux_Install_Guide . Setting up your locale would also be a good move here.
- Assuming you have music on an external drive, add that drive to the fstab.
- Install the necessary packages, e.g. pacman -S mpd ncmpcpp alsa-utils alsa-firmware
- Run alsamixer, and unmute the fiio. If necessary, modprobe snd_bcm2835 (this should be autoloaded with a recent image).
- If mplayer doesn't play, try creating /etc/modprobe.d/alsa-base.conf with content of:
Quote:
options snd slots=snd_usb_audio
options snd_usb_audio index=0
- Create a normal user, install sudo. Log in as normal user.
- Follow rasi's Scripted Configuration on the archlinux wiki. This also provides instructions for configuring systemd. Check alsa output is enabled.
- Copy any changes from ~/.mpd/mpd.conf to /etc/mpd.conf.
- Control via ssh or mpdroid. If the latter (or equivalent), you might need to comment out some or all of the bind-to settings in mpd's config file.
- I don't care about high-res files, so I don't muck about with mixers.