Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu 12.04 64-bit side by side with my previous 11.10 32-bit.

As everything is working correctly, I want to eliminate the old partition.

According to update-grub:

Found Ubuntu 11.10 (11.10) on /dev/sda1

But according to GParted, /dev/sda1 is the boot partition!

So, how can I discover which partition should be the boot partition for 12.04? Can I safely eliminate the /dev/sda1?

Also, GParted gives /dev/sda5 as file system unknown, it's 2.93Gib and might be the swap partition (just guessing).

share|improve this question
Do you have Windows installed in your computer? – Anwar Shah Sep 14 '12 at 14:33
@Anwar. No, just Ubuntu 11.10 and 12.04 as stated – GUI Junkie Sep 14 '12 at 14:36
up vote 2 down vote accepted

Follow these procedures:

  1. Delete the /dev/sda1 partition from Gparted

  2. Create a new partition on /dev/sda1 from Gparted and also a new file system by formatting it.

  3. Open a terminal and type this command

     sudo grub-install /dev/sda
  4. Then run this command:

    sudo update-grub

It should help you to get rid of that old partition.

1. Learn about Active partition or boot flag here

share|improve this answer
Would it not be safer to check first with the boot flag on the correct partition? – GUI Junkie Sep 14 '12 at 15:03
Also, I'd like to join the two partitions. I think the new partition is on /dev/sda6 – GUI Junkie Sep 14 '12 at 15:05
@GUIJunkie After creating a new partition, you can set boot flag in that partition by selecting it, right clicking and selecting "manage flags" from the menu. Boot flag is for a Windows OS afaik. Grub doesn't need boot flag. – Anwar Shah Sep 14 '12 at 15:08
@GUIJunkie You can't join the two partition if another partition exists between them. I suggest you to ask another question after doing the deletion stuff – Anwar Shah Sep 14 '12 at 15:09
OK, the old partition and Grub2 entry are gone :-) – GUI Junkie Sep 14 '12 at 15:20

Your Answer


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.