I have an internal hard disk of 80 GB in it, I've installed Windows 7. In another External Hard Disk of 1 TB, I've installed Ubuntu 18.04 in a 125 GB Partition. Well this ext hard disk get faulty at times to my PC won't recognize it. When it's so, it is showing entering grub rescue mode and it waits for my command. So literally I can't go to Windows without my ext hard disk.

What I wish to do is to boot the Windows in my internal hard disk even when the external hard disk is unplugged.

PS I'm willing to reinstall my Ubuntu but I don't want to lose any data in my internal Hard disk.

  • 1
    Remove the ext disk, boot from Windows usb install media and run Windows boot repair process – cmak.fr Jul 3 '19 at 8:36
  • When i turn on the PC after removing ext hard disk, it goes to grub rescue mode :( – Tom Vempala Jul 3 '19 at 8:37
  • 1
    re-read : boot from Windows usb install media and run Windows boot repair process – cmak.fr Jul 3 '19 at 8:39
  • Ohk.. sorry sir. I'm not much of an expert in this that's why. I'll try that.. Thanks anyway :) – Tom Vempala Jul 3 '19 at 8:41
  • You need to install grub to sdb, external drive and install a Windows boot loader to sda, the internal Windows drive. Often easier with Boot-Repair but you can just do it from the terminal also. Use advanced mode & choose operating system and drive: help.ubuntu.com/community/Boot-Repair & sourceforge.net/p/boot-repair/home/Home – oldfred Jul 3 '19 at 15:26

It seems that your GRUB menu has been destroyed... Try to do that:

  1. type ls in grub rescue mode to see all directories. you should see something like this: (hd0), (hd0,msdos5)...

  2. if you have partitions, try to see which partition is what with ls (directory)

  3. if you found your linux/ windows partiton, set it as root: set root=(partition)

  4. then do: set prefix=(partition)/boot/grub

  5. now type insmode normal

  6. in the end, type normal and reboot your system.

Now your ubuntu/windows should boot and your grub should be repaired. Note to do not space between, e.g.(hd0, msdos5), or you will get an error!

Not the answer you're looking for? Browse other questions tagged or ask your own question.