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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-12-2003, 09:27 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat 9.0
Posts: 7
Rep:
|
XP and Redhat dual boot problems
Hi All I have a question I have a dual Boot on my puter ,XP is on the first hard drive and linux redhat is on the 2nd hard drive. I installed redhat after XP and when I have the option at boot up to run both I get a message System32\ntoskrnl cant be found or is corrupted How can I fix this and boot into either Os's without reinstalling xp
Thanks
|
|
|
07-12-2003, 09:34 PM
|
#2
|
Member
Registered: Jul 2003
Location: Lincoln Nebraska
Distribution: Redhat 9
Posts: 61
Rep:
|
I just figured this out the other day. I had XP and Redhat 9 on two different drives. My XP drive was vfat and not ntfs.
adding this to grub.conf worked for me:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
root (hd1,0)
makeactive
chainloader +1
This was taken from this site:
http://www.icculus.org/~lucasw/Linux...otloading.html
Cheers.
|
|
|
07-12-2003, 10:22 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat 9.0
Posts: 7
Original Poster
Rep:
|
I forgot to mention My first drive is xp and is 80 gigs this is partitioned and 19 gigs of it are running xp long horn then the second drive is redat hat which is around 6 gigs
|
|
|
07-12-2003, 10:42 PM
|
#4
|
Member
Registered: Jul 2003
Location: Lincoln Nebraska
Distribution: Redhat 9
Posts: 61
Rep:
|
The only thing with what I posted is that the Redhat Drive should be the Primary Master and The XP should be the Secondary Master.
It worked fine for me.
|
|
|
07-13-2003, 12:34 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat 9.0
Posts: 7
Original Poster
Rep:
|
Thanks Im not sure how to add your line to grub do I just delete everything in there and add what you wrote thanks
|
|
|
07-13-2003, 12:47 AM
|
#6
|
Member
Registered: Jul 2003
Location: Lincoln Nebraska
Distribution: Redhat 9
Posts: 61
Rep:
|
Nope.
Just open up you grub.conf (if it's GRub you're using grub as your bootloader. Redhat 9 uses Grub by default) It's located in /boot
Just add:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
root (hd1,0)
makeactive
chainloader +1
under the section that offers the linux Title. Once again look at this site and it explains everything.
http://www.icculus.org/~lucasw/Linux...otloading.html
all I can say is that it worked just fine for me
|
|
|
07-13-2003, 10:34 AM
|
#7
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat 9.0
Posts: 7
Original Poster
Rep:
|
Thanks again Illl try it
|
|
|
07-13-2003, 11:03 AM
|
#8
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat 9.0
Posts: 7
Original Poster
Rep:
|
this is my current config:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdd2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd1,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title longhorn
rootnoverify (hd0,1)
chainloader +1
title xp
rootnoverify (hd0,0)
chainloader +1
Should I erase all of this??
|
|
|
07-13-2003, 11:13 AM
|
#9
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
NO,
Replace the lines starting at title xp with the code that King of Japan gave you.
Code:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
root (hd1,0)
makeactive
chainloader +1
Note: Make a backup of the grub.conf file before making any modifications just in case.
|
|
|
07-13-2003, 11:51 AM
|
#10
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat 9.0
Posts: 7
Original Poster
Rep:
|
Nope it still wont boot into XP???
|
|
|
07-13-2003, 11:53 AM
|
#11
|
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat 9.0
Posts: 7
Original Poster
Rep:
|
Also these are two real different drives not one that has been partitioned
|
|
|
All times are GMT -5. The time now is 06:34 AM.
|
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
|
|