Categories: Install
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.
step | command | comment |
---|---|---|
00 | boot the CRUX install CD / login as root | |
01 | cfdisk /dev/hda | patition your hard drive |
02 | mkreiserfs /dev/hdaX | format your partition(s) |
03 | mkswap /dev/hdaY | create swap space |
04 | mount /dev/hdaX /mnt | mount your new install partition |
05 | swapon /dev/hdaY | setup swap space |
06 | setup | install the base system packages (don't forget ports and cvsup) |
07 | setup-chroot | chroot into your new CRUX system |
08 | passwd | set the root password |
09 | vim /etc/fstab | edit the filesystemtable |
10 | vim /etc/rc.conf | setup system parameters and services |
11 | vim /etc/rc.d/net vim /etc/hosts vim /etc/resolv.conf | configure your network |
12 | cd /usr/src/linux-x.x.x make menuconfig make all | configure and compile your kernel |
13 | make modules_install cp arch/i386/boot/bzImage /vmlinuz cp System.map /System.map | install your kernel |
14 | vim /etc/lilo.conf lilo | configure and install the boot loader |
15 | remove the install CD, boot from harddisk and login | |
16 | ports -u | upgrade the local ports tree |
17 | prt-get sysup | update the whole system |
18 | prt-get depinst ..... | let your imagination run wild .... |