LinuxQuestions.org
Review your favorite Linux distribution.
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 11-30-2004, 12:49 PM   #1
rgbrock1
Member
 
Registered: Sep 2004
Location: Connecticut
Distribution: SUSE 10, Mandriva
Posts: 70

Rep: Reputation: 15
Question Dual-boot Linux and Windows on 2 drives


Hi.

Part of my system configuration has 2 seperate IDE hard drives: one primary and one secondary. Currently I use the secondary drive as a backup destination drive for the primary ie, for Windows.

What I would like to do is the following:

1. Keep Windblows XP on the primary drive.
2. Partition the secondary drive for Linux use and also to continue using it as a backup device.

I am going to init. the secondary drive and then use "Partition Magic" to create the two partitions: 1 for backup 1 for Linux.

Now, as for as GRUB (or LILO) is concerned: which MBR should I use? The one on the primary or secondary? In other words, where should I install GRUB in this configuration?

Thanks in advance.
 
Old 11-30-2004, 01:01 PM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Create at least two partitions for linux. One for the root filesystem and a small swap partition (depends on your RAM, I have 512MB swap and 512 MB RAM, swap gets hardly ever used). I would also recommend an extra partition for /home (makes it easier to update/change the OS. But this is totally up to you

I prefer grub, because you don't need to re-install it after kernel updates/changes in configuration.

You'll need to write grub into the MBR of the primary partition (or at least the first one in your boot order).
 
Old 11-30-2004, 01:01 PM   #3
dizzutch
Member
 
Registered: Sep 2004
Location: Worcester, MA USA
Distribution: Debian, Gentoo, Fedora FC2
Posts: 66

Rep: Reputation: 15
you want to stick your MBR on your primary drive, you can overwrite windows' bootloader and then point grub or lilo to boot windows and linux respectively.
 
Old 11-30-2004, 01:48 PM   #4
gco10996
LQ Newbie
 
Registered: Oct 2002
Location: New Windsor, NY
Distribution: Red Hat, Slackware, Smoothwall, Fedora, Mandrake, *BSD
Posts: 20

Rep: Reputation: 0
When you repartition, let me suggest that you NOT partition, format, or allocate the space you free up for linux.

Instead, let the linux installer do that for you. For example, in RedHat/Fedora's anaconda installer, there's a dialog early on which will prompt you to either remove all partitions, remove all linux partitions, or keep all partitions and use available free space. Select the last of those options.

If you're using linux's fdisk, set up your partitions (/boot, /, swap, etc.) on hdb2 (in your example).

As to HOW to partition that drive space, I tend to agree with abisko00 about having a separate partition for /home. Having a separate partition for /var is also sometimes a good idea.

Here's how I have most of my systems:

/boot (100MB)
swap (RAM x 1.5)
/
/home
/var

The size of the last three depends on system role and available space.
A full install of Fedora Core 3, (all packages) for instance, is 6+ GB, so figure 10GB for / (root).

/var size may need to be large is you have a large web site, and/or retain a lot
of logs (snort logs, for example).

At any rate, beyond boot, root, and swap, it's largely up to you.

Amd yes, the boot loader will go to the MBR of C: (or whatever the Windows boot drive is.)
 
  


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 boot system on 2 hard drives, wont load windows kamowa Linux - Newbie 6 01-27-2005 11:31 PM
Windows/Linux - dual boot or 2 drives? chantrelle Linux - General 4 11-03-2004 04:59 PM
Want to dual boot Windows and Linux, BUT on 2 hard drives hanchey Linux - Hardware 4 12-02-2003 10:52 PM
Linux/Windows dual boot on 2 IDE drives glock19 Linux - General 24 09-07-2003 01:56 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 10:00 AM


All times are GMT -5. The time now is 04:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration