Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
share|improve this question
    
Which part? the comment box says I have -700 characters left? –  Conspicuus May 8 '12 at 19:46
    
Sorted :) (the comment part not the disk) :D –  Conspicuus May 8 '12 at 19:47

2 Answers 2

up vote 1 down vote accepted

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.

share|improve this answer
    
Phew this sounds complicated :( I was hoping this would be the easy ubuntu but... The last part seems interesting but how do I do it in rl. Is there a "how to" wiki or something alike I can use? –  Conspicuus May 8 '12 at 19:53
    
No matter what I choose I will say thanks for your efforts :) –  Conspicuus May 8 '12 at 20:21
    
Apperently I'm not worthy for upvoting (vote up requires 15 reputation) your solution so i'll have to thank you the good old way :( –  Conspicuus May 8 '12 at 20:38

boot a ubuntu live cd, and open the terminal (Dash -> terminal, or CTRL-ALT-T) , or a virtual terminal tty session (CTRL-ALT-F1 -F6)

run the fcsk command for /dev/sda and /dev/sdb

check the partition you are looking for with df your main drive partition is probably dev/sda1

ex. fsck /dev/sda1 fsck /dev/sdb1

the reason i am telling you to do this from a live cd is because it is dangerous to do this while the hard drives are mounted

you also need root permissions to do this so preceed the above fsck commands with sudo.

see how that goes.

EDIT: oh looks like i got ninja'd... still...

share|improve this answer
    
Still good information! But I do not think fsck will fix this (afaik it does not touch the borders of logical partitions) –  Rinzwind May 8 '12 at 20:04
    
There are differences between boot sector and its backup. Differences: (offset:original/backup) 44:7e/02, 45:27/00 1) Copy original to backup 2) Copy backup to original 3) No action –  Conspicuus May 8 '12 at 20:15
    
This was the result –  Conspicuus May 8 '12 at 20:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.