Results 1 to 8 of 8

Thread: Partition error - should I worry

  1. #1
    Join Date
    Oct 2010
    Beans
    203
    Distro
    Ubuntu 12.04 Precise Pangolin

    Partition error - should I worry

    Hi everyone

    I used fdsik the other night to determine a partition number and I noted that my install which did the partitioning seems to have created an error.

    Output of fdisk -l
    Code:
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00011e69
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1         426     3417088   83  Linux
    Partition 1 does not end on cylinder boundary.
    Output of fdisk -lu
    Code:
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00011e69
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048     6836223     3417088   83  Linux
    Partition 1 does not end on cylinder boundary.
    Should I worry about this error? Even if I shouldn't I'd like to know what I did wrong and how to resolve it.

    Does anyone have any clues? Thanks

  2. #2
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: Partition error - should I worry

    If you are worried about the "Partition 1 does not end on cylinder boundary." comment, you can forget about that, it is of no importance any more, and has not been for some years.

    It is a relic from the days of much smaller hard disks with different physical and file system properties, but is of absolutely no consequence any more.
    DISTRO: Xubuntu 14.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  3. #3
    Join Date
    Oct 2010
    Beans
    203
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Partition error - should I worry

    Many thanks, I'm glad I don't need to do another install. I assume its because the partition does not end at a particular cylinder/head. Is this something that others encounter on installs using the live USB install method?

    I'd still like to know how to avoid/resolve it. Do you have any ideas/suggestions so that I avoid this error, albeit an unimportant one?

    Thanks

  4. #4
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: Partition error - should I worry

    It's an error that appears on these forums quite a lot, or has done in the past.

    If it really worries you it is possible to use gparted in advance of installing to make your partitions, and set that to use cylinder boundaries, see my screenshot
    Attached Images Attached Images
    DISTRO: Xubuntu 14.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  5. #5
    Join Date
    Oct 2010
    Beans
    203
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Partition error - should I worry

    Thanks again for your help, looking at gparted it seems to be pretty obvious as your image indicated. I assume if doing this before a fresh install I should use Gparted on a live USB or similar live media rather than from within the working pc if it is the one to be upgraded.

  6. #6
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    15,058
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Partition error - should I worry

    Quote Originally Posted by ianc1 View Post
    Thanks again for your help, looking at gparted it seems to be pretty obvious as your image indicated. I assume if doing this before a fresh install I should use Gparted on a live USB or similar live media rather than from within the working pc if it is the one to be upgraded.
    Hi, yes from the livecd.

  7. #7
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Partition error - should I worry

    as ajgreeny originally suggested. Cylinders have not been used by drives since drives became larger than 8GB. Back then when installing a drive we had to plug in heads, sectors, & cylinders. When that exceeded what the BIOS could store they converted to LBA - large block allocation.
    http://en.wikipedia.org/wiki/Cylinder-head-sector

    Now they are installing partitions on different boundaries for better compatibly with SSD and 4K drives.

    First, understand that most partitioning tools have moved to a policy of aligning partitions on 1 MiB (2048-sector) boundaries as a way of improving performance with some types of RAID arrays and some types of new hard disks (those with 4096-byte physical sectors). See article by srs5694:
    http://www.ibm.com/developerworks/li...-sector-disks/
    Post on 8-sector boundaries alignment by srs5694
    http://ubuntuforums.org/showthread.php?t=1685666
    http://ubuntuforums.org/showthread.php?t=1768635
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  8. #8
    Join Date
    Oct 2010
    Beans
    203
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Partition error - should I worry

    Thanks oldfred, an excellent set of links which have provided me with lots of info and a better understanding of this. Thanks again.

Tags for this Thread

Bookmarks

Posting Permissions

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