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 successfully installed ubuntu 12.10 on a second internal HDD on my Dell box (Win 7 being on the other HDD). Initially had to run boot repair to get the grub menu to display on boot up - after that all runs fine (no matter which HDD i select to boot from, the machine shows the grub menu on startup). Problem: When I remove my second HDD from the box and start up the machine (leaving the Win 7 HDD in) the grub menu fails to show and I get a "Grub Rescue >" prompt and a device not found (or similar) message. How can I set the machine up so if the second HDD is removed (or has failed) I can still boot into Win7 either directly or via a functioning Grub menu (that would only give me a fail message if I selected "Ubuntu" from it because that disk has been removed)?

share|improve this question

1 Answer 1

The Windows 7 MBR on your 1st hard drive has been overwritten. To restore it, run the following command from the Windows 7 DVD: d:\boot\bootsect.exe /nt60 all. If you reinstall the 2nd hard drive and want to see the GRUB menu, set your BIOS to boot that drive first. Hope this helps.

share|improve this answer

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.