Unix Technical Forum

Problem: Dualbooting XP with Redhat 9

This is a discussion on Problem: Dualbooting XP with Redhat 9 within the Linux Operating System forums, part of the Unix Operating Systems category; --> I configured the dualboot during the installation of Redhat. The dualboot displays properly, and if I choose Redhat (the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 07:41 AM
Yoni
 
Posts: n/a
Default Problem: Dualbooting XP with Redhat 9

I configured the dualboot during the installation of Redhat. The
dualboot displays properly, and if I choose Redhat (the default) it
works. If I choose however XP, I get a blue screen.

I have two separate physical disks, with one O/S on each (except for
whatever Redhat did on the c: for purposes of dualboot I imagine).

I tried using a new XP installation to recover, but it says it doesn't
understand the partition and needs to delete it and recreate it, which
I don't want to do and thus loose all that's on it.

Any help? Much appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 07:41 AM
Steve Martin
 
Posts: n/a
Default Re: Problem: Dualbooting XP with Redhat 9

Yoni wrote:
> I configured the dualboot during the installation of Redhat. The
> dualboot displays properly, and if I choose Redhat (the default) it
> works. If I choose however XP, I get a blue screen.
>
> I have two separate physical disks, with one O/S on each (except for
> whatever Redhat did on the c: for purposes of dualboot I imagine).


Which OS is on which drive?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 07:41 AM
Yoni
 
Posts: n/a
Default Re: Problem: Dualbooting XP with Redhat 9

Steve Martin <smartinwate@adelphia.net> wrote in message news:<2lb2b.17515$2Y6.5287128@news2.news.adelphia. net>...
> Yoni wrote:
> > I configured the dualboot during the installation of Redhat. The
> > dualboot displays properly, and if I choose Redhat (the default) it
> > works. If I choose however XP, I get a blue screen.
> >
> > I have two separate physical disks, with one O/S on each (except for
> > whatever Redhat did on the c: for purposes of dualboot I imagine).

>
> Which OS is on which drive?


The original disk has XP, and the second disk which is a slave of the
first has the Redhat.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 07:41 AM
Eric Moors
 
Posts: n/a
Default Re: Problem: Dualbooting XP with Redhat 9

>> > I have two separate physical disks, with one O/S on each (except for
>> > whatever Redhat did on the c: for purposes of dualboot I imagine).


What happens if you disconnect the RH disc.
Can you boot XP now?

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 07:41 AM
Yoni
 
Posts: n/a
Default Re: Problem: Dualbooting XP with Redhat 9

Eric Moors <scare.crow@oz.land> wrote in message news:<pan.2003.08.25.08.24.20.706440.925@oz.land>. ..
> >> > I have two separate physical disks, with one O/S on each (except for
> >> > whatever Redhat did on the c: for purposes of dualboot I imagine).

>
> What happens if you disconnect the RH disc.
> Can you boot XP now?
>
> Eric



I haven't tried it but I will. I'm guessing that it won't help,
because I believe the dualboot wrote something to the 0 drive. Even
more sure, because I used an XP CD to see if I could reinstall the XP
on that same drive, and it told me that it couldn't read it and
suggested I delete and recreate the partition. I know the data is
still there, because during a recovery process I was able in DOS mode
to go in and change directories etc.

Please assume the answer to the above question is no, and I promise to
update today if its not true.

Thanks,
Yoni
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-17-2008, 07:41 AM
Eric Moors
 
Posts: n/a
Default Re: Problem: Dualbooting XP with Redhat 9

On Mon, 25 Aug 2003 12:15:12 +0200, Yoni wrote:

> Eric Moors <scare.crow@oz.land> wrote in message news:<pan.2003.08.25.08.24.20.706440.925@oz.land>. ..
>> >> > I have two separate physical disks, with one O/S on each (except for
>> >> > whatever Redhat did on the c: for purposes of dualboot I imagine).

>>
>> What happens if you disconnect the RH disc.
>> Can you boot XP now?
>>
>> Eric

>
>
> I haven't tried it but I will. I'm guessing that it won't help,
> because I believe the dualboot wrote something to the 0 drive. Even
> more sure, because I used an XP CD to see if I could reinstall the XP
> on that same drive, and it told me that it couldn't read it and
> suggested I delete and recreate the partition. I know the data is
> still there, because during a recovery process I was able in DOS mode
> to go in and change directories etc.
>
> Please assume the answer to the above question is no, and I promise to
> update today if its not true.


Okay, I'll assume no for now.

That probably means the bootloader (grub I guess) placed data on
the MBR of the XP disc. If that disc is the IDE master (hda in linux
terminology) that is also the correct behaviour. The problem of XP
not being able to boot could be an incorrect grub configuration.
Show your grub.conf file (/boot/grub/grub.conf iirc) here, or if
you use lilo your lilo configuration (/etc/lilo.conf)

One more thing to check. Is one disc jumpered as master and one
as slave (if they are on the same IDE channel)?

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-17-2008, 07:41 AM
Ken Kauffman
 
Posts: n/a
Default Re: Problem: Dualbooting XP with Redhat 9

> Okay, I'll assume no for now.
>
> That probably means the bootloader (grub I guess) placed data on
> the MBR of the XP disc. If that disc is the IDE master (hda in linux
> terminology) that is also the correct behaviour. The problem of XP
> not being able to boot could be an incorrect grub configuration.
> Show your grub.conf file (/boot/grub/grub.conf iirc) here, or if
> you use lilo your lilo configuration (/etc/lilo.conf)
>
> One more thing to check. Is one disc jumpered as master and one
> as slave (if they are on the same IDE channel)?
>
> Eric


Assuming that hardware is correctly configured. Run the Recovery Console in
XP. Then run FIXMBR and FIXBOOT. That will let you boot straight into XP.
I'm assuming it is your "primary" OS until you get your dual boot sorted
out.

What I did to make installation PERFECT without sweating configuring grub
was the following. When installing Redhat, create a /boot partition. When
you create that partition make sure that the /boot partition is marked
active. Hint: by default, your XP partition will be active. Now, when
installing the bootloader (grub), put it into /boot (not MBR). RedHat will
set up grub for you correctly from this point forward and you should have no
problems dual booting using grub as your bootloader. Worked like a charm on
my laptop, the trick was switching the active partition.

ken k


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-17-2008, 07:42 AM
Yoni
 
Posts: n/a
Default Re: Problem: Dualbooting XP with Redhat 9

"Ken Kauffman" <kkauffman@nospam.headfog.com> wrote in message news:<YXn2b.70968$xf.33183@lakeread04>...
> > Okay, I'll assume no for now.
> >
> > That probably means the bootloader (grub I guess) placed data on
> > the MBR of the XP disc. If that disc is the IDE master (hda in linux
> > terminology) that is also the correct behaviour. The problem of XP
> > not being able to boot could be an incorrect grub configuration.
> > Show your grub.conf file (/boot/grub/grub.conf iirc) here, or if
> > you use lilo your lilo configuration (/etc/lilo.conf)
> >
> > One more thing to check. Is one disc jumpered as master and one
> > as slave (if they are on the same IDE channel)?
> >
> > Eric

>
> Assuming that hardware is correctly configured. Run the Recovery Console in
> XP. Then run FIXMBR and FIXBOOT. That will let you boot straight into XP.
> I'm assuming it is your "primary" OS until you get your dual boot sorted
> out.
>
> What I did to make installation PERFECT without sweating configuring grub
> was the following. When installing Redhat, create a /boot partition. When
> you create that partition make sure that the /boot partition is marked
> active. Hint: by default, your XP partition will be active. Now, when
> installing the bootloader (grub), put it into /boot (not MBR). RedHat will
> set up grub for you correctly from this point forward and you should have no
> problems dual booting using grub as your bootloader. Worked like a charm on
> my laptop, the trick was switching the active partition.
>
> ken k



The grub.conf as follows:

[root@localhost root]# more /boot/grub/grub.conf
# 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/hdb2
# 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=/
initrd /initrd-2.4.20-8.img
title Windows XP Pro
rootnoverify (hd0,0)
chainloader +1


IN answer to the question; yes - both disks are on the same IDE Channel.

Yoni.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-17-2008, 07:42 AM
Eric Moors
 
Posts: n/a
Default Re: Problem: Dualbooting XP with Redhat 9

>> > One more thing to check. Is one disc jumpered as master and one
>> > as slave (if they are on the same IDE channel)?


> IN answer to the question; yes - both disks are on the same IDE Channel.


Are they jumpered correctly?

> The grub.conf as follows:
>
> [root@localhost root]# more /boot/grub/grub.conf
> # 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/hdb2
> # 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=/
> initrd /initrd-2.4.20-8.img
> title Windows XP Pro
> rootnoverify (hd0,0)
> chainloader +1
>


Looks okay to me (but I'm not a grub user).

can you check the MBR manually?
Use the following sequence to check it:
dd if=/dev/hda of=./mbr.img count=1
xxd < mbr.img
*** does the output contain the word GRUB? ***
rm ./mbr.img

If it's not there, do the same thing but replace
/dev/hda with /dev/hda1 in the first line.

The BIOS is set to boot from the hda drive and not hdb, right?
If that wouldn't be the case, windows requires a drive remap.

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-17-2008, 07:42 AM
Timothy Murphy
 
Posts: n/a
Default Re: Problem: Dualbooting XP with Redhat 9

Eric Moors wrote:

>> The grub.conf as follows:
>>
>> [root@localhost root]# more /boot/grub/grub.conf
>> # 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/hdb2
>> # 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=/
>> initrd /initrd-2.4.20-8.img
>> title Windows XP Pro
>> rootnoverify (hd0,0)
>> chainloader +1
>>

>
> Looks okay to me (but I'm not a grub user).


I haven't followed the thread
but I would change root=LABEL=/ to root=/dev/hda1
(if that is where your / partition is>).
Then I'd say
grub-install --recheck /dev/hda

--
Timothy Murphy
e-mail: tim@birdsnest.maths.tcd.ie
tel: +353-86-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com