silly
partitions
fdisk
~$ /sbin/fdisk -l Disk /dev/hda: 13.0 GB, 13022324736 bytes 255 heads, 63 sectors/track, 1583 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1 8 64228+ 83 Linux /dev/hda2 9 24 128520 82 Linux swap /dev/hda3 * 25 408 3084480 83 Linux /dev/hda4 409 1583 9438187+ 5 Extended /dev/hda5 409 792 3084448+ 83 Linux /dev/hda6 793 824 257008+ 83 Linux /dev/hda7 825 888 514048+ 83 Linux /dev/hda8 889 1528 5140768+ 83 Linux /dev/hda9 1529 1583 441756 83 Linux Disk /dev/hdc: 6488 MB, 6488294400 bytes 255 heads, 63 sectors/track, 788 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdc1 1 4 32098+ 6 FAT16 /dev/hdc2 5 20 128520 82 Linux swap /dev/hdc3 21 788 6168960 83 Linux
mount
~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda3 3084380 1005684 2078696 33% / /dev/hda6 256996 45724 211272 18% /usr/local /dev/hda7 514028 59008 455020 12% /home /dev/hdc3 6168764 1946280 4222484 32% /home/grant/linux deltree:/home/common 8224960 909232 7315728 12% /home/common
rationale
- active flag
- Although not used by lilo, the active flag is set simply to indicate the main boot partition for debug / recovery purposes.
- multiple swap
- use a swap file for each HDD, all set to the same priority (defaults,pri=1) in /etc/fstab so linux uses them in parallel.
lilo.conf
# /etc/lilo.conf for slackware on silly # boot = /dev/hda root = /dev/hda3 read-only compact prompt timeout = 50 # vesa| 800x600 1024x768 1280x1024 # ---- -------- -------- --------- # 256 | 0x303 0x305 0x307 # 32k | 0x313 0x316 0x319 # 64k | 0x314 0x317 0x31A # 16M | 0x315 0x318 0x31B vga = 0x303 #default = 2.6.18.1a #default = 2.6.17.14a default = 2.6.16.30-rc1a #default = 2.4.34-pre4 #default = 2.4.33.3 #default = 2.4.32-hf32.7 #default = 2.4.31-hf32.7 #default = 2.4.30-hf32.7 image = /boot/bzImage-2.6.19-rc2a label = 2.6.19-rc2a optional image = /boot/bzImage-2.6.18.1a label = 2.6.18.1a optional image = /boot/bzImage-2.6.17.14a label = 2.6.17.14a optional image = /boot/bzImage-2.6.16.30-rc1a label = 2.6.16.30-rc1a optional image = /boot/bzImage-2.4.34-pre4 label = 2.4.34-pre4 optional image = /boot/bzImage-2.4.33.3 label = 2.4.33.3 optional image = /boot/bzImage-2.4.32-hf32.7 label = 2.4.32-hf32.7 optional image = /boot/bzImage-2.4.31-hf32.7 label = 2.4.31-hf32.7 optional image = /boot/bzImage-2.4.30-hf32.7 label = 2.4.30-hf32.7 optional image = /boot/vmlinuz-ide-2.4.31 label = Slack-2.4.31 append = "" # end