LinuxQuestions.org
Register a domain and help support LQ
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 07-08-2003, 11:07 PM   #1
helenvale
LQ Newbie
 
Registered: Jul 2003
Posts: 26

Rep: Reputation: 15
Two distro on one machine.


I am new to Linux and have a passion to know more about it. Currently I installed Mandrake 9.0 as a dual-boot with Windows XP. Could I installed another Linux distro, let's say Red Hat 9, on the same partition with Mandrake and make it triple-boot? Thanks for your help.
 
Old 07-08-2003, 11:11 PM   #2
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
No, not on the same partition. You would have to have a seperate partition for each OS. Do a search here for others asking the same thing. And good luck

Last edited by twilli227; 07-08-2003 at 11:15 PM.
 
Old 07-08-2003, 11:44 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi helenvale

As twilli said - not on the same partition - each OS will need its own partition. The way I would set it up is:

Win XP /dev/hda1
Red Hat 9 Boot partition /dev/hda3 (/dev/hda2 extended)
Red Hat 9 Root partiton /dev/hda4
Red Hat 9 Swap partiton /dev/hda5
Mandrake 9 Root partition /dev/hda6
Mandrake 9 Swap partition /dev/hda7

I would use FAT32 for Win XP not NTFS.

The install order would be :

Install Win XP 1st - leave free space on your hard disk after XP for the other 2 distros

Install Red Hat 2nd - let it automatically install into the FREE space left - then manually reduce the size of the Red Hat Root partition by clicking on Edit and reducing the Megabytes - this will leave a final section of free space on your hard drive for Mandrake to go on to.

Install Mandrake 3rd into the free space left over on your hard drive

I personally would use the Lilo boot loader and install it when you finally put Mandrake on (you can temporarily use GRUB for Red Hat then just let Mandrake's Lilo overwrite it) - choose the option to install Lilo in the MBR.

Then as root in Mandrake, simply mount the Red HAt Boot and Root partitions - this will enable you to be able to edit Mandrake's Lilo.conf file succesfully when putting the entries in it for Red Hat and Windows XP.

Some people like to use GRUB for this scenario - I like to use Lilo - initially atleast I think Lilo is easier to understand and with a small number of distros, mounting the odd one in a chain is not a problem.

Best of luck
 
Old 07-09-2003, 08:00 AM   #4
ashesh
Member
 
Registered: Feb 2003
Location: Kharagpur
Distribution: RH8, RH9, FC2
Posts: 112

Rep: Reputation: 15
Hi Skyline,

Will both RH9.0 and M9.0 be able to access the same /home...

My doubt is whether I would be able to access the same folders/files from both RH and Mandrake...
 
Old 07-09-2003, 08:06 AM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
you can do it. it's just hard.
separate partitions is better.
you can search for the multi-distribution for development
howto on google if you want to try.
 
Old 07-09-2003, 08:21 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yeah, you are best off, for now, creating completely seperate directories for everything on the 2 different distros. If size is an issue (HD just isn't big enough for 2 distros) you could install 1, test it out for a week, then install the other and test it out. Figure out which one you like and keep it.

FYI: Once both distros are installed, you can always mount your other distros partitions and browse the files.

If you are dying to make a single shared directory, create a seperate one all together, don't share a standard directory. Something like /mnt/data would be a good idea.



Cool
 
Old 07-09-2003, 07:15 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Ashesh

As MasterC and Whansard have said - for simplicity your better just being happy with a Home directory in Red Hat and a seperate home directory in Mandrake - however - as has been alluded to - you can always edit the /etc/fstab files in both Red Hat and Mandrake to mount the other's respective root partitons on boot up - this would give you automatic access in Red Hat to Mandrakes Home directory, and vice versa in Mandrake you would have access to Red Hat's Home directory. The final idea has been mentioned by MasterC - that of a single shared "directory" in which both Red Hat and Mandrake could read and write to.
 
Old 07-09-2003, 07:44 PM   #8
helenvale
LQ Newbie
 
Registered: Jul 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Skyline
[B]Win XP /dev/hda1
Red Hat 9 Boot partition /dev/hda3 (/dev/hda2 extended)
Red Hat 9 Root partiton /dev/hda4
Red Hat 9 Swap partiton /dev/hda5
Mandrake 9 Root partition /dev/hda6
Mandrake 9 Swap partition /dev/hda7
Hi Skyline, thanks for your response. Why should I need a separate partition for RH9 Boot and RH9 Root? Then, could I put the RH and Mandrake swap on the same partition?

I have got Win XP installed on my PC under NTFS. What is the drawback of using NTFS in the dual/triple boot scenario? Thanks.
 
Old 07-09-2003, 08:31 PM   #9
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
you don't need 2 swap partitions. mount the same one
under each distro.
ntfs can be read by linux, but not written to safely.
for simplicity's sake, you could do over with just one
partition for for each distro, and have a swap file on
each partition, or one swap partition, or none if you
have enough ram.
if you want programs to share configs, you could do
something trickly like mounting the redhat partition
automatically under mandrake, if you consider the
redhat your main distro, and using softlinks from
your home dir to the config files in the other partition's
home dir. this will not work right for some things,
but you can figure it out as you go. just one set of
mozilla bookmarks and such, if that's what you are
aiming for.
 
Old 07-09-2003, 08:37 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi helenvale!

Quote:
Originally posted by Skyline
Win XP /dev/hda1
Red Hat 9 Boot partition /dev/hda3 (/dev/hda2 extended)
Red Hat 9 Root partiton /dev/hda4
Red Hat 9 home partiton /dev/hda5
Mandrake 9 Root partition /dev/hda6
Mandrake 9 Swap partition /dev/hda7
That way boot, home and swap are
"shared" between both distros, which
makes home "more efficient" and the
boot allows for a clever use of lilo :)

Cheers,
Tink

P.S.: I'd rather you had Slackware and Debian
than MDK and RH ;)
 
Old 07-09-2003, 08:41 PM   #11
bardinjw
Member
 
Registered: Apr 2003
Location: boston
Distribution: ubuntu debian redhat fedora
Posts: 108

Rep: Reputation: 15
being new you might not have seen all the hidden files that build up in the home dir. (files that start with a ".") these are where a lot of programs keep their config stuff. you might get conflicts in these sharing a folder between distros.
but as whansard said, you can try it out as you go. link what works, keep the others in their own partition.
 
Old 07-09-2003, 08:54 PM   #12
helenvale
LQ Newbie
 
Registered: Jul 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Thanks for all who responded. I will try.
 
Old 07-09-2003, 09:46 PM   #13
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi HelenVale

“Technically” you don’t need a boot partition at all – Lilo can access your Kernel image, Initrd.img etc ect from the “ordinary” boot directory within the Root partition on your drive – you only really need a Root partiton and Swap partition – again Swap partitions can be shared as others have mentioned – I descirbed a basic setup with Red Hat having a boot/root/swap partitons because by default that’s how Red Hat would set it up – the way I do it with Lilo doesn’t really need Red Hgat’s boot partiton – Lilo has access to both Red Hat’s and Mandrakes Kernel etc form within Mandrakes boot directory (The reason I mount Red Hat,s boot and root directories in Mandrke is so that Lilo can point to the Red Hat Kernel image succesfully – it needs to be mounted ti do that.)

As for using NTFS for XP – it depends on how you want to set XP up – if you only want XP on one partiton then I,d use FAT32 – you’ll have read/write abilities from Linux (Linux can read/write fine with FAT32) – however – if you want XP to incorporate 2 partitions ie the main XP one and a data one, then use NTFS for the main one and FAT32 for the data one – the FAT32 data partition will enable all your OS’s to read and write to/from as required )(As Whansard mentioned – Linux can read NTFS, but wrting to is still “problematic”)
 
Old 07-10-2003, 08:29 PM   #14
helenvale
LQ Newbie
 
Registered: Jul 2003
Posts: 26

Original Poster
Rep: Reputation: 15
After having trouble with Mandrake 9.0, I now have RedHat 9 installed on my PC as dual boot with Windows XP. I divide my harddrive into three partitions. One under NTFS for WinXP, one under FAT32 for data, and one for RedHat (automatic partitioning).

I use LILO as boatloader and put the boatloader on the MBR.

I think I will install Mandrake later when I already got Mandrake 9.1 CDs.

Given my configuration, is there any issue I should aware of? Thanks.
 
Old 07-10-2003, 08:42 PM   #15
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
global warming.

and if you reinstall windows, it will overwrite your lilo.
 
  


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
What Distro for server on old machine? FreeFromXP Linux - Distributions 4 08-02-2004 10:23 AM
Best Distro for an old Machine? rustyz82 Linux - Laptop and Netbook 10 05-12-2004 11:25 PM
Best distro/version for old machine? beerwulf Linux - Newbie 12 05-01-2004 02:50 PM
what distro to use for an arcade machine Abe_the_Man Linux - Distributions 3 12-26-2003 03:17 PM
Old Machine which distro is best cjstm Linux - Newbie 8 11-07-2003 12:39 PM


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