LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub + Red hat Linux 8 + Windows XP (https://www.linuxquestions.org/questions/linux-newbie-8/grub-red-hat-linux-8-windows-xp-37882/)

Naru 12-10-2002 02:01 PM

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

rshaw 12-10-2002 02:22 PM

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

title windows
rootnoverify (hd1,1)
makeactive
chainloader +1

Thymox 12-10-2002 02:26 PM

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.

JoC 12-10-2002 02:30 PM

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!

Naru 12-10-2002 02:38 PM

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? ^^;;;

Thymox 12-10-2002 02:41 PM

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.

JoC 12-10-2002 02:45 PM

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 :newbie: and i am just giving advice when i see a thread that looks like a problem i have had!

rshaw 12-10-2002 02:56 PM

try it this way

title windows
chainloader(hd1,1)+1

Naru 12-10-2002 07:23 PM

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? ^_^;;


All times are GMT -5. The time now is 01:07 AM.