Just got a WD 10.1Gig drive. I partitioned it like so:
=-=-=-=-=-
Disk /dev/hda: 255 heads, 63 sectors, 1232 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 127 1020096 83 Linux native
/dev/hda2 128 382 2048287+ 83 Linux native
/dev/hda3 383 956 4610655 83 Linux native
/dev/hda4 957 1232 2216970 5 Extended
/dev/hda5 957 1185 1839411 83 Linux native
/dev/hda6 1186 1232 377496 82 Linux swap
=-=-=-=-=-
Only /dev/hda1 has anything (Debian 2.1 with a 2.2.5-ac1 kernel) on it
right now, which was copied from the 3.2Gig drive I orginally did the
install on.
After copying everything over to the bigger disk, I booted off a boot
floppy (same kernel) and ran "lilo", which reports:
=-=-=-=-=-
LILO version 21, Copyright 1992-1998 Werner Almesberger
Reading boot sector from /dev/hda1
Merging with /boot/boot.b
Boot image: /boot/vmlinuz-2.2.5
Added Linux 2.2.5 *
Boot image: /boot/vmlinuz-2.2.4
Added Linux 2.2.4
Boot image: /boot/vmlinuz-2.0.36
Added Linux 2.0.36
/boot/boot.0301 exists - no backup copy made.
Writing boot sector.
=-=-=-=-=-
Which looks good... Then I pop the floppy and reboot. My BIOS reports a
boot sector found on IDE-0 (the drive in question) and then my system
hangs. No LILO output whatsoever.
Based on what I see from fdisk (above), I don't believe any part of lilo
is above the 1024 cylinder limit, is it? I tried adding the 'linear'
keyword to lilo.conf as well as turning off "LBA" mode for the drive (I
tried linear/LBA in all 4 combo's, and still hangs).
Another thing I did was to repartition the drive such that /dev/hda1 was
~10Meg. I then copied /boot/* over to /dev/hda1, and put the rest of the
system on /dev/hda2. In fstab I mounted / from /dev/hda2 and added a
second entry "/dev/hda1 /boot". When I rebooted using the floppy (so I
could run lilo on the big disk), the kernel panic'ed about not being
able to find 'init', which I thought was strange -- although perhaps it
has to do with the boot floppy assuming / is mounted from /dev/hda1,
which wasn't true in this case -- I could not assertain how to make the
boot floppy (made with a "make bzdisk" from the kernel source) mount /
from /dev/hda2.
Any suggestions would really be appreciated -- I'd rather not be
relegated to booting from floppy...
tia
rjf&