LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu on USB drive, XP on main drive. Grub 21 error (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-on-usb-drive-xp-on-main-drive-grub-21-error-605629/)

steste 12-09-2007 01:32 PM

Ubuntu on USB drive, XP on main drive. Grub 21 error
 
Hi,

I recently installed Ubuntu on an external hard drive (connected via USB). Upon reboot GRUB comes up with the options of Ubuntu or Windows XP. No problem there.

However if I have my USB drive unplugged I get a GRUB 21 error and cannot boot into anything!

I understand this to be because Ubuntu has overwritten the boot record on My C:drive and it now looks explicitly for the removable hard drive.

Is it possible for me to set this up so that if the external harddrive is removed Windows boots up as normal and if it is plugged in I can use Ubuntu?

Thanks in advance,

steve

Agrouf 12-09-2007 03:10 PM

Install grub on the windows partition :
http://www.geocities.com/lode_leroy/grubinstall/


All times are GMT -5. The time now is 11:01 AM.