Installation of Leetnux

Please download the Leetnux base package and tomsrtbt. Prepare the installation system in the following way:

Example 1. Preparations

# tar -xzf tomsrtbt-1.7.185.tar.gz && cd tomsrtbt-1.7.185
# ./install.s
# cd ..
# bunzip2 -c leetnux-base.tar.bz2 | gzip -9 > leetnux-base.tgz
Then copy leetnux-base.tgz to any media that is supported by Linux and had a size greater than 40 MB, e.g. a CD-R, a ZipDisk, or an LS-120.

Boot up your system with the tomsrtbt floppy you created, and login. Use "root" as username, and "xxxx" as password (without those nasty quotes, of course). Create partitions on your system just like in the example below:

Example 2. Partitioning example

# fdisk /dev/hda
Command: n
Command   Action
   e        Extended
   p        Primary Partiton (1-4)
p
Partition number (1-4): 1
First cylinder (1-1027): 1
Last cylinder (1-1027): 990
Command: n
Command   Action
   e        Extended
   p        Primary Partiton (1-4)
p
Partition number (1-4): 2
First cylinder (1-1027): 991
Last cylinder (1-1027): 1027
Command: t
Partition number (1-4): 2
Hex code: 82
Command: w
# mke2fs /dev/hda1

Now it is time to mount the media with leetnux-base.tgz and the destination partition.

Example 3. Mounting filesystems

# mount /dev/hda1 -t ext2 /mnt
# mount /dev/hdc -t iso9660 /cdrom
# cp /cdrom/leetnux-base.tgz /mnt
# cd /mnt
# gzip -d leetnux-base.tgz
# tar xvf leetnux-base.tar
/dev/hdc in the example above is my CD drive. Please use here what your actual device file for your media is.

Now edit /mnt/etc/fstab. tomsrtbt provides vi and ce as editors (thanks to Alain Rouge for that hint!), you should be able use at least one of them. If you did the installation strictly as above, your fstab should look like this:

Example 4. /mnt/etc/fstab

/dev/hda1 / ext2 defaults 1 1
/dev/hda2 none swap sw 0 0
proc /proc proc defaults 0 0

Now it is time to install lilo. Edit /etc/lilo.conf to look like in the example below and execute lilo by typing "lilo".

Example 5. example lilo.conf

boot=/dev/hda
map=/mnt/boot/map
install=/boot/boot.b
prompt
timeout=50
default=leetnux

image=/mnt/vmlinuz
      label=leetnux
      read-only
      root=/dev/hda1
      vga=normal

Unmount /mnt and /cdrom, and reboot your system. Don't forget to remove tomsrtbt from your floppy drive, this is not what you actually want to boot, do you? ;) If you see LILO:, then either wait for 5 seconds or press RETURN to start Leetnux. If your system boots correctly, then congratulations! If you get any error message, write them down (exactly), and send me an email to , or try to find a solution by yourself. You should be able to, else you wouldn't have even started installing Leetnux. :-)