Score:0

Formatting Partitions in ubuntu

es flag

Hi I create 2 primary partitions with fdisk and I know that I have to format them in next step, how can I format them together instead of running mkfs -t ext4 twice?

mook765 avatar
cn flag
Take a look at `man mke2fs`. You cannot mount these partitions unless they are formatted, so the mount-command you suggest will simply fail.
mpboden avatar
do flag
Formatting and mounting are two separate steps. Once the disks are formatted, you can have them auto mount if you want by configuring `/etc/fstab`
cn flag
"how can I format them together instead of running mkfs -t ext4 twice?" not possible This is 2 commands. And why is that a problem?
I sit in a Tesla and translated this thread with Ai:

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.