Few people are reporting that when they are trying to install Ubuntu or Linux, they are facing the ‘No root file system is defined’ error. When you are installing Ubuntu using a Window partition, then this error occurs. This error also happens in few instances such as if a valid Linux partition is not created. There’s also another reason why this error occurs. When a Linux partition exists but you did not define the root partition, this results in the error. If you are facing this error, don’t worry. You can fix this in few simple steps. There are multiple ways to fix this. In this article, we are going to explain in detail about how to fix the ‘No root file system is defined’ error.
How to fix the ‘No root file system is defined’ error:
Create a Linux Partition and Assign a Root Partition
You can fix this error by creating a Linux partition and assign a root partition on your computer. Follow the below steps to know how to do it.
- You need to select the free partition on the Installation type page. Here you will be able to see the + sign. Click on it to create a new partition.
- On the Create partition window, you need to configure the following.
- Usually, the default data will be the full size of the partition created. You need to enter a value here in MB.
- Now you need to select the type of partition you want to create. It could be either a Primary or logical partition.
- Here you need to select Beginning of Space or End of Space on the location for the new partition.
- Once you are done with that, you need to select a file system. You can select the default, Ext4 journaling File system.
- Now select a mouse point. You will be able to see multiple options on the Mount point deop-down. Once you are done with that, click on the ‘Ok’ button.
Delete Existing Windows partition to fix No root file system is defined error:
If you have chosen a FAT or FAT 32 file system, then the ‘No root file system is defined’ error happens. In order to solve this error, you need to delete the existing Windows partition. When you delete the partition, then it will appear as a free partition. Now you need to use the steps followed in the last section in order to re-create the partition.
- Select the partition you want to delete and then right-click on it. From the drop-down menu, click on the ‘Delete’ option.
- If you want to change the file system to a Linux file system, then you need to click on the ‘Change’ option.
- Once you click on the Change option, a new pop-up window will load on your screen.
- Now click on the Use as drop
- -down to change the file system to a Linux file system and then you need to select a file system.
- Once you are done with it, click on the ‘Ok’ button.
Define a Root partition
If you did not define a root partition, then there are chances of a ‘No root file system is defined’ error occurring. If there is no root mount point, no partition will have the / as mount point. Follow the below steps to know how to fix this issue.
- Select the partition you want to use as root and right-click on it. From the drop-down menu, click on the ‘Change’ option.
- Now the Edit partition window will open. Here you will be able to see the ‘Mount point’ option’. Beside it, you need to click on the drop-down button.
- Here you need to select ./ and then click on the Ok button.
Hope we have covered everything about how to fix the ‘No root file system is defined’ error. If you have any issues regarding the above article, then please comment your query in the comment section below. We will get back to you with the best solution as soon as possible.