Monday, April 29, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1323  / 1 Year ago, fri, march 17, 2023, 6:35:12

I apologize for any noobness, I'm fairly new to linux and I've tried searching and troubleshooting on my own but I've come up empty handed.



I'm attempting to format a USB drive but running into issues with permissions ( I think )



I've tried right clicking the drive in the folder list and choosing "Format" and after running through the options and doing the final confirmation the dialogs close with no errors, but nothing changes.



I've attempted changing the permissions for the drive in using the GUI ( even though it shows the owner as "Me" and that I have full access or Read and Write ) and allowing anyone to read/write/ modify - but after submitting the changes the options just revert back without any notification ( not sure why Ubuntu even has these GUI options since they don't do much out of the box )



After searching online I've found a few things that are supposed to help "own" a folder but nothings worked that I've found so far



I've tried doing the following in the terminal:



sudo chown -R /media/(username)/(drivename) --but get a "missing parameter" error


Any help would be appreciated or suggestions of where else to look


More From » external-hdd

 Answers
6

you must try to correct filesystem with fsck tool, Connect your USB-Stick and open terminal by pressing Ctrl-Alt-t and run the commands as follows-



sudo fdisk -l


it will give you the dev name of the USB partition , and lets say it sdb2 for example your might be diffrent , then -



sudo umount /dev/sdb2 
sudo fsck.vfat -f -p /dev/sdb2


hope it helped you. if you will get any error paste it in your question as update, or use gparted to format it using GUI, seach in dash if its there if not then use following to install it-



sudo apt-get install gparted


or install it from Ubuntu-Software-Center and then use it with sudo permission as-



sudo gparted


and format that pendrive.



The other way to format it is use windows and right click on Pendrive and make Quick format. that is all.


[#28165] Saturday, March 18, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lowstonnequ

Total Points: 279
Total Questions: 125
Total Answers: 123

Location: Finland
Member since Sun, Dec 5, 2021
2 Years ago
lowstonnequ questions
Wed, Oct 26, 22, 14:40, 2 Years ago
Tue, Feb 28, 23, 01:39, 1 Year ago
Wed, Dec 1, 21, 23:44, 2 Years ago
Thu, Apr 21, 22, 13:13, 2 Years ago
;