Ask Ubuntu Asked on December 31, 2021
Based on my fruitless googling I must have misunderstood how partitions work.
I have 1 hard drive on which I installed Ubuntu 18.04. I’ve then decided I want to split my 1 partition into 2. I did this with the help of a bootable Ubuntu USB stick and GParted
What I expected to happen afterwards was that I would have something like the Windows disk C and disk D which would basically just separate my storage.
How do I get from where I am now to having that Windows-like situation?
In linux, there is no complicated notion of extra drive letters. You only have to understand file paths to locate any file available to you.
In Linux, everything is a file. There is one single starting folder, the "root directory", which simply is represented by "/". Many folders exist in that root directory. Most contain system files. One folder is called "home". Its full path is "/home". There, the user's home folders live. So if your login is "david", there will be a folder "david" in the "/home" folder. The full pathname to that folder is "/home/david".
Partitions that contain a file system, i.e. what Windows would see as a "different drive letter" are, in linux, integrated into the file system. This is done by mounting the partition into a folder of the file system.
USB drives that you plug in are automatically mounted in a folder under "/media". In your example, these drives would be mounted under "/media/david". The file manager shows such mounted drives in a "windowesque" manner by showing an icon for them in the left pane.
Your /dev/sda1 is your root partition. You will never be able to see that as a separate storage volume. Navigate to its contents through "Other locations" in the file manager, then "Computer".
You could have your /dev/sda2 appear as a "drive letter" if you label it. If a partition has a label, that label will be used to display the partition in File manager. So set the label to for example "D" and the partition will show up in the left pane as "D".
If you give the partition a name, it will be shown with that name.
Answered by vanadium on December 31, 2021
2 Asked on December 11, 2020 by kv-2
1 Asked on December 11, 2020 by utanpeople
0 Asked on December 10, 2020 by nguyenistheloneliestnumber
0 Asked on December 10, 2020 by engr_john
1 Asked on December 10, 2020 by new-user
2 Asked on December 9, 2020 by user-dz
0 Asked on December 9, 2020 by jgoesgaming
0 Asked on December 9, 2020 by nickt
0 Asked on December 9, 2020
0 Asked on December 9, 2020 by patryk-kouchowski
2 Asked on December 8, 2020
0 Asked on December 8, 2020 by katya-sehgal
1 Asked on December 8, 2020 by jairo-mejia
0 Asked on December 8, 2020 by thenoob
Get help from others!