LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-30-2004, 12:14 PM   #1
samaujs
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
Exclamation Dual boot WindowsXP and Redhat9.0 with "rootnoverify" error


Hi,

it will be great if anyone could help to resolve my agony trying to have a dual boot for Redhat 9.0 and Windows XP.

The following contains the configuration, setup and other information :
(1) Redhat9.0 is installed in Primary Master (hda) and Windows XP SP2 is installed in Primary Slave (hdb);

(2) Windows XP SP2 has been installed first and later positioned as Slave after a new Master harddisk is installed separately with Redhat subsequently;

(3) GRUB is installed during the LINUX installation and at the MBR of hda

(4) When I select the "DOS" option from the boot up MENU (which I hope to run Windows XP right away), the error message is
--
rootnoverify (hd1,0)
chainloader +1
--
and the black screen hangs

(5) If I use the CMOS to toggle the boot from hdb, Windows XP runs fine. Likewise, if I select the Redhat option on the Boot MENU, Redhat runs fine.

(6) Currently, the system is setup that CMOS uses hda as the first bootup disk so that the LINUX Boot MENU can be seen
--

I would like to ask any expert here for a novice like me with dual boot and moderate knowledge on LINUX and WINDOWS administration. What is the easiest and simplest way for me to get the dual boot runnning without reinstalling WindowsXP or LINUX. I hope the information above is informative enough to have the quick diagnostic approach.

Thanks in advance. Have a nice day.
 
Old 10-31-2004, 01:55 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
b4 we begin lets agree that

1) when bios boots drive set as master the mbr it finds grub bootloader and can boot linux
2) when bios boots to slave mbr it finds ntloader bootloader and can boot windows.

3) post your full master /etc/fstab file and your grub menu I assume your /boot parttion or subfolder /boot is (hd0,0)

so you need to hide linux from xp and then use the map command

http://www.linuxquestions.org/questi...hlight=trouble

title xp
hide (hd0,0)
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
 
Old 10-31-2004, 01:52 AM   #3
samaujs
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hi, thanks for reply but sad to say it is still not working.

I have changed the /etc/grub.conf according to your recommendation; but, when I select the XP from LINUX Boot Menu, the follow displays on the black screen :

rootnoverify (hd1,0)
map (hd0) (hd1)

Error 11: Unrecognized device string

Press any ket to continue...
--

and the /etc/fstab file for /boot :
LABEL=/boot /boot ext3 defaults 1 2
--

Does it make any sense? Thanks for your help in advance.
 
Old 10-31-2004, 02:15 AM   #4
samaujs
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,
as I am determined to get it work, I did a trial-n-error. I realised that what your recommendation actually works. There is a space in between (hd0) and (hd1); after the correction made it works! Hence, please ignore my previous reply.

Thanks for your help and have a nice weekend.
Cheers
 
Old 10-31-2004, 09:53 PM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
my fault but well done in trying a different syntax
 
Old 10-31-2004, 10:07 PM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I have given you credit for my poor syntax in the tutorial. Ahhh I found that putting in the gap was truncated, so I put a false z in there and made a reference to replace it with ONE space
 
Old 02-03-2006, 05:08 AM   #7
samaujs
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,

after I got the dual boot to work for a year, my windows XP starts to fail and I have to re-install it. With the same physical setup, when I am trying to setup the Windows XP; it prompts me to create a system partition in Primary Harddisk (hd0). By doing so, the linux no longer allows me to go into dual boot. Hence, I have decided to reinstall linux again.

To make matters worst, I have followed the earlier instructions to modify the /etc/grub.conf file to what has been recommended a year ago :

title xp
hide (hd0,0)
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
--

With this I can no longer proceed after doing a CTL+ALT+DEL prompted by the system with a "NTLD is missing" error message. And from now the system can no longer be used. Having the following message and waiting for command :

GRUB version 0.93 (639K lower / 1046720K upper memory)
[Minimal BASH-like line editing is supported. For the first word. TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.]

grub>
---

The above "grub" prompt appears even whenever I switched on the system. What should I do now, please advice? Thanks for your help in advance.
 
Old 02-04-2006, 09:04 AM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
Has it been a year?

well I have changed my rootnoverify and map stuff slightly.

map on my old ide drives worked for both the drive and for the partitions so its

map (hdX) (hdY)
map (hdY) (hdX) where X and Y are 0 1 2 etc.

and it workds for C partition as well like this

map (hd0,0) (hdX,Y)
map (hdX,Y) (hd0,0)

where 0,0 is your c partition and X,Y are the real paritions of where you put C partition using image program ghost or partimage etc.


(2) The hide command is where you have a detectable MS partition b4 the INTENDED to boot partition like W98 on drive 0 and you want to boot XP on drive 1

If you do not have a MS on drive 0 you do not need it anymore.

(3) now my possible solution is based partly on this thread
http://www.linuxquestions.org/questi...hlight=windows

ie disconnect drive 0 and let MS be installed on drive 1 (thinking its drive 0) and it puts ntldr bootloader on mbr for drive1 (thinking its drive 0)

reboot to check it works ok as is......then reconnect drive 0 and install linux on drive 0 and put grub into mbr for drive 0 then use the map command to trick MS to think its still on drive 0.

Do you understand?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual-boot install: "Could not find kernel image: linux / boot:" JEBBEDIAH C Linux - Newbie 16 02-02-2005 08:25 PM
Dual boot Xp/Mandrake 10, "Big Error" need help jmr0311 Mandriva 3 07-05-2004 12:30 PM
I Dual Boot, Is there Compatable "Drive imaging" that works with linux joncolby Linux - Software 6 06-21-2004 03:11 AM
dual boot linux, need to setup "another" lilo during installation? sirpelidor Linux - Newbie 3 02-04-2004 10:10 PM
problem with dual boot "unmountable boot volume" trinbellwoods Linux - Laptop and Netbook 8 09-23-2003 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration