LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2014, 06:07 PM   #1
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Rep: Reputation: 1
Partition scheme


Installing Debian on external SSD drive, 60GB. RAM 3GB.
Mainly use Linux for general tasks, firmware editing and compiling. Would this partition scheme OK?

Reserving 10% of unallocated space.

swap - 2GB
/ main linux install, ext4 - 37GB
/ reserved for other distributive, ext4 - 15GB

Last edited by dorsio; 05-12-2014 at 06:11 PM.
 
Old 05-12-2014, 08:18 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I think that would be fine
 
Old 05-12-2014, 08:20 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
That should work OK. If you are going to use the hibernate feature then swap should be > 3G. If you are not going to use hibernate then a 1G swap is plenty.

Here are some considerations for using SSD in Debian.

https://wiki.debian.org/SSDOptimization

----------------------
Steve Stites
 
Old 05-22-2014, 04:53 PM   #4
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
Where user stuff are usually stored? (like programs, scripts, files) Does it make sense to create separate / home partition?
 
Old 05-22-2014, 07:04 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by dorsio View Post
Does it make sense to create separate / home partition?
Having a separate /home partition comes in handy if you are installing a new release of your distribution. You can install the new release without overwriting your user data. Another advantage of a separate /home partition is if you dual boot two different distributions you can have the two distributions use /home in common and only have a single copy of your user data.

--------------------
Steve Stites
 
Old 05-22-2014, 08:02 PM   #6
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
what is reasonable size for / home partition?

Last edited by dorsio; 05-23-2014 at 07:33 PM.
 
Old 05-22-2014, 08:57 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
I've been using a separate /home partition recently. Creating a root partition of 15 GB should give you more than enough space for the rest of the file system. You probably don't want to go smaller than 10 GB, even if you don't intend to install lots of applications.

Later:

I ran du (precisely, du -h -d 1 / > du.txt, which took me two visits to the du man page to get right) on this here Debian computer, which has been running Debian through upgrades from Lenny to Squeeze to Wheezy to Sid, which I'm currently running. It has had lots of stuff installed on it, including both Gnome and KDE, as well as lots of programs I've played with over the years.

Excluding /home and the external USB hard drive, the file system comes in at just under 15 GB.

Last edited by frankbell; 05-22-2014 at 09:42 PM. Reason: Add more info
 
Old 05-22-2014, 09:16 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by dorsio View Post
what is reasonable size for / home partition, and file system?
That depends on how much user data you have which varies a lot from person to person. I agree with frankbell's idea that you figure out the size you need for your other partitions and then give all remaining space to your /home partition.

-----------------------
Steve Stites
 
Old 05-23-2014, 06:54 AM   #9
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
Can it be like this

swap - 2GB
/ main linux install, ext4 - 30GB
/ reserved for other distributive, ext4 - 15GB
/ home 7GB
 
Old 05-23-2014, 07:53 AM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
/hpme is quite small if you ask me.
I would use guided partitioning & see what debian does.
 
Old 05-23-2014, 08:13 AM   #11
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Maybe

/root -----------> 15GB, ext4
/home -----------> 28GB, ext4
/root -----------> 15GB, ext4 (Reserver for some other distro in the future)
swap -----------> 2 GB
TOTAL 60GB

You could even make that root patitions little smaller like 12 GB and add more to your /home partition because there is where all the user data goes.

Last edited by TroN-0074; 05-23-2014 at 08:14 AM.
 
Old 05-23-2014, 08:35 AM   #12
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by TroN-0074 View Post
Maybe

/root -----------> 15GB, ext4
/home -----------> 28GB, ext4
/root -----------> 15GB, ext4 (Reserver for some other distro in the future)
swap -----------> 2 GB
TOTAL 60GB

You could even make that root patitions little smaller like 12 GB and add more to your /home partition because there is where all the user data goes.
I want reserve 10% of unallocated space. By user data I mean mainly Linux programs, scripts that I will use. Where to store these stuff if no /home directory exist?
 
Old 05-23-2014, 10:55 AM   #13
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
If you wont create a separate /home partition a installation time, the the installer scrip will create one for the user data. Like if you tell the installer to use a whole 30GB partition a portion of that space will be use for the user files and other configuration files. Check this link
http://www.thegeekstuff.com/2010/09/...tem-structure/
 
Old 05-23-2014, 04:38 PM   #14
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Personally, I'd try to do without a swap partition. If you find out later that you need it then add it in or use a swap file. Best to use swap on a mechanical drive. It would be generally cheaper to increase ram and not use swap.

Not sure what you mean no /home exists. Almost all modern distro's create a /home under / if no pre-made /home partition exists. A few might not under some unusual conditions.

Last edited by jefro; 05-23-2014 at 04:40 PM.
 
Old 05-23-2014, 05:24 PM   #15
dorsio
Member
 
Registered: Apr 2014
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by jefro View Post
Personally, I'd try to do without a swap partition. If you find out later that you need it then add it in or use a swap file. Best to use swap on a mechanical drive. It would be generally cheaper to increase ram and not use swap.

Not sure what you mean no /home exists. Almost all modern distro's create a /home under / if no pre-made /home partition exists. A few might not under some unusual conditions.
So if I will not specify to set separate /home partition, it will be automatically created during installation under / partition?
 
  


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
Partition Scheme caloj Linux - Newbie 3 02-11-2007 04:06 PM
Not sure on this partition scheme ComputerMan Slackware 8 01-14-2007 05:25 PM
Partition Scheme Randall Slack Slackware 17 11-08-2005 09:49 AM
Partition Scheme Jaster Debian 6 11-13-2004 04:28 PM
Partition Scheme Stephanie Linux - General 9 08-17-2001 12:19 AM


All times are GMT -5. The time now is 06:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration