Home Learn Linux Linux Answers Desktop When installing where is the root file stored?
  • The root files contains basic required files that are placed in the root user's account. These files are basically the same as those in /etc/skel, which are placed in regular users' home directories.

    The root directory in the Linux file system is represented by a / (forward slash). Think of this as being the root of a tree. There are several directories that are always created by default on a Linux system, such as the directories named: home, bin and var. And each of these directories always contains the same "type" of programs or data files.
    Please visit for more info :

    Answered by rechil_colin
    3 years ago
    0 0
  • I think the question was more where is the root, and less what is the root. That was answered that it is a mount point rather than a file. The context of a new installation implies, "Where should I put the root?" I will follow on that.

    Linux can have 4 partitions. I'll work with an assumption that you have a hard drive over 100 GB.

    Linux used to (1995) need a /boot partition which could be no more than 8.4 GB from the start of the drive. It does not have that limitation.

    /, aka, root as stated is the equivalent of the \WINDOWS and \Program Files folders of Windows. /home is everything else.

    When I install (Mint Debian) I get a warning message that installing will wipe out everything in the partition. That will be the root partition. If you have only one partition then the "where" is in the same place as /home. If you have to reinstall you are in trouble; your personal files would be erased or tediously backed up and restored.

    I followed the suggestion of having at least 3 partitions: a root partition, a /home partition which is most of the disk, and a swap partition.

    I made the swap partition 8192 MB (=8 GB) because it should be twice the size of the memory. I only have 2.5 GB of memory out of the 4 GB my motherboard could handle but I have lots of space so why not?

    I made the root partition 50 GB. This is silly. Now that I have it installed I can see only 4.3 GB is actually used. I will adjust and maybe reinstall later this week.

    The rest is my /home. If my root files became corrupted -- see this article on successful Linux viruses -- -- I could make a clean install, reinstall Firefox and my extensions, bookmarks and themes would be waiting for me in my /home partition.

    Answered by dhm
    2 years ago
    0 0
  • After I wrote the above I ran into 2 articles that explained some things I didn't including some things I didn't quite know. -- Guide to disks and disk partitions in Linux

    This one parallels my experience when I added Ubuntu onto a drive that had 2 versions of Windows in 2 partitions already. That is, this advice is relevant if you don't have Windows 8 or UEFI hardware and it is informative about partitions even if you don't care to have Windows at all:
    Dual-boot Windows 8 and Ubuntu 12.10 on UEFI hardware

    Answered by dhm
    2 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Desktop

Upcoming Linux Foundation Courses

  1. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
  2. LFS220 Linux System Administration
    18 May » 21 May - Virtual (GUARANTEED TO RUN)
  3. LFS230 Linux Network Management
    25 May » 28 May - Virtual

View All Upcoming Courses

Community Answers - Search

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board