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!!! :(
1 Answers
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!
Boot from the live CD.
Mount your partition:
sudo mount /dev/sda5 /mntBind mount some other necessary stuff:
for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt$i"; donechrootinto your Ubuntu install:sudo chroot /mntAt this point, you're in your install, not the live CD, and running as root. Update grub:
update-grubIf everything worked without errors, then you're all set:
exit sudo rebootAt 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.
- 174,526