Format external Drive/USB - Misunderstood

incedis

Member
Joined
Jul 16, 2021
Messages
79
Reaction score
13
Credits
801
I am not able to understand this problem I am facing.
I have usb thumb drive and drive that need to mount on my host. Before mounting those drives, I format those drives/usb using either ext4 or btrfs. Using either gparted or using cli
Code:
sudo mkfs -t ext4 /dev/sdb1
, I end up not being able to use the usb/drive because root formatted the drive. I need to change ownership of the drive
Code:
sudo chown $USER ...
.
This really gets me because I find that I have to do much more work just to use the external drive. For ex, format the same drive in NTFS, and the drive is usable without having to change the ownership.
How you guys are doing it ? Do you have a way so I can minimize my efforts ?
 


Works for me whenever I've formatted a drive using terminal.
sudo umount /dev/sdb1
sudo mkfs.ext4 /dev/sdb1
 
do you not have the problem of ownership ? (like I do)
I see that you are using mkfs.ext4 and I am using mkfs -f ext4. Would that make any difference ?
 
do you not have the problem of ownership ? (like I do)
I see that you are using mkfs.ext4 and I am using mkfs -f ext4. Would that make any difference ?
mkfs -t should not make a difference, -t is used so you can specify your filesystem type.
 
do you not have the problem of ownership ? (like I do)
Use this command to see if it's mounted: sudo fdisk -l

then do: sudo chmod 666 /dev/sdb1

that should allow you to read and write on the drive.
 
Like I said, when I chmod, I can indeed take control of the usb drive. The point precisely is not to go through that..
NFTS (tried with NTFS) I do not have the issue even with gparted.. This is very confusing..
 
A screenshot would help because the way you're explaining it is confusing.
 

Staff online

Members online


Latest posts

Top