Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 can't believe what happened. I had Ubuntu 11.10, I installed 10.04 a few days ago, I used it, everything was perfect. Today I installed WIndows 7, I opened Ubuntu and it loaded 11.10 not 10.04!!!! Please help me, my all files might disappeared!!! Please!!! :(

share|improve this question
please add the results of the bootinfo script: – fossfreedom Dec 23 '11 at 17:37
Did you try loading other Ubuntu versions present in the Grub menu? – Nitin Venkatesh Dec 23 '11 at 17:40
@fossfreedom: Will do, please don't go... Unbelievable... – mrSuperEvening Dec 23 '11 at 17:41
@fossfreedom: I've added it. – mrSuperEvening Dec 23 '11 at 17:42
wow that was fast... but you added the script itself - you need to run it! instructions here if in doubt... – fossfreedom Dec 23 '11 at 17:45
up vote 1 down vote accepted

ok, from your sourceforge results you have the following situation (correct me if I'm wrong)

You have installed 11.10 as a wubi install inside windows.

Windows has taken control of the master boot-record and thus you are no longer booting with Grub2 but with the windows boot loader - hence you are dual booting just 11.10 and windows.

Your 10.04 install is installed in partition /dev/sda5.

My suggestion would be to reinstall Grub2 - I've reiterated what Scott has already written (adjusted for your situation)- please give some credit to Scott!

  1. Boot from the live CD.

  2. Mount your partition:

    sudo mount /dev/sda5 /mnt  
  3. Bind mount some other necessary stuff:

    for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt$i"; done
  4. chroot into your Ubuntu install:

    sudo chroot /mnt
  5. At this point, you're in your install, not the live CD, and running as root. Update grub:

  6. If everything worked without errors, then you're all set:

    sudo reboot
  7. At this point, you should be able to boot normally.

By reinstalling Grub2 - Grub will then be updated with your Lucid/Windows & Oneiric installs - you should then be able to select which O/S to boot with.

share|improve this answer
Additionally, if you want to uninstall Wubi (the Ubuntu 11.10, in your case), you can do it through the "Control Panel > Programs and Features" ( – Lie Ryan Dec 23 '11 at 18:53
@fossfreedom: How to reinstall grub2? – mrSuperEvening Dec 23 '11 at 19:02
... ok - just to make very clear... I've copied scotts instructions into my answer but have changed sda2 to sda5 – fossfreedom Dec 23 '11 at 19:07

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.