I had the same problem with redhat 5.2 (2.0.36 kernel) on our CDROM
burning system:
Basically, to get it to work, I had to specify the geometry when I
booted
LILO: boot hda=2495,255,63
and later in the in the /etc/lilo.conf file:
eric@uxcdrom$ cat /etc/lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.0.36-0.7
label=linux
root=/dev/hda1
append="hda=2495,255,63"
read-only
I deduced the geometry by taking the lba size printed on the drive and
assuming 255 heads, 63 heads (or vice versa) and got 2495 as the
number of cylinders.
-Eric.
David Hamm writes:
> Its time for disk geometry games. Its been a while since I worked with disk
> geometry but its not really that bad. In fdisk select (x) and press m. Notice
> the following options ( c, h, s ). You'll have to work with these settings to
> get your system to see the whole disk. I seem to remember that you basically
> multiply c * h * s ( as listed in your hd specs ) which yield a particular
> number. You then change the values of the c, h and s, in fdisk, to yield that
> same number or as close to it as possible.
> The problem comes from a value in the disk geometry structure in the kernel.
> It seems that the values for c,h and s are short ints and your disk has more
> cylinders heads or tracks than will fit in the value held in the structure.
> Its been a couple of years since I dealt with this so if anyone else could
> chime in now would be a good time.
>
>
> On Mon, 17 Apr 2000, ribbonhood wrote:
> > Hi!
> >
> >         Does anybody know how can Linux find the exact capacity of my Hard
> > disk during installation? I'm using 20 GB IBM DPTA-372050 but it seems
> > Linux can only see 8 GB when i do fdisk or diskdruid. Is there any work
> > around on this? Thanks in advance.
> >
> > hood
> >
> >
> > --
> > To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
> --
> ---------------------------------
> David Hamm
> Systems Analyst
> Imaging Technologies Services Inc.
> email: ">dhamm@itrepro.com
> voice: 404-870-6663
> ---------------------------------
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.