LILO and 10Gig harddrive

LILO and 10Gig harddrive

Post by Ron Forreste » Sun, 04 Apr 1999 04:00:00



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&

 
 
 

LILO and 10Gig harddrive

Post by Ron Forreste » Mon, 05 Apr 1999 05:00:00



> 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

Turns out I just needed to do an 'fdisk /mbr' and everything came up
fine...

rjf&

 
 
 

1. Lilo +10gig drive setup options.

I have setup my system first 8 gigs is Windows98se2
second partion is 3.8 gig and is Linux Mandrake 6.0
200 meg swap file.  And yes I heed a 200meg swapfile.
The 3.8 gig partion starts at 1032 cyn.  So, LILO will not install
without the boot files being below 1024 cyn.

The hard drive is a IBM 14.4 gigs.

I'm about to try adding "linear" flag to my lilo.conf. My understanding is
this is the most basic way to fix the problem.  When reading the source /
Readme file of LILO.  I noticed the following warning:
**********
Note that large partitions that only partially extend into the "forbidden
zone" are still in jeopardy even if they appear to work at first, because
the file system does not know about the restrictions and may allocate disk
space from the area beyond the 1024th cylinder when installing new kernels.
LILO therefore prints a warning message but continues as long as no imminent
danger exists.
************
How do I know if this is happening?

Can setting the flag "linear" to kill a harddrive?

Or, Does setting linear cause any harddrive lag? A.K.A slow down the
performance of Linux?

And, Finally does anyone know of a better way to fix the problem
without erasing my windows partion?

I look forward to your advise and help,

Wes Robbins.

2. ncr(SVR4) routing ques

3. Matrox Mystique ands X.

4. Why no source routing in Linux?

5. mount a harddrive onto a diffrent harddrive

6. Network RAID with Linux network block device

7. LiLo not works in 486CPU + 800M HardDrive

8. Booting problem!

9. LILO and multiple harddrives

10. LILO and 27GB harddrive

11. LILO problem; Win95 exists + >500 MB harddrives + ontrack

12. LILO problems, harddrive does not boot even after reformat

13. LILO - Installed for boot floppy, now I want in on the harddrive...