LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 10-08-2008, 06:15 PM   #1
ebmelle
LQ Newbie
 
Registered: Jun 2004
Location: Florida
Distribution: Ubuntu Linux 64 v9.04
Posts: 3

Rep: Reputation: 0
Question Can't boot laptop if USB ext disk w/Ubuntu 8.04.1 installed, not attached.


I created a 100 GB partition on a WD Elements USB drive, and Installed UBUNTU 8.04.1 to that partition. It works fine! Problem is that Grub will not permit booting other operating systems on the ACER notebook if the USB drive is not connected. How, can I make the USB drive presence optional?
 
Old 10-08-2008, 06:40 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
You'll need a boot partition with the relevant grub files on it on the laptop's internal hard drive.
 
Old 10-08-2008, 07:07 PM   #3
ebmelle
LQ Newbie
 
Registered: Jun 2004
Location: Florida
Distribution: Ubuntu Linux 64 v9.04
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

Thanks! I edited /grub/menu.lst on the USB drive to go directly to the XP on the laptop. The laptop now has XP on a 'C' partition, and another installation of Ubuntu 8.04.1 on it's 'D' partition.
The /grub/menu.lst in this copy of Ubuntu has the choice of booting XP or either copy of Ubuntu, but to get there, the USB drive has to be connected.
I assume that the MBR has an entry that require the presence of the USB drive? So I guess the question is; how do I make that optional or not required?
Thanks again for any assistance!
 
Old 10-08-2008, 07:17 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Make sure you do a grub-install that refers to the menu.lst off the internal drive. You might need to specify --root-directory with grub-install. Grub's probably looking for the stage1.5 file and hanging there.
 
Old 10-08-2008, 07:18 PM   #5
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,679

Rep: Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733Reputation: 733
I expect your mbr does have an entry which requires the usb drive. When you installed Ubuntu to the external, the default install of Grub would be to put the stage1 file in the mbr of the first bootable device which would be your laptop drive. Unless you specifically changed this, that's what happened.

If you want to boot the laptop without the usb attached drive, you need to re-install Grub and point it to whatever partition your Ubuntu is installed on in the laptop.

You could also boot both from xp but that takes a little more effort. Post the output of 'fdisk -l', have the external attached when you run this command (as root, lower case letter L). Someone should be able to then give you a specific instruction on how to install Grub.
 
Old 10-10-2008, 03:46 PM   #6
ebmelle
LQ Newbie
 
Registered: Jun 2004
Location: Florida
Distribution: Ubuntu Linux 64 v9.04
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks again both! Still in the same 'boat'. Tried fixing grub by reinstalling it, but the Ubuntu installation on hd0,2 was as an app running under Windows, so had no stage 1 or 1.5 to be found. Result was that hd1,1 had to be used, resulting in a grub identical to the original.
I speculate that I shall have to uninstall the current copy running as an app, and reinstall to hd0,2 from the 8.04.1 CD, with the USB drive disconnected? Or possibly 'repair' the Windows XP using it's CD, and possibly loosing the function of the copy on the USB drive ???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help - Installed Ubuntu on USB disk now my XP will not boot from the internal Festiva_tunner Linux - Newbie 17 06-14-2008 04:39 PM
Boot Loader issue : Installed to USB Hard disk :( chittu Linux - Newbie 5 05-15-2007 09:34 AM
Installed Mandriva On external HD, now Laptop won't boot without EXT. HD Plugged in. Chief_Leavitt Mandriva 2 03-05-2007 03:11 PM
Sharing USB Ext Disk -- can only Write as ROOT ( Hotplug ??) 1kyle Linux - Networking 4 08-12-2004 11:01 AM
How to install Red Hat 9 on ext. USB hard disk? nedaf7 Red Hat 3 03-24-2004 07:15 PM


All times are GMT -5. The time now is 07:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration