[H-GEN] fdisk

Doug South dsouth at squirrel.net
Fri Jun 26 23:51:26 EDT 1998


Hi All,

I'm having some weird problems with fdisk and a 6.0 gig drive.

I initially set up the drive on another machine and had no problems in
doing so. I noticed recently that fdisk was spewing some funny stuff
when I printed the partitions on the drive:

Disk /dev/hdb: 32 heads, 63 sectors, 480 cylinders
Units = cylinders of 2016 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hdb1            1        1       66    65646   82  Linux swap
Partition 1 has different physical/logical endings:
     phys=(138, 14, 63) logical=(65, 4, 63)
Partition 1 does not end on cylinder boundary:
     phys=(138, 14, 63) should be (138, 31, 63)
/dev/hdb2          140       66     6286  6270547+  83  Linux native
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(139, 0, 1) logical=(65, 5, 1)
Partition 2 has different physical/logical endings:
     phys=(1023, 14, 63) logical=(6285, 29, 63)
Partition 2 does not end on cylinder boundary:
     phys=(1023, 14, 63) should be (1023, 31, 63)


If I try to delete the partitions and create new ones, I'm stuck for
size...:

Disk /dev/hdb: 32 heads, 63 sectors, 480 cylinders
Units = cylinders of 2016 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hdb1            1        1      480   483808+  83  Linux native

that seems a lot less than 6.0 gig to me. 8(

I'm thinking it has something to do with the ide control in the new
machine. Is there a way to overcome this, or should I just put the drive
back in the old machine? I'd rather not have to be swapping hdd's every
time I want to re-partition. Does linux get its disk geometry from the
BIOS and if so, is it possible I've messed that up? 

Regards,
Doug
-- 
My wasted space --- http://www.squirrel.net/~dsouth




More information about the General mailing list