LinuxQuestions.org
Register a domain and help support LQ
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 09-11-2015, 10:08 PM   #1
ninian
LQ Newbie
 
Registered: Aug 2015
Posts: 24

Rep: Reputation: Disabled
Partition confusion


Just about ready to do my first Linux install. However, the partition size is causing me some confusion. According to the User Guide, 6GB is the recommended partition size, but if I install other software (like MythTV), isn't that going to go in the same partition? Along with their data files? Since my goal is to eventually faze out Win7, wouldn't I be better off assigning a much larger partition to Linux? Currently Win is using 176GB, so I have 510GB to work with. Is there some kind of rule of thumb/formula I should go by? I was thinking of making the Linux partition 300GB. I have several external HDDs if I need to make room in Win.
 
Old 09-11-2015, 10:25 PM   #2
dolphin_oracle
Member
 
Registered: Dec 2013
Posts: 329

Rep: Reputation: Disabled
the answer is that it all depends. I use a 20gb main drive for my OS, with a seperate partition for my data. I've never filled the OS partition, although if I stored everything in one partition, 20gb is no where near enough.
 
Old 09-11-2015, 10:31 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,408
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Is there some kind of rule of thumb/formula I should go by?
Yes but that depends on which distribution you are installing.
Reading the documentation for the distribution in which you are going to install should help.
There is more that one way to partition.
If your going to be installing to the free space on the HDD that is also sharing Windows on it you will need to manually partition your HDD for your Linux install.

You mentioned that you have 500 GB to work with.
You could make a 300 GB EXT 4 journaling file system partiion and a 1 GB Linux-swap partition for your Linux install.

As an example I created a 20 GB EXT 4 fs partition for Ubuntu and than created a linux-swap partition of 1 GB.

Quote:
if I install other software (like MythTV), isn't that going to go in the same partition?
Yes:-

-::-You might want to give details about which distribution you plan to install.-::-

https://help.ubuntu.com/community/HowtoPartition
https://linuxnorth.wordpress.com/manual-partitioning/
https://docs.fedoraproject.org/en-US...mmend-x86.html
 
Old 09-11-2015, 10:39 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,350
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
Quote:
According to the User Guide, 6GB is the recommended partition size
You might want to recheck that 6GB figure or the date on that User Guide. My /home partition on this computer is over 400GB. From the fdisk -l command:

Code:
/dev/sda1  *           63  97659134  97659072  46.6G 83 Linux
/dev/sda2       967005648 976773167   9767520   4.7G 82 Linux swap
/dev/sda3        97659135 967005647 869346513 414.5G 83 Linux
This article should help. http://www.thegeekstuff.com/2010/09/...tem-structure/

It explains a bit about the Linux directory structure, which is completely different from that of Windows.

You should be fine with a / (root) partition and a /swap partition.

If the distro you choose offers automatic partitioning, that will be the likely result unless you choose to partition manually. Most distros offer automatic partitioning as part of the install routine (Slackware notably does not).

The old rule of thumb was swap = 2 x RAM, but that was before the days of computers with four or more GB of RAM. With with 4GB of RAM or more, my rule of thumb is swap = 1/2 x RAM (unless you like to hibernate your computer, in which case /swap should be more than RAM, because hibernation files are stored to /swap). (This particular machine has 16GB RAM because I wanted it to.)

I generally set up a root partition to hold everything but /home, a separate /home, and a /swap. The reason for this is that my personal data resides on /home, so I can reinstall the OS to / without disturbing my existing /home.

(By the by, not a word of the above paragraph would have made a bit of sense to me ten years ago. Five years ago, I might have understood about half of it. Linux means learning, and learning is good.)

This LQ thread should also help: http://www.linuxquestions.org/questi...on-4175449299/

Last edited by frankbell; 09-11-2015 at 11:10 PM.
 
Old 09-12-2015, 05:05 AM   #5
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837
Quote:
Originally Posted by ninian View Post
According to the User Guide, 6GB is the recommended partition size
must be outdated.
you always have to look at the date, before following howtos found on the net.

Quote:
so I have 510GB to work with.
i would not make a single partition of that size.
how much you need for your system really depends on how you're gonna use it.
i used to use 20GB, but installing a few games quickly reaches that limit, now i have 50GB.
B-U-T, i always have a seperate partition for media/data files.

how about this: 100GB for "/" (aka root or system or installation),
and 2 more 200GB partitions for data/media.

Last edited by ondoho; 09-12-2015 at 05:07 AM.
 
Old 09-12-2015, 12:04 PM   #6
ninian
LQ Newbie
 
Registered: Aug 2015
Posts: 24

Original Poster
Rep: Reputation: Disabled
For the record, I'm installing LinuxMintRafaela. Downloaded the user guide from this website:

http://www.linuxmint.com/documentati...glish_17.2.pdf. Mint seemed like the easiest place to start getting my feet wet.

I plan to use it for the mundane home stuff and editing some videos/watching TV. Going to use vlc as an editor and save the files to external HD. Then give HD to relatives. Burning DVDs is kind of a pain and memory is getting cheaper.

That being said, I need plenty of room for video editing/TV. I'll be the only user and don't need to login I know video takes up a lot of room and I don't want to be half way thru some project and run into storage problems. That's why I thought I needed a fairly large partition. Then I decided I didn't really understand partitions. The biggest source of confusion is the swap partition. Lots of conversation about it, but not much consensus, still don't know why I need one. The swap 2XRAM would be 8GB. Plus I don't currently store any of my personal info on my desktop. Based on all that what would you recommend?
 
Old 09-12-2015, 12:31 PM   #7
ninian
LQ Newbie
 
Registered: Aug 2015
Posts: 24

Original Poster
Rep: Reputation: Disabled
Sorry, forgot to mention that the videos are all home movies from the last 20 years. So, there's that whole capture thing too.
 
Old 09-12-2015, 01:09 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,408
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by ninian View Post
For the record, I'm installing LinuxMintRafaela. Downloaded the user guide from this website:

http://www.linuxmint.com/documentati...glish_17.2.pdf. Mint seemed like the easiest place to start getting my feet wet.

I plan to use it for the mundane home stuff and editing some videos/watching TV. Going to use vlc as an editor and save the files to external HD. Then give HD to relatives. Burning DVDs is kind of a pain and memory is getting cheaper.

That being said, I need plenty of room for video editing/TV. I'll be the only user and don't need to login I know video takes up a lot of room and I don't want to be half way thru some project and run into storage problems. That's why I thought I needed a fairly large partition. Then I decided I didn't really understand partitions. The biggest source of confusion is the swap partition. Lots of conversation about it, but not much consensus, still don't know why I need one. The swap 2XRAM would be 8GB. Plus I don't currently store any of my personal info on my desktop. Based on all that what would you recommend?
A swap partition holds the tmp memory pages.
Aside from that a server can boot without a swap partition as long as there's enough RAM.

Depending on what version of Linux Mint you download (Mate, XFCE or KDE); keep in mind that once the distribution is installed the size of the os will increase and any software that you install will also increase the size of the distribution.

I have always created a swap partition on any fresh installation of Linux that I have installed.
I recommend at least a 1 GB swap partition.

Look here for more details: "Advantages and Disadvantages" for having or not having a swap partition.
http://www.makeuseof.com/tag/swap-partition/

Some Linux users don't create a swap partition instead they create a swap file.
https://wiki.archlinux.org/index.php/Swap
 
Old 09-12-2015, 04:30 PM   #9
ninian
LQ Newbie
 
Registered: Aug 2015
Posts: 24

Original Poster
Rep: Reputation: Disabled
Thanks so much! The makeuseof explanation cleared almost everything up. I'm sure I'll have more questions, but I think I'm ready to do the install.
 
Old 09-12-2015, 09:14 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,408
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by ninian View Post
Thanks so much! The makeuseof explanation cleared almost everything up. I'm sure I'll have more questions, but I think I'm ready to do the install.
Your Welcome; ninian.

Take your time and good luck!-
 
  


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
[SOLVED] Confusion Between Samba and Swap Partition hitmen Linux - Newbie 7 09-24-2011 07:48 AM
Confusion about the partition and its space zaeem Linux - Newbie 7 06-08-2011 08:48 AM
Partition Encryption - Errors and Confusion? orbit Slackware 3 06-06-2008 12:21 AM
Partition Confusion Controlpanel Linux - Newbie 3 09-11-2007 09:01 PM
a bit confusion between partition type farhan Linux - General 3 03-15-2003 02:07 PM


All times are GMT -5. The time now is 12:47 PM.

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