LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2003, 03:30 PM   #1
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
Install 2 OS


I would like to know how can I install Redhat and Slack 9.0, which OS first? and how many partitions I need to do, and what partitions? Thanks
 
Old 06-01-2003, 06:37 PM   #2
MoRoSiS
LQ Newbie
 
Registered: Dec 2002
Location: Brisbane
Distribution: Slackware & LFS 4.0
Posts: 6

Rep: Reputation: 0
Either OS can be installed first, you just need to add an entry for each into the lilo or grub boot loader configuration, whichever you're using.

As for partitions, I would recommend having one partition for each system, one swap file partition which can be used by both, depending on which you boot at the time, and one partition for the /usr directory tree. This way you can store all your personal data in the /usr directory, which is another partition completely, and have each distro mount that partition on /usr, making the info available to each distro.

Also, if something horrible goes wrong with one distro, then you can also access that info from the other distro as it should remain unaffected.

I'm sure there'll be many more views to this, but that's my $0.02
 
Old 06-01-2003, 06:45 PM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
You mean a seperate /home partition. I dont think a seperate /usr one will help, that's where apps go iirc.
I personally have 2 / partitions, one swap, and 2 /usr partitions. No chance of conflicting app versions or anything.

Use a journalised file system for all but the swap ones! Ext3 or ReiserFS. Saves a lot of problems when things go slightly wrong

Last edited by Proud; 06-01-2003 at 06:47 PM.
 
Old 06-01-2003, 06:49 PM   #4
MoRoSiS
LQ Newbie
 
Registered: Dec 2002
Location: Brisbane
Distribution: Slackware & LFS 4.0
Posts: 6

Rep: Reputation: 0
yeah sorry Proud, I think that's what I did mean... what I was thinking was that all the non-system proggies are usually stored in the /usr dir (according to the File Heirarchy Standard) and therefore if they are on another partition you don't have to have them installed on each system, just mount that partition to /usr.

But for data it would be the same thing using the /home dir as a mount point for all the user data.

Sorry, just got my wires crossed.
 
Old 06-01-2003, 07:02 PM   #5
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Yeah I think non-vital apps are in /usr, but how would you install another distro without attempting to write over these or encountering other problems? Plus it's nice to have a desktop install and a stripped&locked down server style install for practice
I also dunno how smart some apps are if you have different versions installed but use the same /home partition for storing their configs.
 
Old 06-01-2003, 07:09 PM   #6
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Hi again:

I installed Redhat fist now I want Install Slack 9.0.

I maked 1 "/ partition", "1 swap", "1/home" and I leave the rest of my 30 GB free, (about 10GB free), I tried to make another "/partition ext3" but appear me that I have one and cannot make another one, what can I do,?

PS: How can I do to appear me in my grub the both OS?

Thanks!!
 
Old 06-01-2003, 07:13 PM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
You can edit the bootloader afterwards, just be sure to not have the second install do anything to the loader or MBR yet. Unless you want to only be able to boot Slask for a little while.
How are you trying to make that partition? You can only have one / partition mounted in a system, but you can format the drive and mount the partition as a different name for each install.
 
Old 06-01-2003, 07:21 PM   #8
MoRoSiS
LQ Newbie
 
Registered: Dec 2002
Location: Brisbane
Distribution: Slackware & LFS 4.0
Posts: 6

Rep: Reputation: 0
to use a separate partition with your apps (like openoffice and xmms for example) mounted on /usr you will obviously have to have modified the standard install setup of both distros, so essentially you install the basic distro without all the extra productivity/entertainment programs, and then install the productivity/entertainment programs that you would like to use on a separate partition mounted on /usr.

You would have to make sure that all dependencies are accounted for in each distro, but that's part of the work of setting up your system like this. Same goes for the config files, but if you had one partition with all your programs on it, then you wouldn't need different versions and they would simply use the same config file in the /home dir or wherever.

Notable exceptions would be programs like gcc as I can see these may have problems attempting to use it on both distros, because of different versions of glibc or the kernel header files version used, or whatever.

Also, you would have your separate XFree for each distro, as that way you can have your stripped down system and your desktop one, while still allowing you (if you wish) to play music/view openoffice docs on the stripped down system (so long as the requirements for that program are taken care of of course).
 
Old 06-01-2003, 07:28 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
And that sounds like a lot of hastle just to really have to runlevels with the same name but starting different services. You can already have more than one kernel booted for one install, so why tie two installs together?
I'm sure you could do it, but what do you gain? Except maybe saving some space from only having one /usr. But that isnt a lot, is it?
 
Old 06-01-2003, 07:34 PM   #10
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
I trying to do the new partition for slack 9.0 with Disk Druid of RedHat CD, what do you think? you said me that I can format the drive and mount the partition as a different name? how can I do that? please if you can tell me step by step I will appreciate you.

Thanks to MoRoSiS and Proud!!
 
Old 06-01-2003, 07:44 PM   #11
MoRoSiS
LQ Newbie
 
Registered: Dec 2002
Location: Brisbane
Distribution: Slackware & LFS 4.0
Posts: 6

Rep: Reputation: 0
Yeah Proud, it may seem like a little hassle, but so's installing two different distros... what gain can really be had? Both can turn into the same system with a little work, so what's the point of having both? But that's what some people want to do... it's just playing to learn basically. I know a few people who have done this and it has helped them to learn a bit more of what makes a linux system tick (though I'm a bit of a newbie myself, I know many of the basics).
 
Old 06-01-2003, 09:11 PM   #12
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
You suggets me that just install one OK, but now I have a 10GB free space without partition what can I do to take advantage of the free space ? I tried with this:

[root@ud3-25 Gerardo]# /sbin/fdisk /dev/shm
You will not be able to write the partition table.

Unable to read /dev/shm

Thanks

Last edited by Gerardoj; 06-01-2003 at 09:28 PM.
 
  


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
fc3 install doesnt install grub properly onto sata drive sabo Linux - Newbie 4 02-03-2007 04:04 PM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 01:29 AM
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 06:40 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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