LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-09-2004, 07:49 AM   #1
WizzKid
LQ Newbie
 
Registered: Nov 2004
Location: baltimore, MD
Posts: 2

Rep: Reputation: 0
I installed linux on an external drive, and now I can't boot


Ok so I have a machine that I am running XP on and I plugged in a usb external drive and attempted to install linux RH9 on the drive everything seemed to go fine with the install. The drive was recognized and all that good stuff. I also installed the grub bootloader.
When the installation was done, I created a boot disk and attempted to first boot back into windows, but I get nothing. I now get an error that says 'GRUB error'. So then I tried to boot into the drive with linux on it using my boot disk but that gives me an error as well (something about the init file and that I should try passing init????). So bottom line, now I can't boot into neither windows nor linux. WHAT DO I DO? I really don't care about the drive with linux on it, but I need to get to my windows drive. How can I uninstall the grub bootloader since that seems to be the problem?
I tried re-installing linux on the external drive again and this time not installing a bootloader... didn't make a difference. I still get the same errors. Please help!!
 
Old 11-09-2004, 08:12 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,808

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
To remove the bootloader from the MBR, boot the XP install CD and select recovery mode. Then run the fixmbr utility.

The problem with the external drive is due to the fact that the USB modules are not loaded prior to the OS trying to mounting the filesystems. You need to add the USB modules to the initrd (initial ramdisk) or patch the kernel.

There are a few threads on the website discussing this issue.

http://www.linuxquestions.org/questions/history/160834
http://www.linuxquestions.org/questi...at+usb+install
 
Old 11-09-2004, 08:40 AM   #3
WizzKid
LQ Newbie
 
Registered: Nov 2004
Location: baltimore, MD
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for your advice, but how do I add the USB modules to the initrd. do i do this by using the RH cd's rescue mode?

thanx
 
Old 11-09-2004, 08:15 PM   #4
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
wizzkid; try looking at the howto,s first . to comprehend what it is u need to do prior to activating any device before knowing how to. that is my suggested advice.
http://tldp.org/HOWTO/HOWTO-INDEX/html
open(expand) the sections & subsections pertaining to ur devices for a good insight and remedy.
 
Old 11-09-2004, 08:37 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,808

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Actually, I do not know if rescue mode will load the USB drivers.

Boot the rescue mode and hopefully the root partition will be mounted at /mnt/sysimage. If not then try to do it manually.
You will want to execute the following command
chroot /mnt/sysimage.

The follow the steps to build a new initrd.
 
  


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
Laptop DVD drive has died, will linux boot from an external drive? Stevetgn Linux - Newbie 2 05-14-2005 05:18 PM
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 09:34 AM
External 2.5" hard drive for linux boot? roboticservo Linux - Hardware 1 10-19-2004 12:00 AM
Can't boot Linux from external pcmcia drive on Latitude C840... need help. LaptopLinux Linux - Laptop and Netbook 1 04-18-2004 06:38 PM
Boot Yellow Dog Linux From A External FireWire Drive frugle Linux - General 0 10-29-2003 08:36 PM


All times are GMT -5. The time now is 05:55 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