[ale] PSA: Pay attention to your sector alignment

Phil Turmel philip at turmel.org
Fri Sep 26 08:14:54 EDT 2014


On 09/23/2014 04:06 PM, JD wrote:
> I stopped using fdisk a few years ago - use parted instead. It handles the
> alignment correctly by default and handles GPT disks.
> 
> I understand that fdisk is/has been updated and by 2018, it may be safe to use
> it by default again ... active distros should be all there by that point. ;)
> 
> gdisk has some issues - or did.  Something about force migrating MBR to GPT?  I
> don't recall - just that fixparts http://www.rodsbooks.com/fixparts/ is the tool
> to clean it up.  Or is that the tool that causes it?  I can't remember.

gdisk does assume you want to migrate to GPT, but it has an advanced
option to reverse the migration.  Handy on occasion.

Fwiw, my current version of fdisk also defaults to 2048 start.  It
offers --compatibility=dos to restore the old default.

Phil


More information about the Ale mailing list