LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-19-2003, 04:20 PM   #1
GodFoca
LQ Newbie
 
Registered: Jun 2003
Location: Montevideo
Distribution: RedHat 8.1
Posts: 13

Rep: Reputation: 0
Exclamation Problem double-booting WinXP and RH8.0


Now, I had RedHat 8.0 with no problems, until a friend came with Mandrake 9.1 -- I decided it was worth the try, and installed. It eventually crashed during installation (when configuring the Video card), and even as i tried different combinations of options in each different installation (I installed Mandrake like 3 times)... So I ended up getting back to my RedHat disks.

I installed, without any problems, and logged into RH. It worked fine and all. Then I reboot, trying to enter WinXP....

booting dos...
rootnoverify(hd0,4)
chainloader +1

along with a large amount of 99 (half the screen was filled up of those numbers .... nice message. It asks to press enter, I do so, and it gets back to GRUB...

Anyway, I tried RH again, and it boots fine... Now:
 
Old 06-19-2003, 04:57 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Aparently, lilo is still in the mbr.

You can remove lilo from the mbr with
/sbin/lilo -u
You can remove grub or lilo from the mbr by booting with a Windows 98 boot floppy (at the prompt, type fdisk /mbr), or by using the Windows XP Recovery Console

I think redhat uses the command grub-install to install it.


Instructions on basic installation: Installing a bootloader
Multiboot with GRUB Mini-HOWTO

Check that /boot/grub/grub.conf has the proper partitions in the stanzas.

# How is the hard drive partitioned
fdisk /dev/hd<X> -l
 
Old 06-19-2003, 05:07 PM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Hmmm...
I don't have much experience with GRUB but you might see if you can boot from the RH cd and install LILO instead. That may fix the problem, if RH will give you that option.

I doubt your XP partition is messed up, but what probably happened is that Mandrake didn't update GRUB and somehow messed up its configuration... Or updated it wrongly.

See if there's a way to install Lilo instead of GRUB to your MBR (master boot record). Lilo should configure itself from the RH install cd and sense your partitions, and where each OS ' root partition is.

Try that, or post more details of the configuration....


_shade
 
Old 06-19-2003, 05:34 PM   #4
GodFoca
LQ Newbie
 
Registered: Jun 2003
Location: Montevideo
Distribution: RedHat 8.1
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks, here's some more stuff...

There is a lilo in /sbin but no lilo.conf, so when I type /sbin/lilo -u it tells me that the conf file is missing and stops.

Apparently there's neither such thing as a grub-install nor grub -install... (I typed it at different dirs and everywhere I got "There's no such command".

This is my grub.conf... what the hell means that coment? All I understand is that that're the instructions that linux follow to boot.

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Linux (2.4.18-14)
root (hd0,2)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.18-14.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1

## END


Thanks again for all your help, if you know anything else, help is welcome ,
GodFoca
 
Old 06-19-2003, 05:50 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Is there a Red Hat 8.1 release? I don't see it on the Red Hat site.

While in Linux, ensure that lilo has been removed

/sbin/lilo -u

Then, re-install grub.

Red Hat 8.0 documentation: Installing GRUB

Last edited by fancypiper; 06-19-2003 at 06:03 PM.
 
  


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
i Got 1 Harddisk with Win XP & RH8 Dual Boot,will WinXP perform slower coz i got RH8? kublador Linux - General 4 08-28-2003 12:32 AM
RH9, WinXP double boot problem christophe Linux - Newbie 6 07-12-2003 03:46 PM
i got RH8 & WinXP installed and properly working by GRUB. how can i reinstall WINXP? kublador Linux - Newbie 4 06-23-2003 01:00 PM
big problem with RH8 booting...plz help rosko Linux - General 0 02-07-2003 12:48 AM
Problem with booting up RH8.0 RyoHazuki Linux - Software 6 01-15-2003 08:13 PM

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

All times are GMT -5. The time now is 05:20 AM.

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