LinuxQuestions.org
Help answer threads with 0 replies.
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 02-24-2007, 08:11 PM   #1
hanscom
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Rep: Reputation: 0
"Grub" is displayed in dual-boot dual-drive Win xp and Fedora 6 installation


I used these instructions to get my system to dual-boot:
"Convert a Windows system to dual-boot Linux on a second drive
by Philip J. Hollenback
Originally published on February 21, 2005 at Newsforge"
It is coming up with:
1. WIn XP and
2. Fedora
as selections. When I time out or select Win XP it is fine and starts Win XP, but when I select Fedora i get "GRUB" displayed in upper left-hand of monitor and stops .... locks.
I assume it is working but trying to start Grub. Do I need to bypass Grub somehow or am I all washed up ? Thanks.
 
Old 02-24-2007, 08:52 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,483

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Using ntldr like that requires that you installed grub to the partition rather than MBR. Did you do that ?.
 
Old 02-25-2007, 06:27 AM   #3
hanscom
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
I installed Fedora 6 to the partition. Would that not add Grub to the same ?
How would I check ?
Additional info: not sure this is useful:
If I switch the jumpers on drives so the master and slave drives are switched then Linux starts up fine.
Thanks, my first post.
 
Old 02-25-2007, 06:42 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,483

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Nope.
And your additional info is certainly useful. (always add everything - even if you don't think it's relevant).
You shouldn't need to play with the jumpers, just do it in the BIOS - much cleaner, and less liklehood of accidents.
Does XP boot from the (switched) FC6 environment ???. Let's see the output of
Code:
cat /boot/grub/menu.lst
 
Old 02-25-2007, 06:55 AM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Try boot XP manually and then include it as a permanent setting if satisfied

Steps

(1) Arrange Fedora to boot up first
(2) At Grub booting screen do not choose system to boot but press "c" key to get a Grub prompt
(3) Boot XP manually by command
Code:
root (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
boot
(4) If thing works out include the above into Fedora's /boot/grub/grub.conf with an extra statement at the front
Code:
title XP installed in master now boots from slave (2 map statements to switch disk order)
Grub use /boot/grub/menu.lst universally in every Linux but Fedora has /boot/grub/grub.conf symbolic-linked to it too.

Last edited by saikee; 02-25-2007 at 06:58 AM.
 
Old 02-25-2007, 01:40 PM   #6
netsupremacy
LQ Newbie
 
Registered: Nov 2006
Distribution: SuSE 10.1, Fedora 4, dyne:bolic 2.3
Posts: 19

Rep: Reputation: 0
i installed fedora from some scratched disks and got that too...

one thing also to do would be to boot rescue mode (from FC cd) and run fdisk on it

and make sure the CDs you installed from (assuming that it was you installation medium) are not scratched, ive noticed with linux disks even the most miniscule marks have a dramatic effect...
 
Old 02-26-2007, 03:46 PM   #7
hanscom
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
[QUOTE=syg00]
Does XP boot from the (switched) FC6 environment ???.
If you are referring to selecting the Linux when asked which system to boot the answer is "It works". When I request Win XP it says:
"booting Win XP
rootnoverify(hd1,0)
Error 21 selected disk does not exist"

Note:
I was getting "grub" and locking up before I did this as suggested by 'saikee':
root (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
boot

Output of Code: cat /boot/grub/menu.lst
------------------------
# comments
default=0
timeout=5
splashimage=(hd0,0) /grub/splash.xpm.gz
hidden menu
password ------------------------ left out by me
title Fedora Core (2.6.18-1.2798.fc6)
root(hd(0,0)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/
VOlGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img
title Win XP Professional
rootnoverify(hd1,0)
chainloader +1
------------------------
Thanks
 
Old 02-26-2007, 04:18 PM   #8
hanscom
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
[QUOTE=saikee]I tried these(manually in shell) and it said it was looking for bios devices, I believe, and could take a long time. (Sorry I lost that window and wound not let me do them again. ) So I waited and nothing. However it does not give the "grub" on starting Win XP now but:
"booting Win XP Professional
rootnoverify(hd1,0)
Error 21: selected disk does not exist "
Thanks
 
Old 02-26-2007, 05:16 PM   #9
wpn146
Member
 
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
[QUOTE=hanscom]
Quote:
Originally Posted by saikee
I tried these(manually in shell) and it said it was looking for bios devices, I believe, and could take a long time. (Sorry I lost that window and wound not let me do them again. ) So I waited and nothing. However it does not give the "grub" on starting Win XP now but:
"booting Win XP Professional
rootnoverify(hd1,0)
Error 21: selected disk does not exist "
Thanks
hd1 would be your 2nd drive. They start counting at hd0.
 
Old 02-26-2007, 07:39 PM   #10
hanscom
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
[QUOTE=wpn146]
Quote:
Originally Posted by hanscom
hd1 would be your 2nd drive. They start counting at hd0.
I realize hd1 is 2nd drive and this is where I have Win XP.
My Win Xp was set up using mbr. I thought hd(1,0) was the 1st sector in dr2. Maybe you could tell me if the mbr is found here or at another sector ? Or maybe tell me I'm all messed up in my thinking.
Thanks

Last edited by hanscom; 02-26-2007 at 08:04 PM.
 
Old 02-28-2007, 11:48 AM   #11
hanscom
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Smile

[QUOTE=saikee]Try boot XP manually and then include it as a permanent setting if satisfied

Steps

(1) Arrange Fedora to boot up first
(2) At Grub booting screen do not choose system to boot but press "c" key to get a Grub prompt
.
.

I tried to do step 2 from a shell once working in Linux rather than doing exactly as I was told. I learned I was at the wrong timing maybe !
I now have the same menu coming up reversed and have to select 1st item "Win Xp" or let it time out to do itself I expect. Not a problem. At least it works. Just wanted to say thank-you to all who helped me !
 
  


Reply

Tags
dual boot, fedora, win, xp


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
"Error booting operating system" Repairing GRUB. SUSE 10.2 and XP dual boot Arma12 Suse/Novell 11 01-28-2007 05:26 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 06:26 AM
How to "dual boot" linux (debian) and Freebsd using Grub? hkl8324 Debian 4 06-15-2005 03:32 PM
I Dual Boot, Is there Compatable "Drive imaging" that works with linux joncolby Linux - Software 6 06-21-2004 04:11 AM
Seeing Linux as a "Drive" from Windows OS on a dual boot System teclipse Linux - Newbie 4 09-29-2003 11:19 AM


All times are GMT -5. The time now is 12:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration