No Root File System is Defined Ubuntu Error [Fixed]

Photo of author

By Victor Ashiedu

Published

This Itechguide teaches you how to fix “No Root File System is Defined” error. The guide covers steps for 3 methods to fix the error.

No Root File System is Defined

Expand “Browse Post Topics” below to go straight to a topic.

Why this Error Message?

The error message will come up when you are installing a Ubuntu or other Linux distributions. I once received this error when I was installing Ubuntu.

This may be caused by any of the following:

  1. You have not created a valid Linux partition
  2. You are trying to use a Windows partition (FAT or FAT32) to install Ubuntu
  3. A Linux partition exists but you have NOT defined the root partition (“/”)

Options to Fix the Error

Follow the steps below to fix this error message and continue your Ubuntu Linux installation.

Below are the solutions:

Option 1: Create a Linux Partition and Assign a Root Partition

Follow the steps below:

  • On the Installation type page, select a free partition. Then click the + sign to add a partition.
No Root File System is Defined
  • When you click the + sign, the Create partition window will load.
No Root File System is Defined
  • On the Create partition window configure the following:
  1. On the Size field, the default will be the full size of the partition. Enter a value here in MB.
  2. Then select the type of partition, Primary or Logical partition.
  3. On the Location for the new partition, select Beginning of space or End of space.
  4. Next, select a file system. I selected the default, Ext4 journaling File system
  5. Finally, select a Mount point. The Mount point drop-down shows the following options:
Ubuntu Mount points
For a root partition, select /.
  • When you finish, click Ok.
No Root File System is Defined

Option 2: Delete Existing Windows Partition

If you received this error because you selected a FAT32 or FAT file system, you have to delete it. When you delete the partition, it will appear as a free partition. You can then use the steps in the last section to re-create the partition.

You may also modify the partition. Details later in this section.
  • To delete a partition, right-click it and select Delete.
  • You may also select Change to change the file system to a Linux file system.
  • When you click Change, the highlighted part of the image below will load. To change the file system to a Linux file system click the Use as drop-down. Select a file system. Then click Ok.

Option 3: Define a Root Partition

This error may still occur if you have a partition but do not define a root (/) partition.

If there is no root mount point, no partition will have the / as mount point. See the image below.

To fix this:

  • Right-click on the partition you wish to use as root and select Change. You may also double-click the partition.
  • When Edit partition option opens, beside Mount point click the drop-down and select /. Then click Ok.
You should now be able to continue with your Ubuntu installation. Select the partition you created, check the Format? column. Then click Install Now.

Frequently Asked Questions

1. What is the root of a file system?

An Operating Systems file system is organized in hierarchies.

The root of a file system is the top or base of the file system. On Windows OS, the root of a file system is the base drive letter, for example C:\.

However, on a Unix-based OS like Linux, the root is defined by “/”. Note that most Unix-based Operating Systems have a /root directory – this is not the root of the file system, it is just a directly on top of the root directory.

2. What is a root partition?

“Root partition” is a term used in hypervisors – it is the partition where the hypervisor runs. This partition has direct access to devices and memory.

3. What file system does Windows 10 use?

NTFS (New Technology File System) is the default file system used in recent versions of Windows Operation Systems, including Windows 10.

Unlike the FAT and FAT32 file systems, NTFS is more reliable and secure – offering disk quotas, encryption, and more.

4. Do I need a separate home partition?

Not necessarily. The importance of having a separate Home partition is to separate your Operating System and config files from your user file.

Most Linux OS creates a Home partition by default. However, the default Ubuntu installation only creates the Root and Swap partitions – NOT Home.

Most experts agree that the biggest advantage of having a separate Home partition is to allow you to upgrade your operating system without losing most of your custom settings.

5. How much is a root partition?

The size of the root partition depends on the minimum requirements for each Linux distro. For example, for Ubuntu, the minimum size is 8 GB but the recommended size is 15 GB.

I will generally say to make your root partition at least 25 GB to give enough room.

Conclusion

There are three possible causes of the “No Root File System is Defined” error. One, if you try to install Ubuntu before creating a Linux Partition.

Secondly, I experienced this error when I tried installing Ubuntu on a Windows partition. Finally, you may also receive this error if you create a Linux partition but fail to define a root partition.

To cover these three situations, I showed 3 options to fix the issues depending on the cause of the error. I am confident that one of them would work for you and I am keen to know which – let me know using the “Leave a Reply” form located at the bottom of this page.

If, however, none of the 3 options worked for you, kindly respond No to the “Was this page helpful?” question below and provide as many details as possible.

Finally, for more Linux Itechguides, visit our Linux How-To page.

About the Author

Photo of author

Victor Ashiedu

Victor is the founder of InfoPress Media, publishers of Ilifeguides and Itechguides. With 20+ years of experience in IT infrastructure, his expertise spans Windows, Linux, and DevOps. Explore his contributions on Itechguides.com for insightful how-to guides and product reviews.

Related Articles

Get in Touch

We're committed to writing accurate content that informs and educates. To learn more, read our Content Writing Policy, Content Review Policy, Anti-plagiarism Policy, and About Us.

However, if this content does not meet your expectations, kindly reach out to us through one of the following means:

  1. Respond to "Was this page helpful?" above
  2. Leave a comment with the "Leave a Comment" form below
  3. Email us at [email protected] or via the Contact Us page.

8 thoughts on “No Root File System is Defined Ubuntu Error [Fixed]”

  1. Hi, Victor

    Thanks for your sharing, it’s professional.
    But in my case, when i get ‘no root file system…’ window, the process will stop here, click ‘ok’, then the same error window will pop-up again.
    There is no pre-step also.
    The error is the first step i encountered.
    Do have resolution to solve this? Thanks.

    Reply
  2. Hi, I have 2 free partitions to select, but in one partition I only have 1 mb and in the other 0, and the other space of the hard disk is windows installed … what can I do, I already tried to select the two partitions but I get the same error

    Reply
    • 1. Boot back to Windows, Open Disk Management (right-click start menu). Then, right-click your partition C and select Shrink Volume – when prompted, enter at least 10000 (10GB). DO NOT CREATE partition OR FORMAT THE extracted volume.

      2. Restart Linux installation and select the free partition you just created. Format the partition in Linux and complete your installation

      Reply
  3. Hey! I followed the first solution and that did the trick. I created a new psrtition “sda5” and made it root but whenever i restart my pc I always boot straight into win os. I tried messing with boot ordering, tried to find a device where the linux is but sadly unsuccessfuly.

    Would love to hear your advice on this problem, thank you in advance!

    Reply
    • Do you use Windows Boot Manager or GRUB (Linux Boot Manager)? If you use Windows Boot Manager:

      1. Right-click Start menu and select System
      2. Then scroll down to Related Settings and click System info.
      3. On the left pane of System Settings, click Advanced Systems Settings.
      4. Then, on the Start-up and Recovery section, click Settings
      5. Finally, ensure that the Time to display list of operating systems checkbox is checked and the time is NOT set to 0.

      Reply
      • I use win boot manager and the timer is set to 30 seconds but the problem is that the second os, in this case linux, is not recognised at all. I’m not sure but maybe more detail will help:

        During my win 10 installation I formated my disk and splitted it to two parts. Then used one of those partitions for windows. After that I created a usb for linux… And tried to install linux in the empty partition. During the installation when you have to choose where or how to install the os (erase disk, install alongside..) I chose “something else” to make sure linux will be installed in the free space – thats when I had issues with root error and found your guide.

        Reply

Leave a comment