2

I am installing Ubuntu and I want to do it on "free space" on my disk, but I don't know how.

This is what I have:
This is what I have.

Please help me to figure this out.

  • You have the free space selected, now you need to click the +-button to create a partition. – mook765 Apr 4 '19 at 16:53
  • I do it and then click Install Now. It gives me an error: No root file system is defined. Please correct this from the partition menu. – Tigran Fahradyan Apr 4 '19 at 17:00
  • Are you planning on dual boot? Looks like you have Windows on your computer and you will need to properly partition your drive to allow Ubuntu to install in the free space. If you install it as is, when you boot up Windows if a boot loader is not installed, then it will default to Windows and you won't find Ubuntu even though you installed it. – Bill Apr 4 '19 at 17:01
  • I would like to do dual boot. How can I properly partition my drive? – Tigran Fahradyan Apr 4 '19 at 17:03
3

All operating systems need to be installed on a disk partition so that the disk can keep track of where things are. Hence, in order to install Ubuntu, you need to create a new disk partition, which you can do with the [+] button in the lower-left corner.

When you create this disk partition, you should ensure that it's marked to be mounted at root, and that it has a file system. Take a look at the details of this dialog:

enter image description here

You can see that a file system (Ext4, journaling file system) has been chosen for the partition, and also that the partition has been chosen for mounting at / (that is, the file system root).


(You don't have to have a single disk partition mounted at the filesystem root (/), although this set-up works completely fine for most users. An example of an alternative set-up would be one disk partition mounted at / and a second partition mounted at /home. This allows for all system data (applications, system software and configuration files) to be stored on a separate partition to user data, which can be useful -- for example, if storage space on a fast storage device is limited, it might be possible to run a fast system by placing system data on the fast storage device, and using a larger but slower storage device for user data (which is accessed far less often).)


If you plan to dual boot Ubuntu with Windows, you should be fine: when you install Ubuntu, it will install the GRUB bootloader automatically. GRUB should detect any and all other operating systems on your computer, including Windows. If it doesn't, you can fix it.

| improve this answer | |
  • Sorry, maybe I should have been more specific: / itself is the "root" directory. All the other directories "branch" from this "root" - it's a tree metaphor. For example, /boot is the directory inside root called "boot", and /usr/local is the directory called local inside the directory called usr inside the root directory. / is pretty much equivalent to `C:\\` in Windows. – C Ren Apr 4 '19 at 17:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.