LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-30-2003, 08:20 PM   #1
d4d4n9
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1, Knoppix 3.7
Posts: 153

Rep: Reputation: 30
Installing two distros on one HD


I have one 20GB hard disk that I divided into 2 of 10GB partitions.
In one partitions I installed MDK9.2 with /swap, / , /boot, /usr and /home linux partitions.
If I want to install another distro into the 2nd 10GB partition, do I have to make /swap, / , /boot , /usr and /home partitions or can I just leave the distro to prepare itself ? Does the second distro also use /swap partition of MDK9.2 or have to own its /swap?
 
Old 12-30-2003, 08:51 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
In increasing issues, you can definitely share swap, and also boot and even home. Home can be an issue with config files - screw up one, you screw up all, and if there are incompatibilities from version to version that could be an issue. Not really sure why boot would be a problem but I have heard people express reservations. And swap's a slam dunk. /, /usr, and so on, need to be separate.

One of those 'what I say, not what I do' things - don't look at my box - I've got several systems but it's all a mess.
 
Old 12-30-2003, 10:20 PM   #3
d4d4n9
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1, Knoppix 3.7
Posts: 153

Original Poster
Rep: Reputation: 30
Thanks for advice digiot.
Thought that I will try to make a separate linux partitions for each distro and cross my fingers not to mess up the box
 
Old 12-31-2003, 03:10 AM   #4
Ajarn
Member
 
Registered: Aug 2003
Location: Thailand
Distribution: Mandiva2005
Posts: 86

Rep: Reputation: 15
for what's it worth to you.
I have a 20gig drive.
I have installed 3 distros with no problems
mandrake 9.1--mandrake 9.2--libranet 2.7
*each*has a 200mb swapfile..nb: swap gets barely used. have 512mb ram
Hadn't one problem with booting .
 
Old 01-01-2004, 10:42 PM   #5
d4d4n9
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1, Knoppix 3.7
Posts: 153

Original Poster
Rep: Reputation: 30
Thanks Ajarn for your advice.
BTW, do you also have root , /usr , /home partitions for each distro ?
What about lilo ?
TIA
 
Old 01-02-2004, 01:05 AM   #6
Ajarn
Member
 
Registered: Aug 2003
Location: Thailand
Distribution: Mandiva2005
Posts: 86

Rep: Reputation: 15
No, I have **choosen**. to take the default settings
/ (root) swap home.
This is good enough to learn whats going on.
your temp--usr--dev--etc will al be in the root directory.

Once you know what you are doing, you always can change it , if you have a good reason for it.
separate partitions certainly have their uses, but for home use, I personally don't think it is necessary

About lilo : I hadn't a problem, ans also didn't lift a finger to configure it.
everything happened automatic.
 
Old 01-02-2004, 02:22 AM   #7
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
Quote:
Originally posted by Ajarn
for what's it worth to you.
I have a 20gig drive.
I have installed 3 distros with no problems
mandrake 9.1--mandrake 9.2--libranet 2.7
*each*has a 200mb swapfile..nb: swap gets barely used. have 512mb ram
Hadn't one problem with booting .
you do know they can all share the same swap file instead of wasting 400mb. No biggies, just letting you know.
 
Old 01-02-2004, 02:23 AM   #8
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
another suggestion for the thread started, if this is all linux, you can use /home as one partition and all distros can share that as well.
 
Old 01-02-2004, 03:19 AM   #9
d4d4n9
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1, Knoppix 3.7
Posts: 153

Original Poster
Rep: Reputation: 30
Hi Ajarn and wldkos,
Thanks for all advices that I got. They help me understand how linux uses the partitions. Like I try to let the installation to arrange for default setting.
( But can I be assured the my already installed system does not go haywire ? )
TIA.
 
Old 01-02-2004, 06:15 AM   #10
Ajarn
Member
 
Registered: Aug 2003
Location: Thailand
Distribution: Mandiva2005
Posts: 86

Rep: Reputation: 15
widkos

Yes, I am well aware of the possibility of only one swap for diff installs.
I choose this because *right now* I don't care about space-waste
Thanks

BUT, your idee about one /home I like that.
What are the difficulties in doing so ?
thanks

Last edited by Ajarn; 01-02-2004 at 07:06 AM.
 
Old 01-02-2004, 09:42 AM   #11
hpnadig
Member
 
Registered: Nov 2003
Location: India
Distribution: Fedora
Posts: 43

Rep: Reputation: 15
Quote:
Originally posted by d4d4n9
Hi Ajarn and wldkos,
Thanks for all advices that I got. They help me understand how linux uses the partitions. Like I try to let the installation to arrange for default setting.
( But can I be assured the my already installed system does not go haywire ? )
TIA.
for that, you need to edit your lilo.conf and add your old distro img onto the boot list...

its very simple

use

other = /hada_old_linux/boot/boot_img
labe = "My old Linux"

make sure you store your bootloader in the native partition and not MBR...
If you're installing mandrake, you'll be asked for the option ...
 
Old 01-02-2004, 09:49 AM   #12
root3d
Member
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 40

Rep: Reputation: 15
Quote:
make sure you store your bootloader in the native partition and not MBR...
If I have two hdd's, one with xp pro, the other mandrake 9.2, can I install mdk on the MBR on my second hdd (my first hdd having xp pro) ? Because I don't want to spend 50-80 bucks for trios.

What would I have to do to dual boot with lilo?

Thanks.
 
Old 01-02-2004, 10:05 AM   #13
hpnadig
Member
 
Registered: Nov 2003
Location: India
Distribution: Fedora
Posts: 43

Rep: Reputation: 15
'cos linux treats every device as a file, there shouldn't be any pbm...

having said that, I would suggest you to try and catch somebody who's tried that before if you really don't want to mess up with it... or do a bit of experimentation...
 
Old 01-02-2004, 02:58 PM   #14
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
Quote:
Originally posted by Ajarn
widkos

Yes, I am well aware of the possibility of only one swap for diff installs.
I choose this because *right now* I don't care about space-waste
Thanks

BUT, your idee about one /home I like that.
What are the difficulties in doing so ?
thanks
with the /home partition, there is nothing distro specific on there, unlike /bin; /sbin and ;/usr (/usr/src/linuc - diff kernel)

with the /home partition, you can use any distro to mount that /home and everyone can have their /home/user files just on a diff distro.
 
Old 01-02-2004, 08:39 PM   #15
Mugatu
Member
 
Registered: Dec 2003
Location: VA
Distribution: Ubuntu
Posts: 193

Rep: Reputation: 30
i've put 2 different distros on the same computer. i put mandrake 9.2 on one hdd and suse on my second. i told suse to use the swap file on the 1st hard drive and it seems to work fine. i tried to tell it to use my /home partition on the other drive but it wouldn't do it cause the /home partition was ext3 and it said that the kernel wouldn't support it or something. i didn't try to fix it cause i was just messin around. but like i said it seemed to use the swap file (even one on a different hdd) just fine.
 
  


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
Installing multiple distros! snakeo2 Linux - Networking 5 09-13-2004 06:34 PM
Installing New Distros? snakeo2 Linux - Newbie 8 09-12-2004 08:03 AM
Installing different distros linda Linux - Distributions 15 08-12-2004 04:08 AM
Installing two distros EyeGuy Linux - Newbie 6 12-06-2001 02:52 AM
Installing distros over distros sunilkgarg Linux - Distributions 8 11-07-2001 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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