Jump to content

Partition drive


MvL

Recommended Posts

I had a HDD with a GPT partition table on it. I removed the partition table with this:

 

dd if=/dev/zero of/dev/sdx bs=512 count=20

 

Next i try to partition the drive with fdisk. I'll get this message when starting fdisk

 

root@Tower:~# fdisk /dev/sdf

The number of cylinders for this disk is set to 121601.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):

 

what will i do with it?

Link to comment

That's normal for modern drives.

 

I have a other drive with the same specs and from the same company that give not this warning.

 

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
1 heads, 63 sectors/track, 31008336 cylinders
Units = cylinders of 63 * 512 = 32256 bytes
Disk identifier: 0x00000000

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               2    31008336   976762552+  83  Linux

 

 

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x64671665

  Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      121601   976760001   83  Linux

 

Also it starts at cylinder 2.

Link to comment

Question, when i have add a pre-cleared drive to the area and checking with fdisk i'll see this message:

 

Partition 1 does not end on cylinder boundary.

 

is this normal? Is it wise to check this with fdisk or is it better to forget fdisk?

Link to comment

Question, when i have add a pre-cleared drive to the area and checking with fdisk i'll see this message:

 

Partition 1 does not end on cylinder boundary.

 

is this normal? Is it wise to check this with fdisk or is it better to forget fdisk?

Hard disks have not used a constant number of sectors per cylinder for probably 20 years.  Ignore the warning.  It is based on the "reported" geometry which is also only there to make old MS-DOS happy.    There is absolutely no way your disk has either 1 or 255 disk heads.

 

fdisk works, just ignore the C/H/S reported. (and the warning) unless you are using it on a VERY old hard-disk.

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...