Grub rescue if Ubuntu USB not plugged in

grub2rescueusb

I have my Ubuntu installed on a USB drive, and to log into Windows I need to have it plugged while booting, or I get the Grub rescue prompt.

When the USB drive is plugged in, I get the Grub menu from which I can choose Windows.

Ubuntu 13.04 on the USB, Windows Vista on :C

Best Answer

You installed the first stage grub loader to the mbr of the hardrive and put the rest of grubs files in your boot partition on the usb drive. To do what you want you need to put grub onto the mbr of the usb drive, repair the mbr of the windows drive (vista equivalent of fdisk /mbr) and change your boot order to boot from usb first, if present, then hard disk.

Related Question