Wednesday, March 1, 2017

12.04 - File system is not clean (The partition is misaligned by 1024 bytes)



After trying ubuntu for years and finding it too complicated the latest 12.04 got me intrigued. But after installing the Disk utility is giving me this error. I've searched here and there for a solution but they all seems to complicated for me. Is there a simple answer or do I have to repartition and reinstall all?



Yours sincerely
Kim Hansen, Denmark.




Disk /dev/sda: 500.1 GB, 500107862016 bytes

255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xaa9693fe

Device Boot Start End Blocks Id System
/dev/sda1 2048 52430847 26214400 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 52430848 315301800 131435476+ 7 HPFS/NTFS/exFAT
/dev/sda3 315301886 975836294 330267204+ f W95 Ext'd (LBA)

Partition 3 does not start on physical sector boundary.
/dev/sda5 443142144 975836294 266347075+ 7 HPFS/NTFS/exFAT
/dev/sda6 315301888 430755839 57726976 83 Linux
/dev/sda7 430757888 443135999 6189056 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 7948 MB, 7948206080 bytes
81 heads, 10 sectors/track, 19165 cylinders, total 15523840 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: 0x06ebddd7

Device Boot Start End Blocks Id System
/dev/sdb1 8192 15523839 7757824 7 HPFS/NTFS/exFAT


This article explains this problem.




The problem with misalignment lies with the partition editor. The partition editor that was used during installation defaulted to Rounding off to nearest cylinder. Whereas for newer installers it defaults to Rounding off to nearest MB.



Possible solutions ...




  • Back up, repartition, and restore.

  • Repartition and reinstall.

  • Use GParted to resize/move the partition that has a problem without backup.




enter image description here



Here is the official document on resizing. It is old though and does not include the dropdownbox regating the MiB setting.
Another one without images.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...