Gnuru.org
Productive Linux


Subscribe

 Subscribe via Feedburner in a reader

Enter your email address:

Delivered by FeedBurner


Login
Login:
Password:



Don't have an account?
Sign up to Gnuru.org
Forgot your password?

Partitioning Schemes
7 April 2004 @ 09:11 BST
by Paul

I've installed many Linux systems, but every time I always start wondering what disk partitioning scheme I should use.

Some possible ones are:

  1. I've always start with the assumption that a traditional partitioning system with
    swap
    /usr
    /var
    /tmp
    /home
    and
    /
    on seperate partitions is best, but on many systems it isn't.
  2. For newbie, single user and SOHO systems, two partitions a
    swap
    and
    /
    partition is the easiest
  3. Another newbie setup is to have three partitions for
    swap
    ,
    /home
    and
    /
  4. If you use your system as anything other than a workstation then you might want to protect it from buffer overruns and spamming by putting
    /var
    or
    /tmp
    or
    /var/mail
    or
    /var/spool/news
    on their own partitions
  5. If you compile and install a lot of software that isn't part of the official distribution you are using, you might want to put
    /usr
    and
    /usr/local
    on different partitions
  6. If you are running a database or doing a lot of database development work, you might want to put
    /var
    or
    /var/lib/mysql
    or
    /var/lib/postgres
    on their own partitions.
  7. Then of course, what you think you will be doing with the system when you first partition the hard disk, may change and you'll find that your original paritioning scheme just doesn't work (I know it's happened to me!



Hello Tony,

This is Linux, so you can do anything you want. One option would be to devote a seperate partition to Debian and on boot direct your boot loader (grub or lilo) to boot from the partition related to the operating system you want to work in.

Don't forget that you can mount the other partition or partitions so you can have your Debian files available for work when running Suse and vice versa.


Posted by Guest User on 2006-07-08 12:31:33.

Hi Paul,

I've been using SuSE for a while now, and I'd like to try my hand with another distro such as Debian. However, I'm very comfortable with SuSE, and so do not want to just ditch it outright.

The solution would seem to be to dual boot SuSE and Debian off the same system, but this raises the question: How should the disc be partitioned to allow the distros to co-reside?

Thanks for your time,

Tony.

amsbradley@blueyonder.co.uk


Posted by Guest User on 2006-06-30 11:49:58.
Leave a comment:

Are you human?