LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2004, 09:29 AM   #1
rgbrock1
Member
 
Registered: Sep 2004
Location: Connecticut
Distribution: SUSE 10, Mandriva
Posts: 70

Rep: Reputation: 15
Question Dual boot, dual drives. Where to put GRUB?


Hi all,

I'm kind of new to Linux and have a basic question about dual booting.
Currently, I have Windblows XP and SuSE 9.0 on seperate partitions on my single internal hard drive. Now that I know that I want to run SuSE all the time I would like to install it on a second internal drive. (I'll delete SuSE from the partition it exists on currently and rewrite the MBR using Windblows.)

Now. When I intall SuSE onto the second internal drive (which will be used all for itself) do I install GRUB on the MBR of the first hard drive, used by Windblows XP only, or to the second hard drive, used by SuSE only?????

Thanks much in advance.

Regards,
Richard Brock
 
Old 10-01-2004, 09:31 AM   #2
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
Put it on the MBR of the first drive, since that's the one that your BIOS will try to boot from. GRUB will then give you the option of booting into Windows or SuSE.
 
Old 10-01-2004, 10:11 AM   #3
rgbrock1
Member
 
Registered: Sep 2004
Location: Connecticut
Distribution: SUSE 10, Mandriva
Posts: 70

Original Poster
Rep: Reputation: 15
So, if I have the following

/hda = Windblows XP
/hdb = SuSE

Then I should install GRUB on the MBR of /hda?

Thanks again.
 
Old 10-01-2004, 10:20 AM   #4
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
Yes, exactly.

In your BIOS you can set the boot order (e.g. floppy, CD-ROM, hard drive 1, hard drive 2, etc.). You need GRUB installed into the MBR of the first hard drive in the boot order, which is almost always /dev/hda.
 
Old 10-02-2004, 09:17 AM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
I would suggest for minimum impact, that you open your case and switch the drives. Then, you can install grub on the first drive, which will be Suse, and leave Windows basically alone. If Yast or whatever tool you use to get set up doesn't for some reason detect the Windows install, or it otherwise doesn't boot, you can edit the /boot/grub/menu.lst file to reflect where windows is and use the map function to fool Windows into thinking its first.

The advantage of this is that if you ever bork your Suse drive or install, you can merely plug the Windows drive back in to the first position (of course, your switching the jumper when you do this part, right?) and continue as if Suse wasn't already there. This method makes your Windows/Suse basicall autonomous, but working together. I've found this to be the best solution I could find for multi-drive, multi-OS booting. Good luck.
 
Old 10-02-2004, 10:56 AM   #6
res0r9lm
LQ Newbie
 
Registered: Sep 2004
Distribution: Gentoo
Posts: 20

Rep: Reputation: 0
you don't need to do no cable switching. like what was already said you can change boot order in bios so if suse is in /dev/hdb you can just install to /boot or MBR which would be a good idea as windows wants to be on first drive. Although if you wish to have windows on second hdd you can have grub remap drive so windows think it's on first drive

Code:
title=Windows XP
map (hd0) (hd1) 
map (hd1) (hd0) 
root (hd1,0) 
rootnoverify (hd1,0)
makeactive 
chainloader +1
 
  


Reply



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 grub Mandriva WinXP separate drives McNider Linux - General 2 06-17-2005 04:49 AM
grub dual boot, dual drives... scoob8000 Linux - General 5 04-11-2005 06:54 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
dual boot with dual hard drives spleef Linux - General 4 09-08-2003 01:38 PM
dual boot SuSE / XP on seperate drives with GRUB uploadjoe Linux - Software 2 02-20-2003 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 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