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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-13-2004, 02:45 AM
|
#1
|
LQ Newbie
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 13
Rep:
|
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.
|
|
|
06-13-2004, 03:29 AM
|
#2
|
Member
Registered: Oct 2003
Location: Portugal
Distribution: Gentoo
Posts: 116
Rep:
|
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?
|
|
|
06-13-2004, 03:46 AM
|
#3
|
LQ Newbie
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 13
Original Poster
Rep:
|
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.
|
|
|
06-13-2004, 04:45 AM
|
#4
|
LQ Newbie
Registered: Jan 2004
Location: Spain
Distribution: Mandrake
Posts: 23
Rep:
|
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!
|
|
|
06-13-2004, 07:00 AM
|
#5
|
Member
Registered: Oct 2003
Location: Portugal
Distribution: Gentoo
Posts: 116
Rep:
|
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???
|
|
|
06-13-2004, 07:29 AM
|
#6
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
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 /
|
|
|
06-13-2004, 08:20 AM
|
#7
|
LQ Newbie
Registered: Jan 2004
Location: Munich,Germany
Distribution: Slackware 10 - 2.6.7
Posts: 25
Rep:
|
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.
|
|
|
06-13-2004, 10:06 AM
|
#8
|
LQ Newbie
Registered: Jan 2004
Location: Spain
Distribution: Mandrake
Posts: 23
Rep:
|
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).
|
|
|
06-13-2004, 10:18 AM
|
#9
|
LQ Newbie
Registered: Jan 2004
Location: Munich,Germany
Distribution: Slackware 10 - 2.6.7
Posts: 25
Rep:
|
uh maybe youre right, im sorry
you dont even need a partition, you could have a swap file, thats another possibility
|
|
|
06-13-2004, 12:24 PM
|
#10
|
Member
Registered: Oct 2003
Location: Portugal
Distribution: Gentoo
Posts: 116
Rep:
|
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...
|
|
|
06-13-2004, 08:11 PM
|
#11
|
LQ Newbie
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 13
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 12:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|