LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-14-2003, 02:13 AM   #1
joelmj
LQ Newbie
 
Registered: Sep 2003
Location: Seattle, WA.
Distribution: Reh Hat Release 9
Posts: 2

Rep: Reputation: 0
Angry 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???
 
Old 09-14-2003, 04:31 AM   #2
tchernobog
Member
 
Registered: Aug 2003
Distribution: Latest Gentoo; Mandrake 9.1
Posts: 37

Rep: Reputation: 15
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.
 
Old 09-14-2003, 04:38 AM   #3
tchernobog
Member
 
Registered: Aug 2003
Distribution: Latest Gentoo; Mandrake 9.1
Posts: 37

Rep: Reputation: 15
See also http://www.tek-tips.com/gviewthread....619/qid/596115
 
Old 09-14-2003, 04:46 AM   #4
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
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.
 
Old 09-14-2003, 05:04 AM   #5
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
What did you use to create the new partition?
lynch
 
Old 09-14-2003, 11:53 AM   #6
Ninja_212
Member
 
Registered: Sep 2003
Location: Indonesia
Distribution: Mandrake,RedHat,Slackware
Posts: 58

Rep: Reputation: 15
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.)
 
  


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
How to see the Linux partition in WinXPíH wlaw Linux - Software 1 09-20-2004 10:25 AM
Linux/WinXP Partition mikeCanada Linux - Newbie 3 07-23-2004 12:11 PM
Linux partition visible to WinXP lantern Linux - Newbie 20 09-25-2003 11:35 AM
How do I mount my NTFS WinXP partition on Linux? adam88 Linux - Software 6 04-18-2003 10:11 AM
Partition disk Linux on WinXP volcano2020 Linux - Newbie 2 02-08-2003 06:01 PM


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