LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual boot prob. (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-prob-65984/)

Skiny 06-16-2003 03:27 PM

Dual boot prob.
 
Need help Please!!!
I have redhat linux 9 on my master hd and winxp on the slave drive.
grub config is....

# 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 (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
title Windows XP
rootnoverify (hd4,0)
makeactive
chainloader +1

title Red Hat Linux Love you PL
root (hd0,0)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-18.9.img
-----------------------------------------------------------------------

I can't stand when the os formats the wrong drive so i do it this way.
the way i installed the os' is disabling the slave drive to install Linux on in. then disabling the master drive to install winxp on the slave drive. the prob is i can not boot to xp .
Any help is appreciated Thanks in advance.

jailbait 06-16-2003 08:35 PM

XP on second drive
 
I don't think that Windows will boot from anything except the first drive. You could try putting Windows on the master and Linux on the slave.

Or

You could disable master whenever you want to boot Windows. The way you have installed Windows it probable has made the slave drive bootable provided it is the first available drive.

Also I think that grub calls your master hd0 and your slave hd1. You are calling your slave hd4.

Skiny 06-16-2003 08:46 PM

that works but....
 
If I do disable the master drive it boots to windows. but i will at times forget to go into the bios to disable the master :( So your saying switch the master to slave and slave to master phisicly. then a question that will come up later. how do i reconfigure the grub or do i config win to dual boot :Pengy:

jailbait 06-16-2003 08:52 PM

switching drives
 
If you switch the master and slave you will have to reconfigure grub and install it on the new /dev/hd0 MBR.

After you switch and before you reinstall grub you will be unable to get into Linux by booting /dev/hd0. To get into Linux to fix grub you will have to boot your Red Hat distribution CD and go into rescue mode. From rescue mode you can boot into Linux.

Also when you are reinstalling grub you should change /etc/fstab. You will have to change the /etc/fstab descriptions of where your partitions are mounted.


All times are GMT -5. The time now is 09:30 PM.