Red Hat This forum is for the discussion of Red Hat Linux. |
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.
|
|
09-14-2003, 03:13 AM
|
#1
|
LQ Newbie
Registered: Sep 2003
Location: Seattle, WA.
Distribution: Reh Hat Release 9
Posts: 2
Rep:
|
After installing LINUX on a new partition, LINUX boots but WinXP doesn't
I recently installed the RED HAT release 9 onto my laptop that already had Windows XP on it. The install seemed to have gone fine. LINUX is running fine. And I'm learning how to use it. However, I still (unfortunately) need to use Windows XP. I am using GRUB as the boot loader and it displays both LINUX and Windows XP. However when I select Windows XP to load it just displays the following and ten hangs:
Booting 'Windows XP'
rootnoverify (hd0,1)
chainloader +1
After seeing this, I have to do a <CNTR>+<ALT>+<DEL> to reboot to LINUX. Any suggestions on how I can get it to boot up XP???
|
|
|
09-14-2003, 05:31 AM
|
#2
|
Member
Registered: Aug 2003
Distribution: Latest Gentoo; Mandrake 9.1
Posts: 37
Rep:
|
Can you post here your "/boot/menu.lst" ? (I use LILO, I'm not sure that this is your GRUB config file...)
Else try to install LILO.
|
|
|
09-14-2003, 05:38 AM
|
#3
|
Member
Registered: Aug 2003
Distribution: Latest Gentoo; Mandrake 9.1
Posts: 37
Rep:
|
|
|
|
09-14-2003, 05:46 AM
|
#4
|
Member
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643
Rep:
|
Quote:
Originally posted by tchernobog
Can you post here your "/boot/menu.lst" ? (I use LILO, I'm not sure that this is your GRUB config file...)
.
|
or it could be /boot/grub/grub.conf
also,post what 'fdisk -l' says.(try it from a root login).
there is no need to shift to lilo.
|
|
|
09-14-2003, 06:04 AM
|
#5
|
Member
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388
Rep:
|
What did you use to create the new partition?
lynch
|
|
|
09-14-2003, 12:53 PM
|
#6
|
Member
Registered: Sep 2003
Location: Indonesia
Distribution: Mandrake,RedHat,Slackware
Posts: 58
Rep:
|
I've got this from RedHat web site:
There are a couple of ways to approach a dual boot.
In the first scenario, let's say you have an empty machine, and because you're a glutton for punishment, you want both Windows 2000/XP and Red Hat Linux. This is a bit like using Earl Scheib on a Porsche, but here goes:
Partition. Use fdisk to create two partitions of appropriate size for your install.
Install Windows. You're on your own here. Time and many reboots go by...
Boot into the Red Hat Linux installer, and install into the second partition. All should go swimmingly, until you're faced with a choice between boot loaders and install locations.
If you wish to let Lilo or GRUB control the install, so be it. Either one *should* pick up the fact that Windows is already there and compensate.
If it doesn't, and your boot loader of choice only boots Linux, a lilo.conf entry should look like:
other=/dev/hda1
label=windows
A grub.conf entry should look like:
title windows
map (hd0,0) (hd0,2)
map (hd0,2) (hd0,0)
setup (hd0)
rootnoverify (hd0,2)
chainloader +1
(Hint: type "info grub" at a command prompt for a full breakdown of what this entry means.)
You may choose to let another boot loader handle the install, in which case you will want to:
Boot into Linux and copy the boot image from the first sector of your boot partition. You'll want to take 512 bytes of this partition once, and write it out to a file called bootsect.lnx. The entry should look like:
dd if=/dev/hdX of=/bootsect.lnx bs=512 count=1
Move that file onto your c:\ drive and edit boot.ini, adding the following line:
c:\bootsect.lnx="Linux"
On to the second, more common scenario. It's likely that you already have Windows and are testing the waters, taking a class, or planing to migrate. Or maybe you just want to get something done without crashing for a change.
In this case:
Scandisk, defrag, and empty your recycle bin (unless you want a clump of cruft at the end of your drive.)
Repartition your drive with fips (or something similar). Don't bother trying to format this partition--you'll only wipe it out later and certain 3rd party formatting doesn't go right.
Enter the Red Hat Linux installer and proceed through the install using the second partition as your target drive.
(Hint: make sure to create a boot disk. If something goes wrong, you want to at least be able to get into one of the OS's.)
|
|
|
All times are GMT -5. The time now is 11:21 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
|
|