Installing Arch Linux in Virtual Server
I created some upated (16. Dec 2012) installation instructions on GitHub.com , because the referenced articles changed a lot since the creation of this article.
This page describes, how to install Arch Linux on a virtual server from a webhoster.
Installing an Arch Linux server on JiffyBox
- Create additional hard disk (i.e. 20GB)
- Add hard disk to the current profile
I needed to install squashfs tools:
apt-get install squashfs-tools
Mount the empty arch partition:
mount /dev/xvdc /mnt/arch/
aif does not find the partitions (/dev/xvdc) You have to mount it manually and do the following hack to aif: http://colinux.wikia.com/wiki/Howto:_ArchLinux_install_from_iso_with_rescue_fs#Stage_2:_Prepare_the_final_filesystem_and_install_ArchLinux_on_it
Install openssh and add it in rc.conf
Change /boot/grub/menu.lst to:
# (0) Arch Linux title Arch Linux [/boot/vmlinuz26] root (hd0) kernel /boot/vmlinux root=/dev/xvda ro initrd /boot/kernel26.img
Add the following to /etc/fstab:
/dev/xvdb swap swap defaults 0 0 /dev/xvda / ext3 defaults 0 1
Uncomment the following line in /etc/inittab:
h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
Create an new JiffyBox Profile with kernel pvgrub64
pvgrub does not know lzma compression of the kernel. Thus booting will fail. Thus the "raw" kernel hast to be copied to /boot form /usr/src/linux-*/vmlinux
Note: I had problems using the current 2.6.37 kernel and switched back to 2.6.36.