LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-07-2010, 07:37 PM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
Partition sizes for Lenny


On a 320 GB harddrive, how would you set the partitions to run Debian? what sizes, etc

I've already got it installed, but I'm wondering how my little makeup compares to the way it actually should have been done (I'm sort of just winging it at the moment)
 
Old 02-07-2010, 07:55 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
It depends on what you want to use the system for. For laptops I put everything in one partition, for workstations at least a separate /home, on servers separate /,/usr,/var,/tmp,/home,/dataX and so on.

Evo2.
 
Old 02-07-2010, 07:58 PM   #3
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
for a laptop whose main uses are multimedia (movies/music), games (via PSX and GBA emulators), and productivity (openoffice, etc)
 
Old 02-07-2010, 08:08 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Cultist View Post
for a laptop whose main uses are multimedia (movies/music), games (via PSX and GBA emulators), and productivity (openoffice, etc)
I've never had a laptop with more than a 40 GB drive. In your case with over 300, I'd probably give about 50 Gb to / and the rest to /home (plus a couple of GB for swap).

This way you will have plenty of space for the OS (in reality 20 GB should be more than enough), and since your /home is on a separate partition you can easily reinstall from scratch without loosing all you data/media.

But I'm sure others will have conflicting opinions.

Evo2.
 
Old 02-07-2010, 08:57 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
Originally Posted by evo2 View Post
I've never had a laptop with more than a 40 GB drive. In your case with over 300, I'd probably give about 50 Gb to / and the rest to /home (plus a couple of GB for swap).

This way you will have plenty of space for the OS (in reality 20 GB should be more than enough), and since your /home is on a separate partition you can easily reinstall from scratch without loosing all you data/media.

But I'm sure others will have conflicting opinions.

Evo2.
Sounds about right. / /home and /swap is all you really need, unless installing on a server. I don't even bother with /home since I keep everything important backed up on a 16gb usb drive and a 16gb sdhc card.
 
1 members found this post helpful.
Old 02-08-2010, 01:26 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I don't even bother with /home since I keep everything important backed up on a 16gb usb drive and a 16gb sdhc card.
If you have a separate /home, all your settings will be saved when you reinstall.
 
Old 02-08-2010, 02:30 PM   #7
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
I actually had to reinstall debian last night because of a giant dumb mistake I made that I'm not going to go into :P but since I had the opportunity to redo my partitions before the install, I made the partitions 60 gb /, 2.7gb swap, and the remainder (250-something)gb as /home. should I have given more into swap? I was trying to make it 5 gb but it kept giving me trouble with the resize so I just left it at 2.7.
 
Old 02-08-2010, 02:58 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
should I have given more into swap?
On a 4 GB system swap won't be used allot.
 
Old 02-08-2010, 10:30 PM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by Cultist View Post
I actually had to reinstall debian last night because of a giant dumb mistake I made that I'm not going to go into :P but since I had the opportunity to redo my partitions before the install, I made the partitions 60 gb /, 2.7gb swap, and the remainder (250-something)gb as /home. should I have given more into swap? I was trying to make it 5 gb but it kept giving me trouble with the resize so I just left it at 2.7.
60gb seems like an awfully big "/" drive; you're not really going to be using more than 20 unless you make a real effort at it. There are plenty of arguments, err discussions, about the proper swap size.
 
Old 02-09-2010, 07:40 AM   #10
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
60gb seems like an awfully big "/" drive; you're not really going to be using more than 20 unless you make a real effort at it.
I'd say it depends if the op is looking to play games on the machine.
I know from my own machine Q4 takes up around 4gb of space on the hard drive alone.
So if you have a number of games installed plus a 'full' Linux install 20gb probably won't be enough.
 
Old 02-09-2010, 09:45 AM   #11
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
thanks all
 
Old 02-09-2010, 11:14 AM   #12
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by the trooper View Post
I'd say it depends if the op is looking to play games on the machine.
I know from my own machine Q4 takes up around 4gb of space on the hard drive alone.
So if you have a number of games installed plus a 'full' Linux install 20gb probably won't be enough.
But why would you put that stuff in "/"?
 
Old 02-09-2010, 11:19 AM   #13
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
But why would you put that stuff in "/"?
I'm not suggesting putting stuff in "/".
Most of the Linux games i've installed install to /usr/local/games or /usr/games.
 
Old 02-09-2010, 11:31 AM   #14
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by the trooper View Post
I'm not suggesting putting stuff in "/".
Most of the Linux games i've installed install to /usr/local/games or /usr/games.
That's still in "/" as far as I'm concerned unless you've moved /usr to a separate partition or disk. My practice is to leave Linux to Linux, and put my stuff on "/data". I know, it's not standard, but I feel it works better on the home desktop.
 
Old 02-09-2010, 11:39 AM   #15
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Exactly right.
So when you install a game to /usr/wherever,space is used in the "/" partition.
Hence why i was suggesting 20gb for the "/" partition may be a little small.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition sizes fstreed SUSE / openSUSE 10 05-07-2005 08:58 AM
Partition sizes for me Doctor Orange Linux - Newbie 2 08-13-2004 09:50 AM
Partition sizes r3dhatter Linux - Newbie 8 07-19-2004 09:01 PM
Partition Sizes JonyKyte Linux - Newbie 12 12-23-2003 07:48 AM
partition sizes scrambled2k3 Linux - Newbie 7 02-21-2003 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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