LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-17-2004, 07:38 PM   #1
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Rep: Reputation: 15
Grub boot loader doesnt load (but soo close)


Hi,

I have red hat 9 and windows xp sharing the same hard drive on seperate partitions now. /boot is the first partition /(root) is the next, /(swap) is the third, and winxp is on the 4th (in that order ont he hard drive exactly) In the instalation i chose to NOT replace the MBR. I chose the other option (the first sector one).

here is my situation: when I start up my computer it boots to windows xp as if linux isnt on there at all (even though I selected to use the grub boot loader during installation)...so I have to use the linux boot disk to get Redhat to run at start up. I would like to use the grub bootloader or LILO or any type of booloade (whichever you think is easier for this scenerio) so that i can switch between the two so that i dont have to rely on a boot disk....is there a way to do this?

Thanx in advance,
Boomba
 
Old 01-17-2004, 08:53 PM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
If that's the case, then as far as I understand things, you'd have to boot the system with the cd and then either make a boot floppy or install grub (I prefer lilo) on the first part of the MBR, because at the moment your system is only seeing the bootloader that IS on the first section of the MBR and at the moment that will be the winXP bootloader.

Erm, I understand that it is possible to make the windows bootloader boot the system and offer you a choice of OS, but that's just a mile or three over my head.

I just do the normal single hard disc install to the first part of the harddrive, and never had any problems (in fact I'm triple booting XP, mandrake 9.1 and gentoo 1.4 all from the first part of the hard drive, on one 120 gig disc, using lilo)

regards

John
 
Old 01-18-2004, 12:14 AM   #3
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Set the /boot partition to active then put something like this in your grub.conf:
Code:
title WinXP
rootnoverify (hd0,3)
chainloader +1
Or extract the partition bootsector, which contains grub
Code:
dd if=/dev/hda1 of=redhat.bin bs=512 count=1
copy it to c:\ in WinXP(using a floppy disk or watever) then add to your boot.ini(hidden by default):
Code:
c:\redhat.bin="Redhat 9"

Last edited by Demonbane; 01-19-2004 at 04:13 AM.
 
Old 01-18-2004, 12:41 AM   #4
Boomba
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 57

Original Poster
Rep: Reputation: 15
thanx guys I got it working!
 
Old 01-18-2004, 07:36 PM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
Da nada - though that's easy to say, as Demonbane's answer was better than mine.

enjoy

regards

John
 
Old 01-19-2004, 12:55 AM   #6
ViPeRDeSiGnZ
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9, XP
Posts: 13

Rep: Reputation: 0
moved, sorry for wasting this post

Last edited by ViPeRDeSiGnZ; 01-19-2004 at 01:24 AM.
 
  


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
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - Newbie 15 10-21-2005 10:29 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Red Hat 1 09-25-2005 07:08 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 07:07 AM
boot loader doesnt load ryan00davis Linux - General 2 04-27-2004 09:44 PM
configuring winxp boot loader to load linux vichet Linux - Newbie 4 01-28-2003 01:40 PM


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