partitions

fdisk

~# /sbin/fdisk -l

Disk /dev/hda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         128     1028128+   b  W95 FAT32
/dev/hda2             129         640     4112640   a5  FreeBSD
/dev/hda3   *         641        1152     4112640   83  Linux
/dev/hda4            1153        4870    29864835    f  W95 Ext'd (LBA)
/dev/hda5            1153        1168      128488+  82  Linux swap
/dev/hda6            1169        1184      128488+  83  Linux
/dev/hda7            1185        1200      128488+  83  Linux
/dev/hda8            1201        1712     4112608+   7  HPFS/NTFS
/dev/hda9            1713        1968     2056288+   b  W95 FAT32
/dev/hda10           1969        2608     5140768+  83  Linux
/dev/hda11           2609        4870    18169483+  83  Linux

mount

~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda3              4112508   3484516    627992  85% /
/dev/hda6               124427      1604    116399   2% /usr/local
/dev/hda7               124427      4603    113400   4% /home
deltree:/home/share    8224960   1369824   6855136  17% /home/share

rationale

active flag
For windoze / linux operation, we leave the Microsoft MBR intact and gain boot control by lilo via the 'active' flag, lilo may then boot windoze or linux as required.

lilo.conf

~# cat /etc/lilo.conf
# /etc/lilo.conf for Slackware-10.2 on tosh - 2005-09-15 - Grant Coady

# MBR is owned by MSFT, we get control via active primary
boot = /dev/hda3
root = /dev/hda3
read-only
compact
prompt
timeout = 50

# 800x600x8
vga = 0x303
append = "video=vesafb:mtrr,ywrap"

#default = 2.4.32-hf32.3
default = 2.6.16.11a

image = /boot/bzImage-2.6.16.11a
        optional
        label = 2.6.16.11a

image = /boot/bzImage-2.6.15.7a
        optional
        label = 2.6.15.7a

image = /boot/bzImage-2.6.14.7a
        optional
        label = 2.6.14.7a

image = /boot/bzImage-2.6.13.5a
        optional
        label = 2.6.13.5a

image = /boot/bzImage-2.4.33-pre2
        optional
        label = 2.4.33-pre2

image = /boot/bzImage-2.4.32-hf32.3
        optional
        label = 2.4.32-hf32.3

image = /boot/bzImage-2.4.31-hf32.1
        optional
        label = 2.4.31-hf32.1

image = /boot/bzImage-2.4.30-hf32.1
        optional
        label = 2.4.30-hf32.1

image = /boot/vmlinuz-ide-2.4.31
        label = Slack-2.4.31
        append = ""

other = /dev/hda2
        label = FreeBSD
        table = /dev/hda

other = /dev/hda1
        label = Windows
        table = /dev/hda