LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2004, 11:01 PM   #16
Ziklen
LQ Newbie
 
Registered: Aug 2004
Location: CA
Distribution: FC2/Win XP
Posts: 13

Original Poster
Rep: Reputation: 0

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.
 
Old 08-25-2004, 12:29 AM   #17
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
do one thing
make ur prmiary master as primary slave and vice versa(hda===hdb)
and then install grub on hda


regards
gaurav
 
Old 08-25-2004, 01:05 AM   #18
Ziklen
LQ Newbie
 
Registered: Aug 2004
Location: CA
Distribution: FC2/Win XP
Posts: 13

Original Poster
Rep: Reputation: 0
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?

Thanks again for the quick help.
 
Old 08-25-2004, 01:13 AM   #19
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
i haven' t used any map command

what u can do is remove ur windows Xp drive physically(remove the power cord from it)

then keep just ur linux drive as primary master
see if grub runs fine on that, reinstall grub if required

and try out variuos things,at least ur windows Xp drive has been removed so need not worry about that.....

if this works out
keep us posted

regards
gaurav
 
Old 08-25-2004, 12:50 PM   #20
Ziklen
LQ Newbie
 
Registered: Aug 2004
Location: CA
Distribution: FC2/Win XP
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 08-25-2004, 02:41 PM   #21
Ziklen
LQ Newbie
 
Registered: Aug 2004
Location: CA
Distribution: FC2/Win XP
Posts: 13

Original Poster
Rep: Reputation: 0
Update

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.
 
Old 08-25-2004, 03:08 PM   #22
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
the eror is coming because it is looking for hd1--primary slave but we have made the slave as mster
so put on Xp drive as master again

and with xp as master and other a slave
again run the above command and post the output here

regards
gaurav
 
Old 08-25-2004, 03:43 PM   #23
Ziklen
LQ Newbie
 
Registered: Aug 2004
Location: CA
Distribution: FC2/Win XP
Posts: 13

Original Poster
Rep: Reputation: 0
Actually I had already switched it back to XP=master, FC2=slave, before I ran grub-install.

According to http://www.uruk.org/orig-grub/errors.html Error 21 during Stage 1.5 is:

Quote:
21 : "Unknown boot failure"
This error is returned if the boot attempt did not succeed for reasons which are unknown.
So...I'm still not sure what to do, still looking though. Any other ideas? Help is much appreciated.
 
Old 08-25-2004, 04:10 PM   #24
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
what i think may be the problem is
the "dell utility" u have

regards
 
Old 08-25-2004, 04:23 PM   #25
NumbSkullMD
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10.0
Posts: 17

Rep: Reputation: 0
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.

 
Old 08-25-2004, 04:27 PM   #26
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

if tha above post works then this implies was dell not detecting ur hard drive????quite frustating.....

hope the above solves ur problem

regards
gaurav
 
Old 08-25-2004, 04:47 PM   #27
Ziklen
LQ Newbie
 
Registered: Aug 2004
Location: CA
Distribution: FC2/Win XP
Posts: 13

Original Poster
Rep: Reputation: 0
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.

Thanks for all the help, and happy hunting .
 
Old 08-26-2004, 12:40 AM   #28
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there
generally we do not have this setting from the bios of not detecting the hdd, it is usually set to auto

but this was a learning experience ,WILL see to it that this does not pose any problems.. further
regards
 
  


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
Grub dual boot problems degraffenried13 Linux - General 3 12-08-2004 09:14 AM
FC2 andWin XP dual boot ...grub tumblin_dice Fedora 1 11-04-2004 09:28 AM
grub.conf - Trying to dual boot XP and FC2 LogicNZ Linux - Newbie 4 07-01-2004 03:01 AM
Scared to install FC2 (due to these dual-boot problems). XD Cesar Ocasio Fedora - Installation 3 06-12-2004 01:56 PM
winXP / FC 2.4 GRUB Dual boot problems again jjisnow Linux - Newbie 4 03-23-2004 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration