Installation Howto

Creating and formatting partitions

This will destroy all data on the drive and/or partitions you select!

fdisk /dev/[device]

Create at least two partitions:

  1. linux - at least 1GB (2GB recommended)
  2. linux swap - RAM * 2, but not greater than 2GB

Once done, save (w) the partition changes and exit.

Format the swap partition with mkswap /dev/[swap_partition]

Format the root partition with mkfs -t ext3 /dev/[root_partition]

Mount the new partition and install packages

mount /dev/[root_partition] /mnt

prime-install /mnt

Mount kernel filesystems and chroot into new system

mount --bind /dev /mnt/dev

mount -t proc none /mnt/proc

chroot /mnt /bin/bash --login

Install GrUB


grub-install --grub-setup=/boot/grub/grub.cfg /dev/[device]

grub-setup --directory=/boot/grub --device-map=/boot/grub/ /dev/[device]

Kernel Configuration

cat /boot/ >> /boot/grub/grub.cfg

Edit /boot/grub/grub.cfg to match your configuration.

Edit /etc/fstab

Add your root and swap partitions to /etc/fstab:

/dev/[root_partition] / ext3 defaults 1 1

/dev/[swap_partition] swap swap defaults 0 0

Finish cleanly and reboot


umount /mnt/{proc,dev} /mnt

shutdown -rn now

If you want to compile your own kernel, you can find the default kernel's configuration at /boot/


Add your network configuration to /etc/init.d/network. For example:

hostname myprimebox

domainname local.lan

ifconfig eth0 netmask up

route add default gw eth0

Set your nameservers in /etc/resolv.conf. For example: