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 windows 8 on my computer and ruined my Ubuntu partition. Now I can't get my Grub to come up. Here's the catch, I installed Ubuntu inside windows and I even tried the fix that was given on the forums right here, Dedicated GRUB2 Partition and Windows 8.

That didn't work. Would a complete reinstall of Ubuntu be the only fix? I'm totally lost and I'm already getting sick and tired of Windows 8 :p.

share|improve this question
Welcome to Ask Ubuntu! When you say you "installed Ubuntu inside Windows", do you mean you used the Wubi installer? – Christopher Kyle Horton Dec 5 '11 at 0:21

Your situation is solved by reinstalling grub. For this you need to boot from your Ubuntu live CD and opening the terminal will allow you access to reinstall grub.

Here is some documentation.

share|improve this answer
I tried this, but I kept getting this: sudo grub-install --root-directory=/mnt /dev/sda2 /usr/sbin/grub-probe: error: cannot find a device for /mnt/boot/grub (is /dev mounted?). I even tried boot-repair, but it would only let me repair MBR because all of my partitions are technically windows. – Logan Yerbey Dec 5 '11 at 0:48

Don't worry! I've had this exact same problem before! Your installation is fine!

Simply boot into your computer using your Live CD (and also back-up files if you wish to do so now). Then, reinstall or update your GRUB.

share|improve this answer

Dont panic.When you install Windows, Windows assumes it's the only OS on the machine—or at least it doesn't account for Linux. So, it replaces GRUB with its own bootloader.

What you have to do is to replace the Windows bootloader with GRUB. Simply chroot into your install and run update-grub.

Here's how: How can I repair grub? (How to get Ubuntu back after installing Windows?)

See this as well Similar question on

share|improve this answer

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.