Installation guide

From ArchWiki
Revision as of 01:55, 15 July 2012 by Danielwallace (Talk | contribs) (Created page with "1. partition disks - use fdisk, parted, cfdisk, etc 2. format partitions - mkfs for filesystem of your choosing 3. mount the partitions - mount the root partition on /mn...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1. partition disks

 - use fdisk, parted, cfdisk, etc

2. format partitions

 - mkfs for filesystem of your choosing

3. mount the partitions

 - mount the root partition on /mnt
 - create dirs for and mount any other partitions (such as /mnt/boot)

4. connect to the interwebz

 - Assuming a wired connection, running 'dhcpcd' is sufficient to get a lease

5. install the base system

 - pacstrap -r /mnt base{,-devel} syslinux ...moarpkgs

6. install a bootloader

 - arch-chroot /mnt syslinux-install_update -i -a -m
 - configure /boot/syslinux/syslinux.cfg as needed

7. configure system

 - generate an fstab: genfstab -pr /mnt >> /mnt/etc/fstab
 - arch-chroot /mnt
   - write hostname to /etc/hostname
   - symlink /mnt/etc/localtime to /usr/share/zoneinfo/Zone/SubZone
   - add locale preferences to /etc/locale.conf
   - uncomment locales from /etc/locale.gen, generate them with locale-gen

8. create initramfs

 - configure /mnt/etc/mkinitcpio.conf as needed
 - arch-chroot /mnt mkinitcpio -p linux

9. unmount the things you mounted in step 3 10. reboot!