Score:-1

I want to make disk partitions the same way as it's done in Windows (like local disk E:, F:, C:) in my Ubuntu OS? How can I do that?

cn flag

After installing Ubuntu I only have one Partition in my OS. I want to make more disk partitions like it is in Windows (local disk E:, F:, C:, etc.).

24601 avatar
in flag
please [edit] your question to explain why this is important to you. Have you misunderstood the [Logical Volume Management](https://opensource.com/business/16/9/linux-users-guide-lvm) concept of Linux perhaps?
oldfred avatar
cn flag
Default mounts will use a label, or you can create mount points (different than label if desired) and mount using that mount point. While mount point could be just E: or F:, better to use something descriptive. You can see labels & mounts: `lsblk -e 7 -o name,size,type,fstype,mountpoint,parttype` Rename: https://askubuntu.com/questions/276911/how-to-rename-partitions I do not like Disks as it may not use correct parameters. Better to use template/example and adjust for your specifics https://askubuntu.com/questions/164926/how-to-make-partitions-mount-at-startup
us flag
Most likely OP wants to know how shrink the single root partition and how to create new partitions with that space.
Jon avatar
us flag
Jon
Linux is different from Windows so you may struggle. Just use the disk partition for Linux.
Score:10
vn flag

This is simply not how the Linux / Unix filesystem works.

The assignment of "drive letters" was introduced in CP/M, and later ported to MS-DOS and subsequently MS Windows.

Linux / Unix filesystems instead use mount points, where the "base" of the filesystem is mounted in / (called root - not to be confused with the root user).

This has nothing to do with the amount of partitions you have. In Linux, you can have as many partitions as you like, and furthermore you can mount them anywhere in the filesystem - in fact it is often recommended that you do so for various reasons (which can't fully be covered here).

For instance you could partition like this (but this has to be done at install):

Partition 1: /     (root)
Partition 2: /home (user files)
Partition 3: /tmp  (temp files)
Partition 4: /var  (various+logs)

You can also have additional disks (and/or partitions) which are usually mounted in /mnt, for instance:

Data disk 1: /mnt/data
Data disk 2: /mnt/backup

If you want to emulate something like Windows drive letters, you could mount external media in the /media folder, and assign them a letter, like /media/D, /media/E etc.

However, it's unclear what you would gain from this, except that it will be familiar. I would suggest you also become familiar with the Linux filesystem, and make choices that makes sense here, and can become familiar over time.

I should point out that I have used both Windows and Linux for quite some time, so I'm generally rather unbiased - but I personally think that the Linux / Unix file hierarchy is more logical, where arbitrary drive letters are not.

raj avatar
cn flag
raj
It should be noted that Windows can currently use mount points too. You can have for example three disk partitions and only one "drive" C:, the two other partitions can be mounted somewhere within the directory tree on C:, exactly as in Linux/Unix.
Artur Meinild avatar
vn flag
You are of course correct, and I believe this was introduced with NTFS as a feature to make Windows volumes closer to Unix, if you should choose so.
us flag
Most likely OP wants to know how shrink the single root partition and how to create new partitions with that space.
Artur Meinild avatar
vn flag
I believe this is what Brian has answered. My answer is more general about the filesystem principles and differences.
Score:2
za flag

If you want to make multiple partitions click on Activities in the top left of the screen.

Type disks in the search box and open the disks utility.

Select the main partition then click on the settings button (looks like cogs).

Click on resize then use the slider to reduce the current partitions size and leave enough room for additional partitions.

You can then format the newly created free space (again from the settings, ntfs for installing windows; ext4 for linux; FAT for general files that can be accessed from both OSes).

Repeat the process with the new partition to divide the disk up further.

Name them as you wish during formatting.

If you just want to rename the partitions, use the edit partition option in the settings and type in the desired name in the name box and click change.

Additional comments: You need to click the + button to add a new partition once the free space is selected, and the drive has to be unmounted first. (boot to a live cd of ubuntu (usb/cd etc) and select 'Try Ubuntu' when booted then use disk utility as above.). This will not be a problem when dividing unmounted partitions but will be if you're using the drive (mounted) and try to shrink it (You'll just get an error message, no harm done).

ru flag
OP wants a drive letter system, like Windows, not just 'more partitions'.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.