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.
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.
I'm not sure, the last time I installed I selected GRUB to be put on hda. However, perhaps in naivte, I have told the installer to put GRUB on hdb before. Will this be a problem, and how can I double check from the bash prompt? Thanks again for the quick responses and all the help.
Do I need to physically switch the hard drives, or will using the grub map command thing mentioned earlier do the trick? I didn't really understand what the intention of the suggestion about the map command was before, but after looking around a bit I think the idea is to make it think the slave is the master and vice versa. Another quick question before I actually try it... forgive my newbishness, but I want to make sure do either of these things (the physical switch or just the switch through the prompt) will not wipe out any of the data/programs/etc. that's already on my XP partitions? And is there another way of doing the switch that you had in mind?
I tried three things, none of which worked.
1)First I disconected my original master (the one with XP) and made my original slave the master. Trying to boot with only the second hard drive gave me the following:
Error loading Operating System
2)Second I disconnected my original slave (the one with FC2, 80GB) and tried booting with only my 60GB with XP as the master; this yielded the same problem that I've been having:
GRUB_
All it prints is GRUB with the blinking underscore
3)Last I tried switching the two, making the slave the master and the master the slave. This gave the same results as the first try:
Error loading Operating System
(all three times I still could get to the linux rescue mode if I wanted to)
I'm going to switch back to the original state since none of these seemed to yield an improvement (60GB w/XP = master; 80GB w/FC2 = slave).
BTW, before making the switch I tried editing my grub.conf file to look like this:
default=1
timeout=10
splashimage=(hd1,1)/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
root (hd1,1)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title DOS
map (hd0) (hd1)
rootnoverify (hd0,1)
chainloader +1
but it did not change anything. Did I use the map command correctly, did I misunderstand something, or did it not do anything because I can't get to the GRUB screen in the first place? Anyways, I've changed grub.conf back to how I posted it earlier, so basically I'm back where I started . At least I've learned a few things along the way so far though. Thanks for the help thus far.
Any other ideas/pointers would be much appreciated.
Sorry to double post but some new developements...
maybe I mistyped before, or it just didn't work for whatever reason, but I tried installing grub again using:
grub-install /dev/hda
and it worked, sort of. Running the above it told me the installation finished with no errors reported. It also told me my /boot/grub/device.map looks like this:
#generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
and said that if it is wrong (the device.map) that I should edit it, and run the grub-install command again.
After I installed it I rebooted and got the following:
GRUB Loading Stage 1.5.
GRUB loading, please wait...
Error 21
and it hung right there, any ideas? I'm going to be looking around for solutions to this new (to me at least) Error 21 in GRUB.
In case you didn't read the previous post I basically said physically switching the harddrives in any way didn't seem to work.
Thanks again for the help so far, hoping to still get help.
I had this problem with my Dell when I got my 2nd hard drive. When you boot up, go into setup (F2). Go down to the hard drive options. Is there an entry for your second hard drive? If not, change the entry for your second hard drive to "auto", the save and reboot. All should work well.
Oh so very many thanks . This has indeed solved the problem. For any future people looking at this to solve a similar problem:
Situation:
Dualboot XP/FC2
XP on hda
FC2 on hdb
Symptoms:
prints the following after BIOS-
GRUB_
Solution:
In BIOS setup make sure your second drive is recognized. If not change it to AUTO (select the second hard drive, press <Enter>, cycle through options until AUTO is selected). Then save/exit and reboot and it should work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.