David L. Martin on Mon, 19 Apr 1999 21:05:44 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: fdisk not working on new drive


On Mon, 19 Apr 1999, Tracy Nelson wrote:
> David L. Martin wrote:
> 
> > Go into expert mode and manually enter the heads, sectors and cylinders.
> > That worked for me.
> 
> Hmmm, not for me.  fdisk keeps forcing the cylinder count to 1027.  I
> clear all the partition info, set the cylinders and heads, then create
> my partitions and write them out to the disk.  When I do a fdisk -l, I
> see that the drive has been set to 255 heads, 63 sectors and 1027
> cylinders.

Yes, this is the _EXACT_ same problem.
Set the cylinders, heads, etc. write them to disk, reboot, and try again.
Once you reboot the values will be correct.
These values are only read at boot.

>From the data below, I can see that you LARGE disk is being translated
(probably via LBA although there are others).

> > 
> > Also, if the problem continues attach the output of fdisk -l.
> > 
> 
> Here 'tis:
> ---
> The number of cylinders for this disk is set to 1027.
> This is larger than 1024, and may cause problems with:
> 1) software that runs at boot time (e.g., LILO)
> 2) booting and partitioning software form other OSs
>    (e.g., DOS FDISK, OS/2 FDISK)
> 
> Disk /dev/hdc: 255 heads, 63 sectors, 1027 cylinders
> Units = cylinders of 16065 * 512 bytes
> 
>    Device Boot   Begin    Start      End   Blocks   Id  System
> /dev/hdc1            1        1       13   102784+  83  Linux native
> Partition 1 does not end on cylinder boundary:
>      phys=(203, 15, 63) should be (203, 254, 63)
> /dev/hdc2          205       13      144  1048824   83  Linux native
> Partition 2 does not end on cylinder boundary:
>      phys=(1023, 15, 63) should be (1023, 254, 63)
> /dev/hdc3         1024      144      274  1048824   83  Linux native
> Partition 3 does not end on cylinder boundary:
>      phys=(1023, 15, 63) should be (1023, 254, 63)
> /dev/hdc4         1024      274     1028  6056568    5  Extended
> Partition 4 does not end on cylinder boundary:
>      phys=(1023, 15, 63) should be (1023, 254, 63)
> ===
> I also tried firing up the RH installer (I'm using RH5.1) and using Disk
> Druid on it, but that didn't work either.  The drive is configured
> correctly in my system BIOS, so I'm pretty sure it's identifying itself
> correctly to the system.
> 
> Back to the cotton mines....
> -- Tracy
> 
> --
> To unsubscribe, send a message with the word 'unsubscribe' in the subject
> or body of your message to plug-request@lists.nothinbut.net
> 
> 

-- 

David L. Martin        <dlmarti@njcc.com>
R&D Software Engineer  http://pluto.njcc.com/~dlmarti
PGP: 16 C0 C0 AB 4E A2 2C 89  FF 8B 07 CF C0 72 3D 89

Does the name Pavlov ring a bell?
 

--
To unsubscribe, send a message with the word 'unsubscribe' in the subject
or body of your message to plug-request@lists.nothinbut.net