CRUX : Home

Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About

Back to wiki start page

Categories: Install

Quick Install Reference - CRUX 2.2


Till Biedermann


This guide is aimed at people who have prior experience of installing Linux. It is a short summary of the install and basic setup procedure. For more detailed instructions, please consult the CRUX Handbook.

00 boot the CRUX install CD / login as root
01cfdisk /dev/hdapatition your hard drive
02mkreiserfs /dev/hdaXformat your partition(s)
03mkswap /dev/hdaYcreate swap space
04mount /dev/hdaX /mntmount your new install partition
05swapon /dev/hdaYsetup swap space
06setupinstall the base system packages (don't forget ports and cvsup)
07mount --bind /dev /mnt/dev

mount --bind /tmp /mnt/tmp

mount -t proc proc /mnt/proc

mount -t sysfs none /mnt/sys

chroot /mnt /bin/bash
chroot into your new CRUX system
08passwdset the root password
09vim /etc/fstabedit the filesystemtable
10vim /etc/rc.confsetup system parameters and services
11vim /etc/rc.d/net

vim /etc/hosts

vim /etc/resolv.conf
configure your network
12cd /usr/src/linux-x.x.x

make menuconfig

make all
configure and compile your kernel
13make modules_install

cp arch/i386/boot/bzImage /vmlinuz

cp /
install your kernel
14vim /etc/lilo.conf

configure and install the boot loader
15 remove the install CD, boot from harddisk and login
16ports -uupgrade the local ports tree
17prt-get sysupupdate the whole system
18prt-get depinst .....let your imagination run wild ....