usb marked as read-only

Michael bmike1 at gmail.com
Tue Jan 17 17:26:34 MST 2023


On Tue, Jan 17, 2023 at 1:05 PM Rusty Carruth via PLUG-discuss <
plug-discuss at lists.phxlinux.org> wrote:

> are you running that command while booted on the stick you are trying to
> erase?
>
>
Of course not. Always unmount the device.
I threw it away before I got this message so....
But the other drive.... look at the other thread.


> While that SHOULD work, you are writing over the device you are booted
> on, not usually considered best practice ;-)  And this
> 'read-only-filesystem' message is interesting to me, I'd love to have
> that stick to play with just to see, but it probably isn't worth it.
>
>
> Anyway:
>
>
> I've wanted to come back and say that from what I've seen before the
> whole 'drive is toast' path was that the partition  you have been trying
> to make on the stick appears to have been correctly created and
> formatted.  This implies you just need to start at that step in the how-to.
>
> But if you are convinced the stick is dead, the cost of time dealing
> with it is more than the cost of a new stick, go get a new stick and
> start over.
>
> On 1/17/23 06:52, Michael via PLUG-discuss wrote:
> > I tried 'wipe' on it last night. But got the same error message:
> > sudo dd if=/dev/zero of=/dev/sdb
> > [sudo] password for michael:
> > dd: failed to open '/dev/sdb': Read-only file system
> >
> > On Tue, Jan 17, 2023 at 12:03 AM Eric Oyen via PLUG-discuss <
> > plug-discuss at lists.phxlinux.org> wrote:
> >
> >> There is one thing you can try before absolutely tossing it. Run dd as
> >> root with the following code: sudo dd if=/dev/zero of=/dev/sdb
> >> And let her run. That should erase everything on that stick, including
> >> partition info, boot sector and the like.
> >>
> >> If there is a problem, dd will very quickly quit with an error.
> >>
> >> -Eric
> >>  From the Central Offices of the Technomage Guild, Hardware dispositions
> >> Dept.
> >>
> >>
> >> On Jan 16, 2023, at 7:23 PM, Michael via PLUG-discuss <
> >> plug-discuss at lists.phxlinux.org> wrote:
> >>
> >> yeah. I think all is loast. I finally got around to looking at the
> gparted
> >> report:
> >>
> >> ========================================
> >> Device: /dev/sdd
> >> Model: SanDisk Ultra
> >> Serial:
> >> Sector size: 512
> >> Total sectors: 60063744
> >>
> >> Heads: 255
> >> Sectors/track: 2
> >> Cylinders: 117772
> >>
> >> Partition table: none
> >>
> >> PartitionTypeStartEndFlagsPartition NameFile SystemLabelMount Point
> >> /dev/sdd Unpartitioned 0 60063743 iso9660 Kali Live
> >>
> >> ========================================
> >> *Format /dev/sdd as ext4*  00:00:17    ( ERROR )
> >>
> >> calibrate /dev/sdd  00:00:00    ( SUCCESS )
> >>
> >>
> >>
> >>
> >> *path: /dev/sdd (device)start: 0end: 60063743size: 60063744 (28.64 GiB)*
> >> clear old file system signatures in /dev/sdd  00:00:17    ( ERROR )
> >>
> >> write 512.00 KiB of zeros at byte offset 0  00:00:17    ( ERROR )
> >>
> >> libparted messages    ( ERROR )
> >>
> >> *Unable to open /dev/sdd read-write (Read-only file system). /dev/sdd
> has
> >> been opened read-only.*
> >> *Can't write to /dev/sdd, because it is opened read-only.*
> >> *Can't write to /dev/sdd, because it is opened read-only.*
> >>
> >> On Mon, Jan 16, 2023 at 7:55 PM Michael <bmike1 at gmail.com> wrote:
> >>
> >>> any advice before I toss it? I suppose I could buy a chain and wear it
> >>> around my neck!
> >>>
> >>> On Mon, Jan 16, 2023 at 7:53 PM Michael <bmike1 at gmail.com> wrote:
> >>>
> >>>> lovely, my 32gb ultra is toast. I started gparted to see if I could
> >>>> format it and the square showing the partitions and usage is gray (as
> >>>> well as the file system icon).
> >>>>
> >>>> On Mon, Jan 16, 2023 at 7:16 PM Steve Litt via PLUG-discuss <
> >>>> plug-discuss at lists.phxlinux.org> wrote:
> >>>>
> >>>>> Eric Oyen via PLUG-discuss said on Mon, 16 Jan 2023 16:38:57 -0700
> >>>>>
> >>>>>> For most things, I use USB sticks in
> >>>>>> a write once, read many configuration scenario.
> >>>>> Another thing I've found anecdotally that helps lengthen the USB
> stick
> >>>>> life, whether write once or write a bunch, is to format it as Ext4. I
> >>>>> don't think I ever had one go bad as Ext4, but I have with the
> windows
> >>>>> format they're shipped with. Of course, if you have to interact with
> >>>>> windows computers or devices expecting windows formated USB sticks,
> my
> >>>>> trick becomes useless.
> >>>>>
> >>>>> SteveT
> >>>>>
> >>>>> Steve Litt
> >>>>> Autumn 2022 featured book: Thriving in Tough Times
> >>>>> http://www.troubleshooters.com/bookstore/thrive.htm
> >>>>> ---------------------------------------------------
> >>>>> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
> >>>>> To subscribe, unsubscribe, or to change your mail settings:
> >>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> >>>>>
> >>>>
> >>>> --
> >>>> :-)~MIKE~(-:
> >>>>
> >>>
> >>> --
> >>> :-)~MIKE~(-:
> >>>
> >>
> >> --
> >> :-)~MIKE~(-:
> >> ---------------------------------------------------
> >> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
> >> To subscribe, unsubscribe, or to change your mail settings:
> >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> >>
> >>
> >> ---------------------------------------------------
> >> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
> >> To subscribe, unsubscribe, or to change your mail settings:
> >> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> >>
> >
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
> > To subscribe, unsubscribe, or to change your mail settings:
> > https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>


-- 
:-)~MIKE~(-:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20230117/48fea353/attachment.htm>


More information about the PLUG-discuss mailing list