I fixed the drive I didn't throw away! I put the msdos partition table back
on it and format it ntfs and it is happily accepting files again. How did
you format it ext4? Did you change the partition table?
On Tue, Jan 17, 2023 at 7:26 PM Michael wrote:
> On Tue, Jan 17, 2023 at 1:05 PM Rusty Car
On Tue, Jan 17, 2023 at 1:05 PM Rusty Carruth via PLUG-discuss <
plug-discuss@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
are you running that command while booted on the stick you are trying to
erase?
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 pla
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@lists.phxlinux.org> wrote:
> There is one
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
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
PartitionTypeSta
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 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 s
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@lists.phxlinux.org> wrote:
> Eric Oyen via PLUG-discu
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
do
I had one of those a few years back. I had many of the same issues and it
turned out that it had failed because there were no left over sectors that
could be written after marking bad and choosing spare. Also, the flashing light
after eject is an indication that the firmware has suffered a fatal
sorry forgot to prove it:
usb=/dev/sdb
sudo fsck -r $usb
[sudo] password for michael:
fsck from util-linux 2.37.2
On Mon, Jan 16, 2023 at 2:47 PM Michael wrote:
> yea.. I tried the r option yesterday. Got the same output.
>
> michael@desktop1:~$ df -h
> Filesystem Size
yea.. I tried the r option yesterday. Got the same output.
michael@desktop1:~$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 779M 1.5M 777M 1% /run
/dev/sda2 234G 151G 72G 68% /
tmpfs 3.8G 84M 3.8G 3% /dev/shm
tmpfs 5.0M 4.0K 5.
man fsck says:
The exit code returned by fsck is the sum of the following
conditions:
0 No errors
1 Filesystem errors corrected
2 System should be rebooted
4 Filesystem errors left uncorrected
8
Ok, thanks. Funny thing is when I unmount it it keeps flashing. It even
keeps flashing after I eject it..
On Mon, Jan 16, 2023 at 2:24 PM Stephen Partington
wrote:
> I know some USB devices when they reach a critical fault level will go
> read-only when there are no longer any write cycles that
I know some USB devices when they reach a critical fault level will go
read-only when there are no longer any write cycles that can be safely
applied. like SSD's But I haven ever run into it to verify.
On Mon, Jan 16, 2023 at 2:23 PM Michael via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrot
creating persistence means I want to use the drive as if it were the main
drive.
The verbose flag is a big v? I tried the little v!
sudo fsck -V $usb
[sudo] password for michael:
fsck from util-linux 2.37.2
Same thing.
sudo fsck -Vf /dev/sdb ; echo $?
fsck from util-linux 2.37.2
I think it is probably too early to say if you need a new drive, and I
don't know what you mean by 'create persistence', but I'll stick my foot
in my mouth and ask a few questions.
You don't say what you booted on - the USB drive? And what device is that?
When you run fsck, I suggest you use
maybe that is why it ran out of space?
On Mon, Jan 16, 2023 at 12:06 PM Michael wrote:
> HI. On my Kali Live USB drive I am trying to create persistence. I did it
> once but then something happened (it ran out of space when I tried to
> install snort) so I started over. But when I tried tpo cre
HI. On my Kali Live USB drive I am trying to create persistence. I did it
once but then something happened (it ran out of space when I tried to
install snort) so I started over. But when I tried tpo create persistence I
got the read-only error. YOu know in my search to get it out of read-only I
dis
19 matches
Mail list logo