In the BIOS there are usually two places to set auto for detecting the hard
drive. That's to get the C/H/S and to see what, if any, translation needs to
be done. These settings are usually Normal, LBA, Auto, etc. This might be
the problem that is occuring between the bios and the kernel.
Jim
On Sunday July 22, 2001 12:11 am, Douglas J. Hunley wrote:
> Remember the other day when I lost hde on linux.nf? I had to shrink
> /dev/hda3 and split it into hda3 and hda4. All was great...
> Or so I thought. It seems that in doing so, the tranlsations for the disk
> geometry got messed up somewhere. The drive is a:
> Maxtor 53073U6, 29311Mb w/2048Kb cache.
>
> The BIOS is set for 'auto' and report a CHS of 1024/255/63
> I use the latest lilo, and use lba32.
> The kernel says the drive has a CHS of 3736/255/63
>
> I have to boot lilo with 'hda=1024,255,63' to get the machine to be usable.
> a cat of /proc/ide/id0/hda says the physical layout is 16383/16/63
>
> The drive is broken into hda[1-4]
>
> running 'hdparm /dev/hda' gets 'HDIO_GETGEO_BIG failed: Input/output error'
>
> fdisk /dev/hda says
> 'The number of cylinders for this disk is set to 3736. This could in
> certain setups cause problems.'
>
> cfdisk says 3736 cylinders, 255 head, 63 sectors/track
> Device Boot Start End #cyls #blocks Id System
> /dev/hda1 * 0+ 1272 1273- 10225341 83 Linux
> /dev/hda2 1273+ 1306- 33- 262584 82 Linux swap
> /dev/hda3 1306+ 2677- 1371- 11010216+ 83 Linux
> /dev/hda4 2677+ 3735 1059- 8505419+ 83 Linux
>
> running parted says:
> Warning: The operating system thinks the geometry on /dev/hda is
> 3736/255/63. Therefore, cylinder 1024 ends at 8032.499M. You should check
> that this matches
> the BIOS geometry before using this program.
>
> running 'verify parition table' from within fdisk says:
> 11717 unallocated sectors
>
> running 'sfdisk -d /dev/hda >hda.out && sfdisk /dev/hda <hda.out' says
> sfdisk: I don't like these partitions - nothing changed.
>
> somewhere in there I also got a message stating that some other paritioning
> tool had incorrectly setup the partitions.
>
> advice? please?
--
11:42pm up 10 min, 2 users, load average: 0.05, 0.19, 0.16
------------------------------------------------------------------------
Running Caldera eD2.4 - Linux - because life is too short for reboots...
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users