LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-02-2003, 08:51 PM   #1
fstreed
Member
 
Registered: Aug 2002
Location: Oregon
Distribution: SuSE 11.3
Posts: 108

Rep: Reputation: 15
linux partitions


When installing different distros of linux you are presented with various choices for setting the partitions on the hard drive. I have successfully installed everything to one big partition under /, plus a swap partition. Other times I have set up a swap and then a / partition and then another partition for home. One is also presented with other choices. Is there an advantage to creating several partitions? Is it faster, or easier to do back ups, or what?
 
Old 02-02-2003, 10:01 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Usually its best to create multiple partitions. Say for instance like /var and /tmp usually get filled up since one is for temp files and the other is log files..
If for some reason your machine goes bezerk and fills your logs completely up, it will fill your whole hard drive.. thus making no space left and causing your machine not to boot, etc. Same instance for your tmp directory..
If you create them with their own partition and something happens, they will only fill up their partition and not your whole drive.

Some create a /home partition just in case they want to reinstall their system but leave user's custom settings and files intact without messing with them.. them being on their own partition you can avoid at times restoring a system and having to backup this directory.

Usually when I install my Linux system, I usually create a

/boot
swap
/
/usr
/tmp
/var
/home

And usually for like data I share like mp3's and movies, etc, I always create a /data partition for those.

So if I ever have to reinstall my whole system, I can leave my /home and /data partition alone, not damaging or wiping out the data on them.
 
Old 02-03-2003, 08:19 AM   #3
fstreed
Member
 
Registered: Aug 2002
Location: Oregon
Distribution: SuSE 11.3
Posts: 108

Original Poster
Rep: Reputation: 15
trickykid,

That makes sense. Thanks. It seems to me it should even be possible to share a partition, like say /data or /home, between two distros?
 
Old 02-03-2003, 08:53 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You got it. Usually you can easily share /home, /tmp and other data type partitions that you used just to share misc files and such..
 
Old 02-03-2003, 10:09 AM   #5
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
Additionally (and I use the /data system, as well) I haev a friend who dual boots, and makes one partition fat32 (vfat) and sets it up as a seperate drive in windows. That way, if he has to kill his windows install, or his linux install...


Another good point is for upgrading (via replacement) of particular disks. Just being able to toss in a larger hard drive if that particular space/speed goes higher. If you are dealing with Sun boxes, a lot of times you want to know where the high IO is coming from, and you can just check partitions.

I could also point out that it is a lot easier to set up a RAID with multiple partitions than without. Can be specific as to what you want mirrored. For example, I mirror /home and /data, but not /tmp and /usr.
 
Old 02-03-2003, 10:21 AM   #6
peter72
Member
 
Registered: Oct 2002
Location: Charlottesville, VA
Distribution: Ubuntu (home), SLES (work)
Posts: 196
Blog Entries: 1

Rep: Reputation: 30
Don't forget sharing your swap between distros.

Also be careful share a single username and home dir between disto's. You can do it, but if you like to play a lot, and want to get a true feel for a distro, you will want a fresh install of the default home enviroment. I usually just create a variation of my name, ie. peters for suse, peterd for debian.

Cheers,
Pete
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux partitions Mike23 Linux - Newbie 13 05-04-2004 06:20 AM
Linux installed, linux partitions lost, computer scragged, need serious help. B4UTRUST Linux - Newbie 4 01-23-2004 10:21 AM
Win XP Install Overwrites MBR and Linux Rescue Fails to Recognize Linux Partitions carrlane Linux - Software 8 01-14-2004 07:49 AM
partitions with linux beginnerx Linux - Newbie 5 09-26-2003 03:45 PM
Linux Partitions Megos Linux - Newbie 1 06-27-2003 02:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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