Not like previous
iso, the new Archlinux 2012 media is more simple than before ;-), the
AIF is now removed, and you must install it manually and the internet
connection is required. So this mean it's archlinux net install.
The easy way
to install archlinux. I usually using gparted tools, and create "/"
partition & "swap" partition only. Okay download the latest iso on
http://www.archlinux.org/download/
1. Create partition using gparted.
For this example, i created a root partition "/" on /dev/sda1If you want to separate /home, for this example created on /dev/sda2
To create swap, for this example created on /dev/sda3
2. Create bootable image
Burn archlinux image on cd, or you can flash image to flashdisk using dd#dd if=archlinux.iso of=/dev/sdXX is your partition of flashdisk
test this using fdisk -l
if you see /dev/sdb1, then just use /dev/sdb
3. Boot live cd/live usb
If your proccessor support 32 bit, choose 32 bit, if your proccessor support 64 bit, choose 64bit. For my machine i using 64bit of my intel Atom n455 with 1gb ram. (no problem at all)4. Setup the internet.
5. Set up repo manually
Find a good repo on your country, for this example i'm using kambing repo.http://kambing.ui.ac.id/archlinux/
#nano /etc/pacman.confIf you using 32 bit, you just need core, extra, and community.
For 64 bit, if you want to be able to run 32 bit application you need enable multilib repo. Uncomment (remove #) on multilib.
6. Mount root partition
7. Install Base, Base devel, internet tools.
8. Install GRUB (default is grub2)
9. generate fstab
10. Login into arch chroot
11. Edit hostname
cidtuxnet, empty it to make default
save
then save.
#mount /dev/sda1 /mnt
7. Install Base, Base devel, internet tools.
#pacstrap /mnt base base-devel
#pacstrap /mnt wpa_supplicant wireless_tools net-tools eject wvdial usb_modeswitch
8. Install GRUB (default is grub2)
#pacstrap /mnt grub-bios
9. generate fstab
#genfstab -p /mnt >> /mnt/etc/fstab
10. Login into arch chroot
#arch-chroot /mntshell will like this
sh-4.2#
11. Edit hostname
sh-4.2#nano /etc/hostnamewrite your pc name that you like for this example:
cidtuxnet, empty it to make default
save
sh-4.2#nano /etc/hostsedit like this (for example), default "localhost"
then save.
12. Set timezone & locale info
Time zone is located on /usr/share/zoneinfo
Create symlink, on my area is ASIA & Jakarta
Set locale info
on first step above, swap is /dev/sda2 to activate it
/home partition (skip it if your /home on set "root" partition)
14. Install Grub & set root password
set root pasword
done
15. Reboot
Now your archlinux base system with internet tools is installed enjoy.
Time zone is located on /usr/share/zoneinfo
Create symlink, on my area is ASIA & Jakarta
sh-4.2#ln -s /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
Set locale info
sh-4.2#nano /etc/locale.genUncomment (remove #) these (english default) :
en_US.UTF-8 UTF-8
en_US ISO-8859-1
sh-4.2#locale-gen
13. Setup partition
swap partitionon first step above, swap is /dev/sda2 to activate it
sh-4.2#mkswap /dev/sda2to activate every boot
sh-4.2#swapon /dev/sda2
sh-4.2#nano /etc/fstabadd this line
/dev/sda2 none swap defaults 0 0then save
/home partition (skip it if your /home on set "root" partition)
sh-4.2#nano /etc/fstabadd this line
/dev/sda3 /home ext4 defaults,noatime 0 2then save
14. Install Grub & set root password
sh-4.2#grub-install --target=i386-pc /dev/sda --force
sh-4.2#grub-mkconfig -o /boot/grub/grub.cfg
set root pasword
sh-4.2#passwdenter your password
done
15. Reboot
#cd /
#umount /dev/sda1
#reboot
Now your archlinux base system with internet tools is installed enjoy.
Enjoy. :D