AW: Topic: Problems with USB Sticks

2023-01-22 Thread Schwibinger Michael
Hello group. Hello Joe.
Thank you again for your Email.
Sorry, I did bad asking.
How can I make an USB stick writable, please?


Regards,
Sophie



Von: Joe 
Gesendet: Freitag, 30. Dezember 2022 21:49
An: debian-user@lists.debian.org 
Betreff: Re: Topic: Problems with USB Sticks

On Fri, 30 Dec 2022 21:16:31 +
debian-u...@howorth.org.uk wrote:

> > Hello group. Hello Joe.
> > Thank you for your Email.
> >
> > Sorry, I did bad asking.
> > So I split the question.
> >
> > 1
> > How can I repair USB stick which is readable but not writable?
> >
> > question 2
> > What did I do wrong to create this problem?
>
> You didn't tell us what you actually did, and especially which bits
> you think might be a mistake, so it's very difficult for us to answer
> this question.
>
> For example, you might have hit them with a hammer, or connected them
> to the wrong voltages, or washed them in a bath, or who knows what? Or
> you might have plugged them in correctly but used some sequence of
> commands that has caused a problem. But until you tell us what you
> did, we can't know which bit was wrong!
>

I mentioned probably the simplest thing: failing to unmount before
removal on a Windows machine. This sometimes causes problems which
cause Linux to refuse to mount the device read/write. Windows can
usually fix it, though I suppose there may be data loss. It's entirely
possible that doing the same thing on Linux would sometimes cause
similar problems.

--
Joe



AW: Topic: Problems with USB Sticks

2023-01-11 Thread Schwibinger Michael
Hello Cindy. Hello group.
Thank you for you email.

Sorry, I did it in a bad way describe.
I put the USB stick in, and I can see all files on the USB stick.
But I cannot destroy them.


Regards,
Sophie




Von: Cindy Sue Causey 
Gesendet: Samstag, 31. Dezember 2022 17:22
An: Debian Users 
Betreff: Re: Topic: Problems with USB Sticks

On 12/30/22, Joe  wrote:
> On Fri, 30 Dec 2022 21:16:31 +
> debian-u...@howorth.org.uk wrote:
>> >
>> > 1
>> > How can I repair USB stick which is readable but not writable?
>> >
>> > question 2
>> > What did I do wrong to create this problem?
>>
>> You didn't tell us what you actually did, and especially which bits
>> you think might be a mistake, so it's very difficult for us to answer
>> this question.
>>
>> For example, you might have hit them with a hammer, or connected them
>> to the wrong voltages, or washed them in a bath, or who knows what? Or
>> you might have plugged them in correctly but used some sequence of
>> commands that has caused a problem. But until you tell us what you
>> did, we can't know which bit was wrong!
>>
>
> I mentioned probably the simplest thing: failing to unmount before
> removal on a Windows machine. This sometimes causes problems which
> cause Linux to refuse to mount the device read/write. Windows can
> usually fix it, though I suppose there may be data loss. It's entirely
> possible that doing the same thing on Linux would sometimes cause
> similar problems.


Been there a couple times on a new secondhand hard drive this year.
Following tips regarding hiberfil.sys fixed it both times for me, but
the method comes with a harsh "this is your last ditch option" warning
about things like that data loss.

That's on a non-Linux system, by the way. Linux triggered the second
episode while while the affected partition was mounted only as a
resource for backing up images. It wasn't mounted as an operating
system.

There's a recovery partition that keeps getting mounted even though
I'm not touching it this week. I can't help wondering if that plays
some part in how that partition ended up locked down when it wasn't
used as the primary operating system..

Cindy :)
--
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *



AW: Topic: Problems with USB Sticks

2023-01-11 Thread Schwibinger Michael
Hello Joe. Hello group.
Thank you so much for your Emails.

How can I make an USB stick only readable but not writable?
How can I make an USB stick which is only readable again writable?


Thank you.


Regards,
Sophie



Von: Joe 
Gesendet: Freitag, 30. Dezember 2022 21:49
An: debian-user@lists.debian.org 
Betreff: Re: Topic: Problems with USB Sticks

On Fri, 30 Dec 2022 21:16:31 +
debian-u...@howorth.org.uk wrote:

> > Hello group. Hello Joe.
> > Thank you for your Email.
> >
> > Sorry, I did bad asking.
> > So I split the question.
> >
> > 1
> > How can I repair USB stick which is readable but not writable?
> >
> > question 2
> > What did I do wrong to create this problem?
>
> You didn't tell us what you actually did, and especially which bits
> you think might be a mistake, so it's very difficult for us to answer
> this question.
>
> For example, you might have hit them with a hammer, or connected them
> to the wrong voltages, or washed them in a bath, or who knows what? Or
> you might have plugged them in correctly but used some sequence of
> commands that has caused a problem. But until you tell us what you
> did, we can't know which bit was wrong!
>

I mentioned probably the simplest thing: failing to unmount before
removal on a Windows machine. This sometimes causes problems which
cause Linux to refuse to mount the device read/write. Windows can
usually fix it, though I suppose there may be data loss. It's entirely
possible that doing the same thing on Linux would sometimes cause
similar problems.

--
Joe



AW: Topic: Problems with USB Sticks

2023-01-11 Thread Schwibinger Michael
Hello Joe. Hello group.
Thank you for your Email.

We have about 10 or 20 USB sticks, and nearly every day everything is working 
fine.
But now we have 1 stick which is not accepted.
We could find out, you can read files, but you cannot write on the stick and 
you cannot destroy on the stick.

How can we make this stick writable again?


Thank you.


Regards,
Sophie




Von: debian-u...@howorth.org.uk 
Gesendet: Freitag, 30. Dezember 2022 21:16
An: debian-user@lists.debian.org 
Betreff: Re: Topic: Problems with USB Sticks

> Hello group. Hello Joe.
> Thank you for your Email.
>
> Sorry, I did bad asking.
> So I split the question.
>
> 1
> How can I repair USB stick which is readable but not writable?
>
> question 2
> What did I do wrong to create this problem?

You didn't tell us what you actually did, and especially which bits you
think might be a mistake, so it's very difficult for us to answer this
question.

For example, you might have hit them with a hammer, or connected them
to the wrong voltages, or washed them in a bath, or who knows what? Or
you might have plugged them in correctly but used some sequence of
commands that has caused a problem. But until you tell us what you did,
we can't know which bit was wrong!

> Thank you.
>
> Regards,
> Sophie



AW: Topic: Problems with USB Sticks

2022-12-30 Thread Schwibinger Michael
Hello group. Hello Joe.
Thank you for your Email.

Sorry, I did bad asking.
So I split the question.

1
How can I repair USB stick which is readable but not writable?

question 2
What did I do wrong to create this problem?


Thank you.

Regards,
Sophie

Von: Joe 
Gesendet: Sonntag, 27. November 2022 16:05
An: debian-user@lists.debian.org 
Betreff: Re: Topic: Problems with USB Sticks

On Sun, 27 Nov 2022 13:38:21 +
Schwibinger Michael  wrote:

> Topic: Problems with USB Sticks
>
>
> Good Morning.
> We have about 20 USB Sticks. But we have trouble with some.
> I think we made mistakes.
> The easy problem, one stick is only readable. How can we make ist
> with Linux in terminal writable? If this is not possible, then how
> can we make the stick clean and use for write and read?
>
> Bigger problem:
> some sticks are not accepted by computer.
> Some are lights up, but terminal is not recognizing them.
> Others, there is no reaction bei putting in.
> Are they totally destroyed?
>
>
The first thing to try is, in a terminal:

sudo tail -f /var/log/syslog

(stop this listing using ctrl-C when you're finished)

 then look at the output when you plug in a stick. The messages will
 vary a bit, but you are basically looking for

a) many lines of output
b) that a USB device is recognised
c: that it is allocated a drive designation e.g. sdd
d) that any partitions are listed as e.g. sdd1, sdd2 etc.

The first three items are essential for the stick to work. If they
don't happen, something is broken. If the first two do not happen, the
stick is probably permanently broken. There may not be any partitions
on the stick, many sticks are formatted as one memory range, and do not
even have a partition table.

This should allow you to see which of your sticks are completely
destroyed, and which may be recoverable. There have been USB sticks
with a tiny read-only switch fitted, but I haven't seen one like that
for many years. If not, your read-only device may have a filesystem too
corrupt for the software to risk writing to. Also, Windows seems to be
able to leave sticks in this state if they were not properly unmounted.
If that is likely to have happened, it's possible that Windows can fix
it without reformatting.

Assuming a stick has been given a drive name, then fdisk should work on
it, and should show the size, any partitions and other data. fsck
should also work and show any filesystem corruption. fsck can probably
fix some of these sticks, though there will have been data loss due to
the corruption. If fsck shows errors but cannot fix them, it's time to
reformat the device, and no data will be recoverable.

Any stick which has been given a drive designation, and been formatted,
and still doesn't work properly is probably broken beyond repair.

--
Joe