Results 1 to 5 of 5

Thread: NOT SOLVED YET. Partition misalignment

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

    NOT SOLVED YET. Partition misalignment

    How much RAM do you have? swap is for too many applications all at once wanting to use RAM or for hibernating. If you do not hibernate, edit videos or start every app you have at once and have 4GB of RAM or more you may not even need swap, but some is recommended.
    https://help.ubuntu.com/community/SwapFaq

    Did you end up with UEFI or BIOS install?
    Some alignment issues reported are not relevant. All partition need to start on a sector that is divisible by 8. Extended partition does not matter, but logical do, if in MBR mode. All gpt partition tools should automatically give aligned partitions.

    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 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?tit's 8-sector (4096-byte) alignment - post 8
    http://ubuntuforums.org/showthread.php?t=1768635
    Alignment issues on 4K drives
    http://ubuntuforums.org/showthread.php?t=1635018

    Post this:

    sudo parted /dev/sda unit s print
    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.







  2. #2
    Join Date
    Jan 2012
    Beans
    19

    NOT SOLVED YET. Partition misalignment

    Okay. Bought this new machine - HP Pavilion G6. It came installed with the dreaded Windows 8 Virus. I say virus because it took 2.5 hours at the help desk to kill it. For whatever reason the new BIOS they made makes it impossible to boot any distro prior to 12.04. Something about encryption and whatnot. Can anybody illuminate me on this?

    Somehow we managed to get Ubuntu 11.10 on it because that is the version I liked the most, but have since switched to 12.04 64 bit on this machine with a gnome fallback interface. It had to be done in DOS from the windows 7(8?) system, we had to manually tell it to recognize the setup file in Ubuntu 11.10 in order to install. Apparently it takes windows 7 to kill windows 8. And then from windows 7 you can kill it with Ubuntu with extreme effort given the new BIOS's they are making now.

    Anyways....

    I have noticed the machine to be slower than expected - Windows ran faster so something had to be wrong. It just gets a little slow and hangs for a while not sure why.
    Then by sheer accident I was fiddling with a flash drive and found this when I clicked on my hard disk summary in Disk Utility:

    "WARNING: The partition is misaligned by 3072 bytes. This may result in very poor performance. Repartitioning is suggested."

    How exactly do I fix this without reinstalling/butchering the system?

    Also, do I really need a 4 gig swap file? Or is that just a tasty treat for the FBI forensics division? What is a swap anyways?

    Sorry for the duplicate thread, I hit solve on accident instead of Ubuntu.



  3. #3
    Join Date
    Jan 2012
    Beans
    19

    Re: NOT SOLVED YET. Partition misalignment

    I suspect that if I don't have to reinstall(hopefully- lots of data already) I'll have to fiddle with the partitions, is Gparted the way to go? Or is the default Disk Utility? Don't have much knowledge on fiddling with partitions.

    Either way I am lost thus far.

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

    Re: NOT SOLVED YET. Partition misalignment

    I had already posted in you other thread. Moved it here but now it is first.
    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.







  5. #5
    Join Date
    Apr 2010
    Location
    PNW on E-side Cascades
    Beans
    363
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: NOT SOLVED YET. Partition misalignment

    Quote Originally Posted by Conscript View Post
    . . . "WARNING: The partition is misaligned by 3072 bytes. This may result in very poor performance. Repartitioning is suggested."

    How exactly do I fix this without reinstalling/butchering the system?

    Also, do I really need a 4 gig swap file? . . .

    I suspect that if I don't have to reinstall(hopefully- lots of data already) I'll have to fiddle with the partitions, is Gparted the way to go? Or is the default Disk Utility? Don't have much knowledge on fiddling with partitions.

    Either way I am lost thus far.
    Suggest starting over first using SystemRescueCD to cleanup your hard drive either with DukeNuke'em or the dd command, then getting to know cfdisk or fdisk. These latter partitioners make the error referred to nearly impossible.

    But begin by getting rid of all traces of nasty old ntfs.

    Nowadays a swap partition does not need to be over 2GB, if this large, with all the RAM available to the motherboards put out.

    Best wishes!
    Nonsense is an assertion of man's spiritual freedom in spite of all the oppressions of circumstance-- Aldous Huxley
    The real power of Linux lies in the command line

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
  •