Find the answer to your Linux question:
Results 1 to 8 of 8
sfdisk gives me the following information about one of my drives: Code: Disk /dev/sdb: 60801 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie blnl's Avatar
    Join Date
    Jan 2009
    Location
    The Netherlands
    Posts
    170

    Question "sfdisk -l" interpretation ?


    sfdisk gives me the following information about one of my drives:
    Code:
    Disk /dev/sdb: 60801 cylinders, 255 heads, 63 sectors/track
    Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
    
       Device Boot Start     End   #cyls    #blocks   Id  System
    /dev/sdb1          0+  14164   14165- 113780331   83  Linux
    /dev/sdb2      14165   60800   46636  374603670    7  HPFS/NTFS
    		start: (c,h,s) expected (1023,254,63) found (1023,0,1)
    /dev/sdb3          0       -       0          0    0  Empty
    /dev/sdb4          0       -       0          0    0  Empty
    What is the meaning of start: (c,h,s) expected (1023,254,63) found (1023,0,1) line?
    How can I fix this?
    Fedora_20@Dell_Latitude_E6410
    Ubuntu_14.04_LTS@HP_Compaq_DC7100

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    start : ( cylinders, heads, sectors ) expected (1023,254,63) found (1023,0,1)

    Did you edit partition table recently? You can fix wrong CHS values but we need a bit more info.
    Is it a blank disk? Post the output of fdisk -l command here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Newbie blnl's Avatar
    Join Date
    Jan 2009
    Location
    The Netherlands
    Posts
    170
    This is the result of fdisk -l
    Code:
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa27f48fa
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       14165   113780331   83  Linux
    /dev/sdb2           14166       60801   374603670    7  HPFS/NTFS
    It is not a blank disk.
    1st partition is my /home partition.
    2nd partition contains my windows media files.

    Yes, the partition table has been edited recently. The reason to edit the partition table was following:
    Recently I installed Fedora 12 on this machine. All partitions and file systems were recognized and mounted properly, except this /dev/sdb2 partition (it was marked Unknown). At that time sfdisk -l did not indicate any CHS issues.
    I decided to backup my data and recreate the partition using Windows XP Disk Management tool. Aftere I removed the partition and created another one (with the same file system, same size and same label), Fedora recognized and mounted the new partition, but sfdisk now reports CHS issue. One problem is fixed and another is created.
    Fedora_20@Dell_Latitude_E6410
    Ubuntu_14.04_LTS@HP_Compaq_DC7100

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Dec 2007
    Location
    Idaho USA
    Posts
    362
    I just ran 'sfdisk' and 'sfdisk /dev/hda -l' and also get your error on one hdd with all 8 partitions, but not concerned. No other partitioning software has any problems nor does linux or XP. It would seem both programs just want the partitions to end on a cyl. boundery, but that is not required. Tthat was the norm for MS Win 98 and pri. OS's but not any more..

  6. #5
    Linux Newbie blnl's Avatar
    Join Date
    Jan 2009
    Location
    The Netherlands
    Posts
    170
    I would like to believe that this is harmless. Maybe it is, maybe it is not.
    Still, I don't like to see this kind of messages on my HDDs.

    Maybe, it's time to update some routines to understand these new partitioning criteria/norms, and stop checking for the obsolete ones (action point for Linux developers ).
    In the meantime, I would still like to see my HDD logs perfectly clean.
    Fedora_20@Dell_Latitude_E6410
    Ubuntu_14.04_LTS@HP_Compaq_DC7100

  7. #6
    Linux Newbie blnl's Avatar
    Join Date
    Jan 2009
    Location
    The Netherlands
    Posts
    170

    Smile

    The problem is solved as follows:
    Resizing drive partitions using the "Round to cylinders" option (see the gparted resize applet example below).


    The result:
    sfdisk -l shows nice clean log.
    Code:
    Disk /dev/sdb: 60801 cylinders, 255 heads, 63 sectors/track
    Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
    
       Device Boot Start     End   #cyls    #blocks   Id  System
    /dev/sdb1          0+  15473   15474- 124294873+  83  Linux
    /dev/sdb2      15474   60800   45327  364089127+   7  HPFS/NTFS
    /dev/sdb3          0       -       0          0    0  Empty
    /dev/sdb4          0       -       0          0    0  Empty
    So, Lostfarmer you are right. This is indeed cylinder boundary related.

    Still, someone should update sfdisk application.
    Fedora_20@Dell_Latitude_E6410
    Ubuntu_14.04_LTS@HP_Compaq_DC7100

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    What is the output of fdisk -l command now?
    There is a + sign with partitions and it means partitions are not build in even block size.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Linux Newbie blnl's Avatar
    Join Date
    Jan 2009
    Location
    The Netherlands
    Posts
    170
    fdisk -l gives the following output:

    Code:
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa27f48fa
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       15474   124294873+  83  Linux
    /dev/sdb2           15475       60801   364089127+   7  HPFS/NTFS
    Fedora_20@Dell_Latitude_E6410
    Ubuntu_14.04_LTS@HP_Compaq_DC7100

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •