ArchLinux NAS Box

Posted by John
on Sunday, 28 September 2008

To make the system shutdown when you press the power button, add the acpid package.

pacman -S acpid

Then add it to the DAEMONS array in rc.conf

DAEMONS = (...... acpid)

Then create a file for the event,

sudo nano /etc/acpi/events/power

With...

# /etc/acpi/events/power
# This is called when the user presses the power button

event=button/power (PWR.||PBTN)
action=/sbin/poweroff
ACPI Shutdown

Now add these two lines to the end of your kernel load in /boot/grub/menu.lst

acpi=on acpi=power-off

What this extra bit will do is force the machine to poweroff completely on shutdown, rather than halting with the power still running.

ArchLinux Rocks!

Posted by John
on Thursday, 20 March 2008

ArchLinux

Seriously, how good is this Linux distribution. It's on a rolling release so you never need to worry about release numbers (7.04, 8.10, etc.) and it's so light and tightly put together, just excellent.

I installed a dual-boot install on my new HP laptop with Vista + ArchLinux using GRUB in about 5 minutes, really impressed about the intelligence of this build; well done to all involved.

Also for learning Linux it's got to be the best one to choose, ok it's a toughie with it's command-line install but with a 120mb install and creation of a rescue system incase you screw it up I've seriously grown to like it a lot; totally my favourite Linux distribution.