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.

I have a laptop on which I had Win 7 and Ubuntu 12.04 installed. The hdd has two partitions (one primary and one extended). Grub wasn't loaing initially so I ran the boot disk repair tool which seemed to sort it out. However, I mistakenly removed python (long story) from the Ubuntu OS and this obviously messed up Ubuntu a lot. So I decided to reintsall both Win7 and Ubuntu 12.04 in an attempt to get things back fresh. Win 7 went fine, but now when I try and use the Live USB to install Ubuntu I get:

error: no such device:

grub rescue >

I guess grub is still there despite the Win 7 reinstall and it can't find the partition for Ubuntu (which I deleted prior to the fresh install).

I have tried fixmbr in windows console and the boot-repair-disk utility, but no joy. I cannot boot the live usb so no access to linux.

A real mess.

Any suggestions from the community?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

On one occasion I had Ubuntu installer to mistakingly install GRUB on the flash drive instead of the HDD - the machine only booted while the flash drive was plugged in.

I would try booting to Windows and re-creating the LiveUSB to make sure you don't have GRUB installed on it by the previous install.

share|improve this answer
    
Amazing! That was it. Haven't heard of this issue before. Thanks very much! –  Sam Sep 20 '12 at 2:49
    
If this solves your problem you can mark the answer as accepted. –  Sergey Sep 20 '12 at 2:52
    
Done. Thanks again. –  Sam Sep 20 '12 at 4:04

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.