How can I wipe a "Read only" flash drive?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

esos
Posts: 151
Joined: Thu Feb 18, 2021 4:33 am
Been thanked: 17 times

Re: How can I wipe a "Read only" flash drive?

Post by esos »

User avatar
bigpup
Moderator
Posts: 6272
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 733 times
Been thanked: 1293 times

Re: How can I wipe a "Read only" flash drive?

Post by bigpup »

Have to ask this.

Have you tried plugging the USB stick into different USB ports?

Even on different computers?

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

tosim
Posts: 422
Joined: Thu Jul 23, 2020 1:13 pm
Has thanked: 674 times
Been thanked: 45 times

Re: How can I wipe a "Read only" flash drive?

Post by tosim »

@bigpup Yes-with same results-Nada. Thanks for asking though.

User avatar
bigpup
Moderator
Posts: 6272
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 733 times
Been thanked: 1293 times

Re: How can I wipe a "Read only" flash drive?

Post by bigpup »

If you used Ventoy to install something on these drives.

By default, Ventoy select exFAT filesystem for the main partition to hold iso files.

Puppy Linux does not come with support for the exfat file system(format)

Did you ever try this?

Do this from a running newer Puppy version and running normal as root user.
So You are using a newer version of Gparted and have full root ability.

First make sure desktop drive icon for the USB is showing it is not mounted.
If it is mounted.
Unmount it.

Use Gparted to get back to normal setup.
Select the USB stick as device to work on.

Make a new partition table
GParted > Device > Create Partition Table > MS-DOS

This will wipe clean all partitions and data on disk.
End up with unallocated space.

Make a partition and format it fat32.

If does not work.
What error messages do you get?

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
peppyy
Posts: 328
Joined: Fri Jan 22, 2021 2:11 pm
Location: VT USA
Has thanked: 66 times
Been thanked: 28 times

Re: How can I wipe a "Read only" flash drive?

Post by peppyy »

Can't thank you enough for this post. Saved 2 of my usb 3.0 drives. Now I should be able to use one to put my working copy of fossa64 on it to tweak.

bigpup wrote: Mon Aug 21, 2023 6:31 am

If still no good, may have to first do this and then use Gparted.
In a terminal (console)
Be very careful to identify the USB stick in dev/sd part of command.
In this example it is sdb (desktop drive icons. Should be one for the USB giving it's label sdb, sdc, sdd, etc.......)

Code: Select all

dd if=/dev/zero of=/dev/sdb bs=1M count=1

This basically deletes everything on the drive and writes all zeros on it.

Puppy Linux. It just works!
Foassapup 9.5 64-(Frugal) Mobo, M5A99FX PRO - CPU, AMD FX-6300 6 core - mem,32GB - Storage
ssd 128GB M4 - ssd-256GB APS - ssd-1TB PNY - GPU GeForce GTX 1060 GAMING X 6G. Yes it's a Mutt.

Post Reply

Return to “Users”