[SOLVED] How to Format Read Only USB Drive

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Ozo

[SOLVED] How to Format Read Only USB Drive

Post by Ozo »

I am using the 19 Cinnamon Beta. I try to format the drive and it says (immediately) "Finished" but it is not formatted. I see that it is Read Only and will not format etc.. How do I Format it? It is a 1TB external hard drive which I had previously made a bootable drive and thought I could reformat but now find that I can not. :(
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
all41
Level 19
Level 19
Posts: 9520
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: How to Format Read Only USB Drive

Post by all41 »

I try to format the drive and it says (immediately) "Finished" but it is not formatted.
How are you doing this--gparted? If so after you choose format you must click the 'Apply all operations' arrow under 'Help' in the toolbar.
gparted operates with root privileges and does not observe read-only or ownership attributes.
When root creates a partition it is automatically owned by root and the group is root.

To change ownership and group to yourself you can open a terminal and enter:
sudo chown $USER:$USER /media/Ozo?/name of device
Navigate to /media/Ozo? (use your correct computer username) You will see the mount-point of the device listed there. If you did not give it a specific label it will be a long alpha-numeric name--put that in place of 'name of device' in the above command and also make sure to put the correct username in place of 'Ozo?'
Enter that command and you will become owner/group and then you will be able to change the permissions.
You can do this by navigating to that devices mount-point in /media/Ozo? and right-click the external drive icon and choose 'Properties/Permissions'
and change them there.
or in a terminal:
sudo chmod 755 /dev/sdX
make sure sdX is the correct designation for the external device as reported by gparted.
You should be good to go
Everything in life was difficult before it became easy.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: How to Format Read Only USB Drive

Post by trytip »

open gparted select your drive (be sure it's the drive you want format) Device > Create Partition Table > msdos that will (should) make it so you can now format
Image
Ozo

Re: How to Format Read Only USB Drive

Post by Ozo »

I was using the USB Stick Formatter not GParted. I went to GParted and art first did not see the drive just my main drive but it was on the drop down so I did as you (trytip) suggested. However, after the format I can no longer see the drive in GParted and the drive is no longer recognized in Mint.

Image
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: How to Format Read Only USB Drive

Post by trytip »

after create new partition did you format?
Image
Ozo

Re: How to Format Read Only USB Drive

Post by Ozo »

Yes.

After a restart I can now see the drive listed in devices but it will not open and says Can not Mount.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: How to Format Read Only USB Drive

Post by trytip »

so you open gparted select your drive > device > create partition table > msdos > apply > partition > new > primary/fat32 >add >apply ?
Image
Ozo

Re: How to Format Read Only USB Drive

Post by Ozo »

trytip wrote: Wed Jun 20, 2018 4:14 pm so you open gparted select your drive > device > create partition table > msdos > apply > partition > new > primary/fat32 >add >apply ?
I believe so though I do not really remember selecting primary/fat32. When I applied it pow it just disappeared from GParted.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: How to Format Read Only USB Drive

Post by trytip »

i don't understand. it's invisible in gparted as well now? did you try it again
Image
Ozo

Re: How to Format Read Only USB Drive

Post by Ozo »

trytip wrote: Wed Jun 20, 2018 9:53 pm i don't understand. it's invisible in gparted as well now? did you try it again
Right, it is no longer in GParted. Therefor I can not "try it again".
Last edited by Ozo on Thu Jun 21, 2018 10:08 am, edited 1 time in total.
Sir Charles

Re: How to Format Read Only USB Drive

Post by Sir Charles »

Hi Ozo,

Does the drive show up in "Disks"?
Ozo

Re: How to Format Read Only USB Drive

Post by Ozo »

Yes it does.

Image
Ozo

Re: How to Format Read Only USB Drive

Post by Ozo »

I formatted it from Disks and it shows up in GParted now but is not recognized in Files.
Image
Image
Sir Charles

Re: How to Format Read Only USB Drive

Post by Sir Charles »

You have just deleted that partition without creating a new one and formatting it.
Right-click on that unallocated space in Gparted and from the menu choose "new" and decide the size of the new partition. Next, right-click on it once again and "format to" choosing the format you want and then "apply". When it's all done, close Gparted and see if it shows up in Files. If it doesn't, launch "Disks" once again and click on the triangle:
Disks.png
It should show up in Files now.
Last edited by Sir Charles on Thu Jun 21, 2018 9:55 am, edited 1 time in total.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: How to Format Read Only USB Drive

Post by trytip »

+1 @ Marziano
Ozo, your drive is NOT FORMATTED. (you created a new partition table but not a new partition) there are instances where drives are locked and can't be accessed but don't know unless you at the least follow instructions in order posted
Image
Ozo

Re: How to Format Read Only USB Drive

Post by Ozo »

Umm, I am not sure what to enter here.

Image
Sir Charles

Re: How to Format Read Only USB Drive

Post by Sir Charles »

If you want only one partition on the whole disk, just set the "file system" you want by clicking on the arrows and choosing from the menu. Next click "add" and finally "apply".
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: How to Format Read Only USB Drive

Post by Reorx »

What do you want (in terms of partitions) on your 1 TB drive. The image you posted will result in the creation of a single ext4 partition that will occupy the entire disk... is that what you want?
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: How to Format Read Only USB Drive

Post by trytip »

you said you want fat32 ? what will this drive be used for ? fat32 for 1TB drive is not very useful in linux
Image
Last edited by trytip on Thu Jun 21, 2018 10:30 am, edited 2 times in total.
Image
Ozo

Re: How to Format Read Only USB Drive

Post by Ozo »

That works, thanks for all the help.
Locked

Return to “Hardware Support”