LinuxQuestions.org
Visit Jeremy's Blog.
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 06-13-2004, 02:45 AM   #1
inline.skater
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 13

Rep: Reputation: 0
How would I boot 3 Operating Systems?


I have been having problems everytime I try to compile applications from there source. So, I wanna try a different Linux distro because Mandrake 10 is getting on my nerves. So, I read good things about Gentoo and that there is no RPM management system mess with things. I've been reading up on the Gentoo Installation Handbook, and have been thinking about how I would partition everything, because I wanna keep my Windows 98 and Mandrake 10 partitions. So, my question is : Is it possible to boot 3 different operating systems? My secong question is: How would I go about setting up the partitions? Thanks for any help.
 
Old 06-13-2004, 03:29 AM   #2
Covel
Member
 
Registered: Oct 2003
Location: Portugal
Distribution: Gentoo
Posts: 116

Rep: Reputation: 16
Yes, you can boot 3 operating systems. You only have to configure GRUB properly to have 3 choices when booting.

Quote:
My secong question is: How would I go about setting up the partitions? Thanks for any help.
Can you be more specific?
 
Old 06-13-2004, 03:46 AM   #3
inline.skater
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 13

Original Poster
Rep: Reputation: 0
I was reading through the Gentoo Installation Handbook, and when I got to the part about partitioning it got complicated. I would have to make 3 different partitions : /boot , a linux swap, and linux native. Well, I would I name the partitions so that they don't interfere with eachother. I don't wanna have to uninstall Mandrake to install Gentoo.
 
Old 06-13-2004, 04:45 AM   #4
Bosnja
LQ Newbie
 
Registered: Jan 2004
Location: Spain
Distribution: Mandrake
Posts: 23

Rep: Reputation: 15
If I remember well, the different distributions can use the same partition swap and /home. That is to say, now you hace Mandrake 10 and it will be partitionated like this: /, swap and home (linux native). When you install Gentoo you won't need to create a partition swap and home for gentoo, you can use the ones you have for Mandrake (all you must do is to select the mount point during the installation). The only new partition is / for Gentoo. And remember that the users can't be the same name in Mandrake and Gentoo (e.g., inline.skater could be for Mandrake and inline.skate for Gentoo).

Resuming; you'll have these partitions:
/ for Mandreake 10
swap for both Mandrake 10 and Gentoo
home for both of them.
/ for Gentoo

Hope it helps!
 
Old 06-13-2004, 07:00 AM   #5
Covel
Member
 
Registered: Oct 2003
Location: Portugal
Distribution: Gentoo
Posts: 116

Rep: Reputation: 16
Quote:
Originally posted by Bosnja
And remember that the users can't be the same name in Mandrake and Gentoo (e.g., inline.skater could be for Mandrake and inline.skate for Gentoo).


Uh??

Why can't he have the same usernames???
 
Old 06-13-2004, 07:29 AM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Quote:
Originally posted by Bosnja
If I remember well, the different distributions can use the same partition swap and /home.
They can share the same swap partition but it's a bad idea to share /home. I don't see any advantage in having any seperate partitions. Just swap and /
 
Old 06-13-2004, 08:20 AM   #7
Villain
LQ Newbie
 
Registered: Jan 2004
Location: Munich,Germany
Distribution: Slackware 10 - 2.6.7
Posts: 25

Rep: Reputation: 15
Hi

Quote:
Originally posted by Bosnja

Resuming; you'll have these partitions:
/ for Mandreake 10
swap for both Mandrake 10 and Gentoo
home for both of them.
/ for Gentoo

[/B]
that wont work properly for him because he has a windows partition.
the maximum number of primary partition is 4.
swap, / , and the windows partition have to be primary.
the only way this works is to give up the partition for your home dir and put it into /.
i guess /boot doesnt need its own partition, youll use grub or lilo anyway

/ for Mandreake
/ for Gentoo
/swap (both can use one)
your Windows

if you have more than one hd, you have much more options.
try to get used to fdisk and partitions, youll need it.
 
Old 06-13-2004, 10:06 AM   #8
Bosnja
LQ Newbie
 
Registered: Jan 2004
Location: Spain
Distribution: Mandrake
Posts: 23

Rep: Reputation: 15
Red face

Quote:
Originally posted by Covel
Uh??

Why can't he have the same usernames???
... Let's see my case. In Mandrake my user is Alicia, so there is a /home/alicia/ where lies all the files for this user: config files, temp, programs installed (if you want to install them here, etc). So now if you put Gentoo (or any other) and try to use the same partition, Gentoo will try to create /home/Alicia. And as I guess isn't possible to have 2 files with the same name... So the user in Gentoo should be Ali, Alice or whatever.
Anyway, as I'm a newbie I'm not sure of this (it's just my imagination). So, thanks Andrew Benton and Villain for telling him things clearer (of course there should be a Windows partition). But Villain... swap must be primary? I've installed Mandrake like this: with / as primary, but swap and home are inside an extended partition (Mandrake partitioned itself during the installation).
 
Old 06-13-2004, 10:18 AM   #9
Villain
LQ Newbie
 
Registered: Jan 2004
Location: Munich,Germany
Distribution: Slackware 10 - 2.6.7
Posts: 25

Rep: Reputation: 15
uh maybe youre right, im sorry
you dont even need a partition, you could have a swap file, thats another possibility
 
Old 06-13-2004, 12:24 PM   #10
Covel
Member
 
Registered: Oct 2003
Location: Portugal
Distribution: Gentoo
Posts: 116

Rep: Reputation: 16
Quote:
Originally posted by Bosnja
... Let's see my case. In Mandrake my user is Alicia, so there is a /home/alicia/ where lies all the files for this user: config files, temp, programs installed (if you want to install them here, etc). So now if you put Gentoo (or any other) and try to use the same partition, Gentoo will try to create /home/Alicia. And as I guess isn't possible to have 2 files with the same name... So the user in Gentoo should be Ali, Alice or whatever.
Anyway, as I'm a newbie I'm not sure of this (it's just my imagination). So, thanks Andrew Benton and Villain for telling him things clearer (of course there should be a Windows partition). But Villain... swap must be primary? I've installed Mandrake like this: with / as primary, but swap and home are inside an extended partition (Mandrake partitioned itself during the installation).
I didn't notice you were talking about sharing the same partition for /home. Anyway, you can always specify a different directory for each user:

Code:
delphis root # useradd
usage: useradd  [-u uid [-o]] [-g group] [-G group,...]
                [-d home] [-s shell] [-c comment] [-m [-k template]]
                [-f inactive] [-e expire ] [-p passwd] name
       useradd  -D [-g group] [-b base] [-s shell]
                [-f inactive] [-e expire ]
Not very useful thou...
 
Old 06-13-2004, 08:11 PM   #11
inline.skater
LQ Newbie
 
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 13

Original Poster
Rep: Reputation: 0
So if I was using fdisk to partition all of this, I would mount /mandrake as linux native and mount /gentoo as linux native. Then I would just leave my current swap partition. Is there anything else I would have to do?
 
  


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
fedora and other operating systems bong.mau Fedora 3 11-07-2005 06:39 PM
multi boot 3 operating systems eddwed Linux - Newbie 1 02-18-2005 07:09 PM
system with three operating systems lyonsd Linux - Software 8 03-10-2004 05:13 PM
Dual operating systems Orienthal Linux - Networking 3 06-07-2001 06:43 PM
Two Operating Systems PEDRO Linux - Software 1 01-28-2001 10:34 AM


All times are GMT -5. The time now is 01:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration