Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-05-2017, 11:05 AM   #1
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
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 11:21 AM.
Old 01-05-2017, 11:16 AM   #2
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Short version: One is manual and not "default"
and one is "standard" and also has a "default".
I suggest reading over

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 11:18 AM. Reason: s/automatic/standard
Old 01-05-2017, 01:14 PM   #3
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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 !


/home, partitioning, root

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
Default Home Directories - Link somewhere else? (10.04) wh33t Ubuntu 1 01-12-2012 12:21 AM
cannot write $(HOME).dmrc file home is on a seperate partition Person_1873 Linux - Newbie 5 12-07-2008 01:41 PM
Using a partition for multiple distro home directories koady Linux - Hardware 3 08-18-2007 01:24 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration