LinuxQuestions.org
Visit Jeremy's Blog.
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 05-14-2007, 12:14 AM   #1
chittu
LQ Newbie
 
Registered: May 2007
Posts: 2

Rep: Reputation: 0
Question Boot Loader issue : Installed to USB Hard disk :(


Hi, This is chittu and an absolute newbie to Linux installation. Got myself into serious trouble with my Linux installation.

What I did:
-----------

1. Installed Linux (Kubuntu) to a detachable hard disk (USB).
2. The boot loader I think was written to this hard disk.

The problem:
------------
I cannot boot my PC without the USB hard disk attached. I am having to carry the disk all over the place .

Gone through some of the queries on grub, but did not get much out of it. Most likely that is got some thing to do with my ability to understand whats written there.

Help I Need:
------------
1. How do I move the loader to the main hard disk?
2. Will all the OS on my system be usable after this transfer? (I understand that I will need to put in the USB HDD to be able to use my Linux installation.)

Pleeeeaasseee Heeeelppp.

Last edited by chittu; 05-14-2007 at 03:41 AM. Reason: Adding Tags
 
Old 05-14-2007, 08:25 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
It seems more likely that grub was installed to the first drive (internal), and that it cannot find its files when the USB drive is disconnected.
What happens when you attempt to boot up?
What else is installed on this machine?
 
Old 05-14-2007, 08:32 AM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Grub needs to be able to read the /boot/grub/menu.lst file in order to work. While this is often a good thing, in a situation like yours it's a bit of a drawback when the disk containing that file isn't connected.

Perhaps Lilo would be a better choice for this type of installation as it only needs to read the config file when it's installed or updated, and is self-contained at all other times.
 
Old 05-15-2007, 05:38 AM   #4
chittu
LQ Newbie
 
Registered: May 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Question Boot Loader issue : Installed to USB Hard disk :(

> pixellany

Not really sure how I could find out where GRUB has been loaded and what it is missing. But it gives and "Error 21" on boot up and from what I could find out this basically means a missing disk.

How can I make sure that GRUB and all its requirements are on the main hard disk and not on any detachable disk? Is there a configuration or installation step i need to follow for that.

Since I have just installed Kubuntu and not stored anything on this partition I can re-install, if that helps (?)
 
Old 05-15-2007, 07:44 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
This may help. GRUB needs to be pointed to a partition to find it's files. I have always assumed that this must be a Linux partition, but I can't say that absolutely.

You can create a small Linux partition on the main drive and put the essential GRUB stuff there. GRUB will have to be re-installed since it gets "hard-coded" to point to its "home base".

What is on the main disk? Would it maybe be easier to setup dual-boot with Linux on the main drive?
 
Old 05-15-2007, 09:34 AM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
This might help, too.

http://www.linuxquestions.org/questi...d.php?t=549353

I had given another user some help with the same issue - an issue I recently experienced for myself.

Post #6 is the instructions for putting GRUB onto the USB disk. More details are in #12. Post #9 is how to fix the MBR of the internal disk.
 
  


Reply

Tags
boot, loader, partition, sector, transfer


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
Installed RHEL in external hard disk.Cannot Boot. z96 Linux - Enterprise 1 03-25-2007 11:28 AM
Can I boot Linux From a USB Hard Disk? costasm Linux - Software 25 05-31-2006 11:16 AM
Boot Loader needed for Windows x64 / RHEL 4 WS/ S-ATA Hard Disk I_M_Tired_Of_XP Red Hat 5 07-19-2005 01:31 AM
Creating Boot loader disks rather then installing GRUB to hard disk?? barry237 Fedora 1 06-19-2004 10:52 AM


All times are GMT -5. The time now is 02:15 PM.

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