Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 04-06-2004, 01:25 AM   #1
LQ Newbie
Registered: Apr 2004
Distribution: rh9
Posts: 1

Rep: Reputation: 0
Question dual boot when linux on 1 drive, win on other drive, both scsi?

ok, so i have 2 LVD SCSI hard drives. the "c" drive is running win2k pro, and the second drive formerly known as "d" now has redhat 9. the only problem is that when both hard drives are plugged in it goes directly to windows, and once in windows it doesnt even recognize the second hard drive anymore. what really bugs me though is that as of now i have to unplug the first hard drive to even get to grub. any ideas?

Old 04-06-2004, 02:20 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"as of now i have to unplug the first hard drive to even get to grub. any ideas?"

Install grub on the MBR of the first hard drive that the BIOS looks at when you boot, i.e. install grub on the other hard drive. You do this by changing /boot/grub/grub.conf and then running grub-install.

To fix grub you will have to get into RH9 with both hard drives plugged in. To do that boot into the RH9 install CD and go to rescue mode. Then mount your / partition (which I am assuming is /dev/scb3 and is an ext3 file system) and chroot:
mkdir /apple
mount -t ext3 /dev/scb3 /apple
chroot /apple

Steve Stites
Old 04-08-2004, 09:08 AM   #3
LQ Newbie
Registered: Mar 2004
Distribution: Redhat 9
Posts: 13

Rep: Reputation: 0
Same problem as I had

I had this exact problem.

Placing grub on the /mbr of the master drive will work fine.


Make sure you have a working boot disk (Just incase)

An alternative if you do not want to go messing with the mbr is to simply enter your bios and tell it to boot off of the slave drive.

This will take you to grub which is installed on the first boot record of that drive (\boot). This method provides usefull if you ever need to format any of the drives, all of the opriginal \mbr's are still intact.

Do not switch the drives around and put windows as slave, it will not boot. For some reason windows will only boot if it isd master

Hope it works out for you
Old 04-08-2004, 09:44 AM   #4
John Micheal
Registered: Apr 2004
Location: Germany
Distribution: RedHat 9
Posts: 38

Rep: Reputation: 15
hello ,
try what i will say and contact me back .

first boot in your redhat
type ( df -k ) cpmmand to know on which drive the /boot is mounted
say you found it /dev/sdb1

then type ( dd bs=512 count=1 if=/dev/sdb1 of=/win2k )

next mount your floppy disk , take the file win2k on a floppy

then reboot in your xp

copy the file win2k on the c

open the file boot.ini , hidden file , with notepad

add this line (( c:\win2k="linux" ))

then reboot with 2 disks on

it is assumed that you will find the linux option

try it , may it work .


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
Dual boot win xp and linux on second hard drive metallicafan_316 Linux - Newbie 3 10-06-2005 10:38 PM
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 10:01 PM
additional scsi drive setup-not boot drive serat Linux - Newbie 3 04-03-2004 12:44 PM
How to have dual OS(win/linux) on 1 Hard Drive Wade Linux - Newbie 2 03-09-2004 04:15 PM
Install linux (mandrake 9.1) over win 98 and still boot linux and winxp(drive E:) BlueTaurus13 Linux - General 12 09-01-2003 09:03 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration