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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Here's my situation. I have 2 hard drives on my computer. The first drive is entirely Windows XP (FAT 32). The 2nd drive is split; 10 G with Windows NTFS; and 10 G with UBUNTU Linux. This second drive is a removeable HD.
I have GRUB set up to give me dual boot capabilties - that is working just fine, as long as these two drives are installed in the computer.
Now, when I take out the 2nd drive and replace it with a windows FAT32 drive that I need data from, Grub doesn't work. I expected it to show me the boot options, and would still let me choose the Windows boot, even though the Linux stuff wasn't available on the system. Then I could read my replacement 2nd drive. No such luck. I get errors and then the system goes on to try to boot from other devices based on my BIOS sequence, I guess.
I wonder if there is an easy way around my boot problem, for the few times I need to install the replacement (Windows only) 2nd HD. Do I need to make a bootable floppy? (If so, how?)
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
I think you'll find that Grub is keeping it's configuration files on the Linux partition and when pull the second drive from the system, you've pulled the Grub config files with it. That is why you can't boot without the Linux drive installed in the system.
That's what I suspected. Makes sense. Is there anything I can do, like creating a boot floppy with the needed boot commands? I don't know how to set up Grub. Ubuntu did it for me when I first installed Linux. BTW, my system is running Ubuntu 5.10.
Another option would be to install lilo instead of grub into the master boot record of the first hard drive.
Lilo writes all of it's configuration data onto the master boot record, so it will have no need of external config files and should boot no matter what you have as your second hard drive.
There's another option if you have any unpartitioned space left on the first hard drive. You won't need much.
You could make a linux partition with that free space and use that as your /boot instead. It would then store all the config files that are currently stored on your second hard drive.