Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Lenovo laptop with XP loaded on the c: drive and linux running on an external hard drive. I primarily use XP with this machine, and everything works great when dual booting. My problem is that booting hangs with the external drive disconnected. I sometimes travel and do not want to take the external drive with.
When I boot the laptop with the external hard drive disconnected, the boot seems to hang with "GRUB" printed to the screen.
Ideally, I would like to be able to boot into XP when the hard drive is disconnected. I sense that I made an installation error with the location of the master boot record, and GRUB is not able to find it with the disk drive disconnected.
If not, it seems that one option is to recreate the master boot record on the c: drive with "fdisk /mbr". But being new to linux installation, I wanted to check on what options I may have to maintain the dual boot.
Is your laptop new enough that it has a boot from USB option in the BIOS?
If it does, I'm pretty sure you should be able to move GRUB to the MBR of the USB drive and restore the internal hard-drive's MBR to Windows. That way, you would hit the boot options key when the computer is booting and choose USB if you wanted Linux. If you didn't do anything, then it should boot to Windows.
You'll have to read the GRUB documentation to find out how to move it, unless somebody who knows replies.
Hook up the external USB disk and boot up the Linux.
Edit /boot/grub/menu.lst and put a "#" at the beginning of the line "splashimage=????????". Save the file and you will be able to remove the external disk in future bootings.
Explanation
Grub has been asked to load a splashscreen image stored in the external hard disk. No external hard disk and Grub doesn't know what to do. You will do the same if you were Grub.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.