LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-29-2004, 10:58 PM   #1
CAL
Member
 
Registered: Apr 2004
Location: California
Distribution: Fedora Core 2
Posts: 31

Rep: Reputation: 15
Adding Windows XP to Grub


Hello, I am pleased to say that I am back running Linux again. This time, Fedora Core 2! I am pleased with its very easy install and initial workings such as automatic network detection etc. My 2 questions involve Grub at this point:

1.) How do I add Windows XP to the Grub Bootloader?

2.) I upgraded to the latest kernel, but it does not load under Grub. When I load the default (older) kernel, it works fine. Furthermore, it says that the new kernel is installed and ready to use. This cannot be right. I tried to boot the new kernel and it hangs under the "probing new hardware" phase.

Help please
 
Old 07-30-2004, 12:19 AM   #2
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Rep: Reputation: 30
to add xp to your grub loader edit the /boot/grub/grub.conf or /boot/grub/menu.lst and add the following

title Windows
root (hd0,1)
chainloader +1
where I use (hd0,1) because is my hd0 is mi first drive and the number 1 indicates the secodn partition, for example if you want you second drive and your 3rd partition you should put (hd1,2)
Hope this helps
And regarding your kernel problem maybe you did not install the right kernel for your machine
 
Old 08-07-2004, 01:06 AM   #3
Vorbizz
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora Core 2
Posts: 7

Rep: Reputation: 0
Shouldn't it be rootnoverify ?

Quote:
title Windows XP
rootnoverify (hd0,0)
chainloader +1
 
Old 08-08-2004, 12:36 AM   #4
merkurmaniac
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat 9.0
Posts: 5

Rep: Reputation: 0
I am doing this on a machine I am building for my mom. He seems to get every virus going around, and I want her to browse the internet and read Yahoo mail using linux.

I installed redhat 9.0 on primary master.

I then installed XP on a second drive when it was the primary master.

Then, I moved the XP drive to the back seat, its now primary slave. Next,...

I edited the file /boot/grub/menu.lst and addied the lines listed above. I get the choice that I called for "Windows XP", but when I select it, I just get this:
===============================
Booting 'Windows XP'

rootnoverify (hd1,0)
chainloader +1

===============================
And it just sits there.....

Any idea what I need to do to fix it ??

TIA, Richard
 
Old 08-08-2004, 01:11 PM   #5
vkichu
LQ Newbie
 
Registered: Aug 2004
Location: USA
Distribution: RedHat, Mandrake (trying to)
Posts: 14

Rep: Reputation: 0
If you are able to boot to linux then i suggest doing this after you update your menu.lst file / grub.conf file. If you update one the other gets updated by itself.

go to /

start grub by typing grub

once you are in the grub prompt type root (hd0,0) -- this will make your primiary disk , 1st partition as root

then type setup (hd0) -- this command will install your grub at MBR with all the changes that you made to your grub.conf file / menu.lst file

Note: make sure you want to install grub as your bootloader, if you do not want grub sitting in your MBR there are other methods ... its is hard for me explain everything here .. if you prefer other methiod try googling for GRUB HOWTO.

then type quit and reboot your pc you should be able to choose windows after this.


good luck
 
Old 08-11-2004, 01:44 AM   #6
Vorbizz
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora Core 2
Posts: 7

Rep: Reputation: 0
Quote:
Originally posted by merkurmaniac
I then installed XP on a second drive when it was the primary master.

Then, I moved the XP drive to the back seat, its now primary slave.
If I reamember well what I've read, Windows doen't like to be on a second hard disk. Maybe you should try this:

Code:
title Windows XP
rootnoverify (hd1,0)
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
makeactive
chainloader +1
 
  


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
Adding Windows to GRUB admanb Red Hat 14 05-21-2005 10:35 PM
adding OS to Grub jturnbul Fedora 6 09-16-2004 08:29 PM
grub+adding windows option gonus Debian 3 08-01-2004 03:43 PM
Adding Windows XP to Grub.conf RoaCh Of DisCor Linux - Software 2 07-18-2004 11:14 PM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM


All times are GMT -5. The time now is 08:36 AM.

Main Menu
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