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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-05-2017, 12:05 PM
|
#1
|
Member
Registered: Dec 2016
Posts: 242
Rep:
|
default Ubuntu directories /home vs Home partition
Noob question but some confusion over directories vs partitions in a Ubuntu install.
I have a standard 4 partition setup , efi boot, root, home and swap.
But Ubuntu by default creates /home and also /root directories.
What is the difference between Ubuntu's default /home and the home partition I manually create?
What if I was also to create a 'opt' partition?
Would applications that normally install in the Ubuntu default /opt directory install instead in my opt partition?
Sorry for the confusion and thanks in advance for your feedback
Last edited by eco_bach; 01-05-2017 at 12:21 PM.
|
|
|
01-05-2017, 12:16 PM
|
#2
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Short version: One is manual and not "default"
and one is "standard" and also has a "default".
I suggest reading over https://help.ubuntu.com/community/PartitioningSchemes
If you let it do it auto, you get LVM I believe.
And I have to learn that also in 2017.
Have fun in the New Year!
Last edited by Habitual; 01-05-2017 at 12:18 PM.
Reason: s/automatic/standard
|
|
|
01-05-2017, 02:14 PM
|
#3
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Hey eco_bach ... The short answer is: partitions are lower-level sections of your hard disk, whereas the /home and /root created when you installed Ubuntu are directories on one or several of the partitions. Practically, it is easier to have certain things installed on separate partitions (especially different operating systems), whereas things like the /home directory can just as easily be installed on the same partition as your Ubuntu system (BTW, the /opt directory is not something a user should create, modify or delete).
There are advantages and disadvantages to each approach - I encourage you to read up on it for details. Swapping can be done via a fixed, separate swap partition or a swap file on your main system partition ... Same caveat as above.
Hope this helps, but feel free to reply if not.
Cheers !
|
|
|
All times are GMT -5. The time now is 07:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|