partitions
fdisk
~# fdisk -l
Disk /dev/sda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x45e0afb2
Device Boot Start End Blocks Id System
/dev/sda1 1 1024 8225248+ 7 HPFS/NTFS
/dev/sda2 1025 2048 8225280 83 Linux
/dev/sda3 * 2049 3072 8225280 83 Linux
/dev/sda4 3073 9728 53464320 5 Extended
/dev/sda5 3073 3200 1028128+ 82 Linux swap
Disk /dev/sdb: 500.1 GB, 500106780160 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa6aa94e5
Device Boot Start End Blocks Id System
/dev/sdb1 1 2560 20563168+ 7 HPFS/NTFS
/dev/sdb2 2561 4608 16450560 83 Linux
/dev/sdb3 4609 6656 16450560 83 Linux
/dev/sdb4 6657 60800 434911680 5 Extended
/dev/sdb5 6657 6912 2056288+ 82 Linux swap
/dev/sdb6 6913 8448 12337888+ 83 Linux
mount
~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 8225024 3015664 5209360 37% /
/dev/sdb6 12337472 3555720 8781752 29% /home/data
tmpfs 1032812 0 1032812 0% /dev/shm
rationale
- active flag
- Although not used by lilo, the active flag is set simply
to indicate the main boot partition for debug / recovery
purposes.
lilo.conf
# /etc/lilo.conf for pooh, 2008-05-27
#
boot = /dev/sda3
root = /dev/sda3
read-only
compact
lba32
#append=" vt.default_utf8=0"
prompt
timeout = 50
# vesa |800×600 1024×768
# ------------- --------
# 8bit| 771 773
# 15bit| 787 790
# 16bit| 788 791
# 24bit| 789 792
# 32bit| 814 824
vga = 789
#default = Slamd64
default = 2.6.26-rc8a
#default = 2.6.25.9a
#default = 2.6.24.7a
#default = WinXP
image= /boot/bzImage-2.6.26-rc8a
label = 2.6.26-rc8a
image = /boot/bzImage-2.6.25.9a
label = 2.6.25.9a
image = /boot/vmlinuz-2.6.24.5-smp
label = Slack-12.1
other = /dev/sda1
label = WinXP
table = /dev/sda
other = /dev/sda2
label = Slamd64
table = /dev/sda
# end