Score:0

What is the best, safest way to create another partition after installation Ubuntu 20.04?

cn flag

I've already installed Ubuntu 20.04, but I did not make any separate partitions beside the one the operating system is installed on.

Now I would like to create a new partition, as safely and simply as possible. Please excuse me I am brand new in Linux(Ubuntu 20.04)

sudodus avatar
jp flag
The safest way is to add a new drive and put the partition in that drive. But if you cannot or it would be awkward to add a new drive it is not the best way. Editing partitions is always risky, but OK, if you have a recent backup of everything that you cannot afford to lose.
mook765 avatar
cn flag
The word "safely" implies that you have your data backed up before editing partitions. I'd recommend to make use of your installer-USB (Try without installing)and run Gparted from there.
guiverc avatar
cn flag
Any changes to a partition table cannot be deemed *safe* but *risky* in my opinion; so ensure you have backups before you start. The only thing you can do is not use it during change - why you use *live* media as already outlined.
Score:2
do flag

Since its a new install you hopefully dont have a lot of precious data on it, but go ahead and make a backup anyway..

If you really mean partition, and not volume, you should be able to just fire up gparted and shrink the existing partition (which will shrink the filesystem for you too), then create a new partition in the new free space.

If you cant do this, its still fairly simple. Its not massively risky, but you'll want that backup we talked about:

  1. shrink the filesystem - resize2fs can help you here
  2. shrink the partition to just a bit bigger than the new fs size
  3. grow the filesystem to the new partition size
  4. make a new partition in the new space
MarioG8 avatar
cn flag
Thank You for Your Time and advice;-) Best regards !
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.