Re: How to partition hard drive?
I'd combine /boot or where-ever thekernel is kept into / partition
- so that if the root partition is okay ..you can always
get into single user mode
- if /boot is a separate partition, you'd need both root and /boot
to be a "good" partition to be bootable ??
i'd also add /tmp to be a separate partition
my partition preferences
/ 64Mb or ( smaller the better )
/tmp 128Mb for silly temp files ( i use it for import/export w/ nfs )
/usr 2048Mb for /usr stuff
/var 512Mb or whatever..depending on email and web servers stuff
-- stuff above is already back'd up on the initial cdrom...
-- things you did to the box
/home rest of disk...including /usr/local
- backup only /home and /etc and logs if you want those
swap...512mb or 2x"real-memry" whichever is less
On Tue, 17 Apr 2001, will trillich wrote:
> On Fri, Apr 13, 2001 at 05:57:44PM +0200, Allan Andersen wrote:
> > If it's for personal use I would use something like similar to this:
> > /boot - 16 MB bootable
> > swap - 2 x amount of RAM in the PC
> > / - the rest
> that's a great first-install concept.
> how big your partitions are will depend ENTIRELY on what you use
> your computer for. graphics leans this way, web server leans that
> way, and gamer's paradise is completely different altogether.
> there's no set defined best way for all instances. you gotta
> figure it out for yourself.
> after you munge and install and remove and configure and add and
> download and tweak -- for a month -- you'll finally have things
> running the way you like.
> THEN you do a
> du /usr/local
> du /var
> du /home
> du /etc <-- just kidding
> du /usr <-- subtract /usr/local, of course
> to find out how much you've used.
> i'd rank each as a PERCENTAGE of the entire disk space, unless
> you feel like keeping a large partition at the end in case of
> "i'd sure like to break off this subtree" emergency...
> then do
> dpkg --get-selections '*' > ~/installed.packages
> and back up /home and /usr/local, reformat, repartition to
> reflect your usage percentages:
> /boot = 10mb or less?
> / = % from 'du' above
> /home = % from 'du' above
> swap = 2 * ram
> /var = % from 'du' above
> /usr/local = % from 'du' above
> /usr = % from 'du' above
> the partitions that are busiest should be in the middle, IMHO.
> now you can restore /usr/local and /home, then reinstall your set
> packages with
> dpkg --set-selections < ~/installed.packages