LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-07-2007, 03:22 PM   #1
bruce_johnson
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
laptop with linux on external hard drive


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.
 
Old 11-07-2007, 04:33 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
 
Old 11-07-2007, 06:28 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
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.
 
  


Reply

Tags
drive, external, grub, hard, laptop, linux, mbr, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
Laptop DVD drive has died, will linux boot from an external drive? Stevetgn Linux - Newbie 2 05-14-2005 05:18 PM
laptop XP/LINUX external hard drive v2010 Linux - Laptop and Netbook 1 02-15-2005 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration