Guidance required for best practice Partition required for Mint .

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
vgdoshi
Level 1
Level 1
Posts: 8
Joined: Mon Apr 17, 2017 3:07 am

Guidance required for best practice Partition required for Mint .

Postby vgdoshi » Fri Apr 21, 2017 12:31 am

Hello

I am going to install "linuxmint-18.1-mate-64bit" on my dell laptop having 500GB. I am confused as in RHEL it doesnt allow to create more than 4 primary partition.
In RHEL we normally create 3 primary + 1 extended & rest partition as logical in that extended partition.

I am planning to use Mint for running application based on jboss & postgresql

In Mint I want to create separate partition for all mount points (also i can use 100GB from my existing HDD for Mint), I will be creating following partitions.
/ approx 10GB
/boot approx 2GB
/home approx 5GB
swap approx 8GB (laptop has 4GB RAM)
/tmp approx 5GB
/var approx 10GB
/usr approx 20GB
/opt approx 5GB

Now I came to know a mandatory partition also needs to be created in Mint ie /boot/efi which dont know the purpose but i will make it of 2GB

My query is which partitions i should keep as primary & which partition should i create as logical.

Kindly assist

Regards
Vishal

Cosmo.
Level 21
Level 21
Posts: 13586
Joined: Sat Dec 06, 2014 7:34 am

Re: Guidance required for best practice Partition required for Mint .

Postby Cosmo. » Fri Apr 21, 2017 5:09 am

vgdoshi wrote:In Mint I want to create separate partition for all mount points

Why? You asked for "best practice", such cluttering of partitions is usually far away from that goal.
Usually you need the system partition (= / ) with about 20 to 30 GB and swap (size depends from the unknown amount of RAM); a separate /home (the rest of the space) is recommended, but with only 5 GB I wonder, if you plan to store near to never user data.

vgdoshi
Level 1
Level 1
Posts: 8
Joined: Mon Apr 17, 2017 3:07 am

Re: Guidance required for best practice Partition required for Mint .

Postby vgdoshi » Fri Apr 21, 2017 5:56 am

Hello

I assume that if we make single partitions under / of 20 to 30 GB and due to some reason if /usr utilizes all 20 GB ,than what ?
I have given /home 5gb as i will be having no data in user folder.

Regards
Vishal

Cosmo.
Level 21
Level 21
Posts: 13586
Joined: Sat Dec 06, 2014 7:34 am

Re: Guidance required for best practice Partition required for Mint .

Postby Cosmo. » Fri Apr 21, 2017 6:14 am

My system is more than 2.5 years old and /usr has a size of 5.5 GB. Besides that; a separate partition for /usr does not circumvent the unlikely case, that it grows to such a tremendous size.

BTW: My /var folder has 6.8 GB (so a little bit more than /usr), but you want to give it only the half size of /usr.

At the end: You are likely maneuvering into self-made problems. Those will not appear at once, but if you proceed as planned and you fall int them you should remember my warning.

Lemongrass38
Level 4
Level 4
Posts: 288
Joined: Mon Dec 12, 2016 11:29 pm
Location: Central Europe

Re: Guidance required for best practice Partition required for Mint .

Postby Lemongrass38 » Fri Apr 21, 2017 6:18 am

I've never seen such an OS that has so many partitions.

My HDD is split to:
/ 30 GB for main OS
(60 GB for 2 other distros)
400 GB data
10 GB swap.

This is quite a common way to use your OS. Nowadays, the / partition should have a little more space like 40...50 GB to make sure it fits.

Then you can store all your data in the data partition and symlink all to your home folder. My home folder consists of .files .folders, links to my data partitions and a few actual folders.

What .Cosmo said is quite likely to happen. Also note that Mint can handle partitions good enough only if they are not very full (about 80% is still okay).
Last edited by Lemongrass38 on Fri Apr 21, 2017 6:26 am, edited 1 time in total.
Arch Xfce, Debian Xfce
If your issue is solved, please be so kind and indicate that by editing the topic title in the first post. :)

User avatar
Pierre
Level 14
Level 14
Posts: 5031
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Guidance required for best practice Partition required for Mint .

Postby Pierre » Fri Apr 21, 2017 6:22 am

yep, that way too many partitions,
- you only will need 2 -3 partitions, for that 100Gb area.

maybe:
- 10Gb = / root
- rest of HDD = / home -- if you want that separate.
1 -2 Gb = /swap & ~8Gb if you wish to use hibernation.

you don't need anything more complicated than that.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
Habitual
Level 13
Level 13
Posts: 4756
Joined: Sun Nov 21, 2010 8:31 pm
Location: Youngstown, Ohio
Contact:

Re: Guidance required for best practice Partition required for Mint .

Postby Habitual » Fri Apr 21, 2017 6:30 am

vgdoshi wrote:

Code: Select all

/         approx 10GB
/boot   approx 2GB
/home approx 5GB
swap  approx 8GB  (laptop has 4GB RAM)
/tmp approx 5GB
/var  approx 10GB
/usr approx 20GB
/opt approx 5GB

Try defaults.
/home approx 5GB Nope.

That's so old school, I have to ask.
Someone who can't partition or size one correctly need that many?
Best Practice for what? How about defaults?
Old "best practices"? That layout resembles Linux in 2004, or earlier or even Unix or a *BSD

Cosmo. is right.
Best practice? "less is more". I think you are over thinking it.
Try defaults? Get a feel for the process. It may not go right the first time, but you'll get the feel for it.
You can always redo it in less time too! ;)

Start Here:

Code: Select all

25 G  /
5 G for /swap
Rest for /home


My guidance is "severe"
Try defaults.

Too many partitions is a handicap should you need to go in and "move something around" later.
on that hoopty laptop with 4G of ram. Fewer partitions means gPartEd can utilize faster operations later, if necessary

User avatar
Pjotr
Level 17
Level 17
Posts: 7684
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Guidance required for best practice Partition required for Mint .

Postby Pjotr » Fri Apr 21, 2017 6:34 am

Only / and swap, and if you wish (not for me!) also /home. So two partitions, maybe three. Maximum.

More than that, is an unnecessary layer of complication and, most importantly, also an extremely inefficient distribution of disk space. What you're intending is just plain crazy. Don't do it. :shock:
Tip: 10 things to do after installing Linux Mint 18.1 Serena
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Lemongrass38
Level 4
Level 4
Posts: 288
Joined: Mon Dec 12, 2016 11:29 pm
Location: Central Europe

Re: Guidance required for best practice Partition required for Mint .

Postby Lemongrass38 » Fri Apr 21, 2017 6:38 am

Another thing you can consider: if you plan to use multiple GNU/Linux distributions, a separate data partition might be better (because you won't mix your home folders and .files and .folders that contain settings). For a single OS, a separate /home might be better.
Arch Xfce, Debian Xfce
If your issue is solved, please be so kind and indicate that by editing the topic title in the first post. :)

vgdoshi
Level 1
Level 1
Posts: 8
Joined: Mon Apr 17, 2017 3:07 am

Re: Guidance required for best practice Partition required for Mint .

Postby vgdoshi » Fri Apr 21, 2017 6:39 am

Ok Thanks for your replies ...I will try it out with less partitions.

Thanks all


Return to “Installation & Boot”

Who is online

Users browsing this forum: jcholmes, sarge816 and 6 guests