I installed linux on an external drive, and now I can't boot
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 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!!
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.