LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-06-2004, 01:32 AM   #1
admanb
Member
 
Registered: Jul 2003
Distribution: Libranet 2.8.1, the best Debian-based distro out there.
Posts: 43

Rep: Reputation: 15
Dual-boot on two Hard Disks, MBR, etc


This is complicated.

.

I'm changing my current setup quite a bit, and I'm still a Linux n00b (only done two installs), here's my current setup:

hda: Windows XP, installed with no other HD plugged in.
hdb: DVD drive, unimportant.
hdc: Redhat, also installed with no other HD plugged in, GRUB on MBR, manually configured to boot XP.

Here's how I plan on changing it, in this order, don't ask why, it's complicated, ^_^:

1. Install Libranet over Redhat on hdc, install GRUB on the MBR.

2. Remove the current XP HD, replace with a new, unformatted HD. Install XP on the new drive, plugged in as hda.

Will this cause any problems? If I understand correctly, GRUB will install to the MBR of hdc, so installing XP afterwards won't cause any problems.

If I'm wrong, what about this:

1. Remove XP HD, install Libranet over Redhat on hdc, install GRUB on the MBR. Plug XP drive back in, configure GRUB to dual-boot.
2. Remove Libranet HD, install XP on the new hda, plug Libranet HD back in.

Ok, and one last thing, I want to have a FAT32 partition so I can share files between Linux and Windows XP, my questions are:

Which HD should I put it on? Both drives are the same, 40gb so I should never run out of disk space.

When should I partition it? Before I install? As I install? After I install?

How do I partition it in XP/Libranet? Do I need to boot a special program before installing?

Thanks in advance, .
 
Old 02-06-2004, 01:40 AM   #2
linuxlah
Member
 
Registered: Jun 2002
Location: Batu Puteh, Malaysia
Distribution: (Mandrake 8.2) (Redhat 7.2,8.0,9.0) (Slackware 9.0,9.1)
Posts: 154

Rep: Reputation: 30
Are you sure your grub is in your first hd ( hda)? I thought MBR can only be on the first hd (hda). I might be wrong though
 
Old 02-06-2004, 01:47 AM   #3
admanb
Member
 
Registered: Jul 2003
Distribution: Libranet 2.8.1, the best Debian-based distro out there.
Posts: 43

Original Poster
Rep: Reputation: 15
Well the way I installed it, GRUB would've installed on hda, but the way it's set up now, GRUB is on hdc.

If the MBR can only be installed on hda... that doesn't make any sense, ^_^. When I plugged my Windows drive in after installing Redhat, I only had to edit grub.conf to get it to dual-boot, I didn't have to reinstall GRUB.
 
Old 02-06-2004, 04:24 PM   #4
Smartcat99S
Member
 
Registered: Jan 2004
Location: NE
Distribution: Arch Linux, SUSE, Gentoo
Posts: 56

Rep: Reputation: 15
this trick comes from suse 7.2 manual
Install GRUB (or LILO) to the MBR of (in your case) hdc
Insert blank DOS formatted floppy and mount it to /media/floppy
run:
/bin/dd if=/dev/hdc bs=512 count=1 of=/media/floppy/bootsec.lin

Boot XP
copy bootsec.lin to root of c:
add this line to c:\boot.ini
c:\bootsec.lin="Linux"


OR

just use grub on the MBR of hda (it will boot XP, i've tried it)

Last edited by Smartcat99S; 02-06-2004 at 04:27 PM.
 
Old 02-06-2004, 04:45 PM   #5
admanb
Member
 
Registered: Jul 2003
Distribution: Libranet 2.8.1, the best Debian-based distro out there.
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks for the help, my plan is to basically use the same setup I installed Redhat with. Unplug the XP HD and plug the former hdc in as hda, then it will install GRUB to the MBR of the Libranet HD, so I don't have to worry about XP overwriting it. All I'll need to do is change a few /etc/fstab entries from hda to hdc and it'll be fine.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual hard disks and OS's gigatwo Linux - Hardware 1 07-20-2005 02:12 PM
Two hard disks better for dual boot? zigzago Linux - Hardware 5 03-18-2005 03:29 AM
dual boot xp and mandrake 10.0 on two different hard disks bmxpunk Mandriva 9 04-25-2004 09:04 AM
GRUB, MBR, red hat 9 winxp in dual hard disks samik Linux - Newbie 2 10-15-2003 02:29 PM
Dual boot on inspiron with multiple hard disks mattkat Linux - Laptop and Netbook 1 09-15-2003 11:10 AM

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

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