LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-12-2004, 02:25 AM   #1
timelord726
Member
 
Registered: Jul 2004
Distribution: Ubuntu 4.10 Warty
Posts: 54

Rep: Reputation: 15
Windows + (2 x Linux) = Bootloader?


Sorry if the topic title was a bit cryptic, but let me explain the best I can. This is how I plan on setting up the hard drive on my computer partition-wise (an asterisk means planned but not yet implemented):

Windows = 130 GB
Fedora = 25 GB
Linux Test = 5 GB *

I will be taking space from my Fedora partition and leaving it empty for use as a Linux test partition. I can install various distros on there as needed to test them out and get a proper feel for them.

What I want to know is: 1) is there anything special I should know before running two Linux distros on the same drive, and 2) how can I go about properly configuring a bootloader to recognize all three OSes?

Thanks in advance!
 
Old 08-12-2004, 03:09 AM   #2
Galik
Member
 
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67

Rep: Reputation: 15
1) Not as far as I'm aware. As long as each distro has it's own root partition there should be no problems.
2) The way I did this, before I threw Windows into the bin altogether was to first partition the drive. Then I would install windows. Then I would install Linux. I havn't used Fedora but I have used Red Hat and when you install Linux it usually asks you which partition to install onto. It should give you a nice graphical view of the partitions on the hard disk and show you clearly which one has windows already installed and which ones are free. You will need to format the free partition. In fact usually Linux is installed onto several partitions so you might want to think about that first. I think the minimum would be 2 or 3 partitions. Usually you would have a 'root' partition, a 'boot' partition, a 'home' partition and a 'swap' partition. The 'boot' partition only needs to be quite small (it contains the linux kernel and the boot loader gubbins), the 'root' partition holds the rest of the Operating System (The GNU tools etc...) and the rest of the software you installl from the distribution. it needs to be large enough to accomodate all the software you might install. The 'home' partition is where the user account directories go. This is where you will store all your files and data so it needs to be big enough for your personal needs. The 'swap' partition is like the windows swap file. I think the general recomendation is that it is double the size of your RAM. Having writen all this down it's starting to sound quite complex. Your best bet is to read carefully the Fedora installation guide so that you really understand all of the steps. The chances are however that the installer will make it all much easier than I have made it sound. It will probably offer to automatically allocate all the relevant partitions for you for instance.
 
Old 08-12-2004, 06:37 AM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
I have Win98 on my first drive, and then Mdk 10.0 and 9.2 on my second. Basically you:

Partition. Give each linux install at least a / and you can share 1 swap partition between them. I also give each a seperate /usr partition.
Install Windows on primary master drive
Install linux, ensure windows is a bootloader option

On subsequent linux testing, ensure your stable linux install is a working boot option so you can get back to it to fix anything (including bootloader options) via mounting other drives.
 
Old 08-12-2004, 03:28 PM   #4
timelord726
Member
 
Registered: Jul 2004
Distribution: Ubuntu 4.10 Warty
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks for your help, guys. So can I just use PartitionMagic (or better yet, something in Linux - is there any good partition management software for Linux?), change the partition sizes, and then fire away without having to worry about bootloaders as long as I have all my options configured right?
 
Old 08-12-2004, 03:45 PM   #5
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Well I know the Mandrake cds have the great visual partitioning installer which you can use before&without installing the OS packages. I've never used PartitionMagic.

You just have to ensure that your other linux partition is mounted and the paths to the kernels in its /boot are correct in your bootloader config, and then you can reboot your testing install without fear of being stuck with only that to boot.
 
Old 08-13-2004, 12:14 AM   #6
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
My /boot/grub/menu.lst:
Code:
title=Gentoo Linux 2.6.7-r13
root (hd0,1)
kernel=(hd0,1)/boot/kernel-2.6.7-gentoo-r13 root=/dev/hda5 video=vesafb:ywrap,mttr vga=0x317 acpi=force
initrd=/boot/initrd-1024x768

title=Gentoo Linux 2.6.7-r12
root (hd0,1)
kernel=(hd0,1)/boot/kernel-2.6.7-gentoo-r12 root=/dev/hda5 video=vesafb:ywrap,mttr vga=0x317 acpi=force
initrd=/boot/initrd-1024x768

.
.
.

title=Windows XP
rootnoverify (hd0,0)
chainloader +1
makeactive

title=Slack-2.4
root (hd0,5)
kernel=(hd0,5)/boot/vmlinuz root=/dev/hda6 acpi=force

title=Debian Sarge
root (hd0,7)
kernel=(hd0,7)/vmlinuz root=/dev/hda8 video=vesafb:ywrap,mttr vga=0x317 acpi=force
initrd=(hd0,7)/initrd.img
...as in yes, you can multiboot. Here's my config to show how it can be done. What you're seeing is a quad-boot. I have WinXP, Gentoo, Slackware, and Debian on my drive right now. The Gentoo install has actually 6 kernels in /boot (I'll get around to deleting 4 of them soon). I can boot to Win, Slack, Deb, or any of 3 kernels in Gentoo all from Grub. You can do the same things with lilo, but I don't.lol
 
Old 08-13-2004, 12:28 PM   #7
Galik
Member
 
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67

Rep: Reputation: 15
If you have one hard drive and it's entirely partitioned for windows then I recomment using Partition Magic to make it smaller to create room for the Linux partitions. Last time I used Mandrake I don't think it lets you resize partitions, just delete and recreate. It may have changed since then though. But as long as you have room for the linux partitions on the drive, mandrakes tool is really very good and quite easy to use.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
Hacker installed a Linux bootloader on my Windows system mazzy Linux - Newbie 24 07-25-2005 02:57 AM
Adding Linux to Windows XP bootloader justiceisblind Linux - Newbie 6 01-25-2004 04:05 PM
how to hide GRUB bootloader while booting a duel boot system ( linux/windows ) ? dommini Linux - General 0 12-03-2003 03:48 AM
Deleted all my bootloader stuff from windows/linux system jimdaworm Red Hat 2 09-04-2003 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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