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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-10-2003, 02:05 PM
|
#1
|
|
Member
Registered: Jul 2003
Location: Lincoln Nebraska
Distribution: Redhat 9
Posts: 61
Rep:
|
Redhat 9 and XP on different HDs How to Dual Boot?
I'm really sorry if this has been addressed a million times, but I really have spent a bit of time searching without a definitive answer, and I know it must be a simple solution.
So here is the question:
I have one HD that has Redhat 9 that uses Grub as the Bootloader. It's a pretty basic Redhat 9 install.
I also have another HD that has XP installed.
I can mount the XP HD from Rh to look at and edit files just fine. But I'd really like to dual boot so I don't have to keep swapping out drives and changing jumpers.
I'd just like Grub to ask which system to boot and then do it.
I'd like to get away from Windows completely, but then I can't use my Zip + drive in Parallel mode in Redhat which is another can of worms in itself.
I'd appreciate any help, and I'd glady post any other info you need...well except for Credit Card info and naked pictures of my Girlfriend.
Thanks.
p.s. I'm not really The King of Japan.
|
|
|
|
07-10-2003, 03:29 PM
|
#2
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
You just need to make a grub entry for XP (plenty of examples on this site) Then point the cahinloader at the right drive / partition.
|
|
|
|
07-10-2003, 03:30 PM
|
#3
|
|
Member
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148
Rep:
|
Note: I am assuming that you have XP on your first hard drive (hda) and Red Hat on the second (hdb).
Try this:
As root, edit /etc/grub.conf
Add these lines:
title Windows XP
rootnoverify (hd0,0)
chainloader +1
Save the file and reboot. Grub should add XP to your boot menu.
-dave
|
|
|
|
07-10-2003, 03:59 PM
|
#4
|
|
Member
Registered: Jul 2003
Location: Lincoln Nebraska
Distribution: Redhat 9
Posts: 61
Original Poster
Rep:
|
A thank you to all readers and especially to posters.
I figured it out by adding this to grub.conf:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
root (hd1,0)
makeactive
chainloader +1
I'm not sure if the map commands, makeactive and root command make a difference or not according to Synecdoche's post. I don't really know exactly what they mean anyway. I just know that it does what I wanted it do.
|
|
|
|
07-10-2003, 04:44 PM
|
#5
|
|
Member
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148
Rep:
|
Well, what I posted is what mine said. If you want to test it, keep your grub that works and just add the lines I suggested to the end as well and try booting to it. If it works, then you can keep that one and ditch the extraneous lines.
-dave
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:24 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|