David L. Martin on Sun, 18 Apr 1999 14:33:34 -0400 (EDT)


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

Re: fdisk not working on new drive


On Sun, 18 Apr 1999, Tracy Nelson wrote:
> Here's what I'm doing:  I set up a 100M root partition, and an 8.3G
> extended partition.  This part goes well.  I then try to set up three 1G
> logical partitions in the extended partition.  I can do this, but when I
> verify the partition table, I get warnings that my partitions overlap. 
> Looking at the table, I notice that the entry under "Begin" (beginning
> of data area, I think) doesn't match the first block of my partition. 
> For example, here's a part of my partition table:
> 
> Device		Boot	Begin	Start	End	Blocks
> /dev/hdc1		1	1	204	102784+
> /dev/hdc2		205	205	16383	8154216
> /dev/hdc5		205	205	2285	1048792+
> /dev/hdc6		2048	2286	4366	1048792+

Go into expert mode and manually enter the heads, sectors and cylinders.
That worked for me.

Also, if the problem continues attach the output of fdisk -l.

Here is the output of my fdisk -l, using large Maxtor and IBM drives.


Disk /dev/hda: 16 heads, 63 sectors, 25228 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot    Start      End   Blocks   Id  System
/dev/hda1   *         1      261   131512+  83  Linux native
/dev/hda2           262      522   131544   82  Linux swap
/dev/hda3           523     4684  2097648   83  Linux native
/dev/hda4          4685    25228 10354176    5  Extended
/dev/hda5          4685     6765  1048792+  83  Linux native
/dev/hda6          6766     8846  1048792+  83  Linux native
/dev/hda7          8847    25228  8256496+  83  Linux native

Disk /dev/hdb: 16 heads, 63 sectors, 28005 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot    Start      End   Blocks   Id  System
/dev/hdb1             1     1041   524632+  83  Linux native
/dev/hdb2          1042     2082   524664   83  Linux native
/dev/hdb3          2083     2603   262584   83  Linux native
/dev/hdb4          2604    28005 12802608   83  Linux native

Disk /dev/hdc: 16 heads, 63 sectors, 28005 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot    Start      End   Blocks   Id  System
/dev/hdc1             1    14002  7056976+  83  Linux native
/dev/hdc2         14003    28005  7057512   83  Linux native


-- 

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

Maybe I was holding all the aces, but what was the game? 
 

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