LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-10-2002, 02:01 PM   #1
Naru
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat Linux v8
Posts: 5

Rep: Reputation: 0
grub + Red hat Linux 8 + Windows XP


I'm a little bit of a newbie, so be nice ^^;;;

Recently I reinstalled Windows XP, and soon after, Red Hat Linux 8, when my computer boots up, I don't get an option to boot into Windows XP.

My XP partition is on HDB2, Please help
 
Old 12-10-2002, 02:22 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
add a section to /boot/grub/menu.lst(or whatever deadrat calls it)

title windows
rootnoverify (hd1,1)
makeactive
chainloader +1
 
Old 12-10-2002, 02:26 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Welcome to LQ, Naru.

You will need to add an entry in your boot manager's config file for Windows. If you use Lilo, you can do so by adding the following to your /etc/lilo.conf file:
Code:
other=/dev/hdb2
        label=Windows
        table=/dev/hdb
And then run /sbin/lilo to put the changes into effect. If, however, you're using grub, then you will have to do something else (I don't use grub... take a peek around the site for more info).

Hope this helps.
 
Old 12-10-2002, 02:30 PM   #4
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Rep: Reputation: 15
Also make sure that you have put a Boot label on your windows drive or partion! this is done when you do your installation of your boot loader

http://www.redhat.com/docs/manuals/l...-bootload.html

click the link and you should see where i am refering to.

i had the same problem! did a reinstall of my distro and put a label in for my win xp and everything was golden!

Last edited by JoC; 12-10-2002 at 02:41 PM.
 
Old 12-10-2002, 02:38 PM   #5
Naru
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat Linux v8
Posts: 5

Original Poster
Rep: Reputation: 0
rshaw - I tried that, but it just says after I choose "Windows"

booting windows
rootnoverify (hd1,1)
chainloader +1

and pauses there and doesn't do anything.

And for the next two replies, is there any way I can do this without reinstallation? ^^;;;
 
Old 12-10-2002, 02:41 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
Sure! Since you can boot into Linux fine, just change to root (su root) and edit the appropriate file (/etc/lilo.conf or more likely /etc/grub.conf). If its grub, then you then should need to do nothing more! Just reboot and you should have a Windows entry in your menu! If it's lilo, then you need to run /sbin/lilo to get things sorted.
 
Old 12-10-2002, 02:45 PM   #7
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Rep: Reputation: 15
thymox:

i ran into the exact same problem and was given the same solution to try. and came up with the same results. you select windows and it just sits there!

unless there is a way to just redue the installation of the boot loader? sorry i am still a and i am just giving advice when i see a thread that looks like a problem i have had!

Last edited by JoC; 12-10-2002 at 02:47 PM.
 
Old 12-10-2002, 02:56 PM   #8
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
try it this way

title windows
chainloader(hd1,1)+1
 
Old 12-10-2002, 07:23 PM   #9
Naru
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat Linux v8
Posts: 5

Original Poster
Rep: Reputation: 0
Nope, it's still haning at the same screen...

Also another problem that I've been having is when I try to ./configure somethign and then I type "build" I get a message saying somethign along the lines of *no location specified, buildfile not found" ... Help? ^_^;;
 
  


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
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 06:03 AM
Dual Windows XP and Red Hat 9 Grub Problems jonsmel Red Hat 10 01-29-2004 09:12 AM
edit Red Hat 9 Grub to boot Windows southsibling Linux - Software 3 12-18-2003 08:03 PM
Windows XP / Red Hat Linux 7.2 grogers Linux - Newbie 2 11-29-2002 04:43 PM
GRUB problem in Linux Red Hat 7.2 Fernandoch Linux - Software 2 03-28-2002 02:26 PM


All times are GMT -5. The time now is 11:28 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