etcher icon indicating copy to clipboard operation
etcher copied to clipboard

read-only after flashing.

Open KenchanPrfm opened this issue 1 year ago • 3 comments

  • Etcher version: 1.14.3
  • **Operating system and architecture:**Ubuntu 22.04.3 arm64
  • Image flashed: Endeavouros_Cassini_Nova-03-2023_R3.iso
  • What do you think should have happened:
  • What happened: Unable to recover USB stick from read-only file system.
  • Do you see any meaningful error information in the DevTools?

I read user document of etcher(https://github.com/balena-io/etcher/blob/master/docs/USER-DOCUMENTATION.md#recovering-broken-drives), and I tried to recover by dd command. But dd command has failed. dd can not open /dev/sdc: read-only file system

Can I fix it ?

KenchanPrfm avatar Oct 08 '23 16:10 KenchanPrfm

Did you run it as root? as mentioned in the documentation? @KenchanPrfm

dotares avatar Oct 09 '23 09:10 dotares

Yes, I have run both use with sudo and after "su" command.

I paste log bellow. The Japanese prompt means "can not open '/dev/sdc' : read-only file system.".

root@xxx:/home/me# dd if=/dev/zero of=/dev/sdc bs=512 count=1 conv=notrunc
dd: '/dev/sdc' を開けませんでした: 読み込み専用ファイルシステムです
me@xxx:~$ sudo dd if=/dev/zero of=/dev/sdc bs=512 count=1 conv=notrunc
dd: '/dev/sdc' を開けませんでした: 読み込み専用ファイルシステムです

KenchanPrfm avatar Oct 10 '23 12:10 KenchanPrfm

@KenchanPrfm Have you tried a different device? Are you sure the device you are using isn't experiencing a failure? How was the device mounted? Have you tried unmounting and remounting the device to see if it is still read-only? Also, check your syslog and see if there is any other additional information related to that device / drive.

I've seen something like this happen with a failing thumb drive. If there is an issue, usually it will attempt to mount as read-only. I'd recommend running some diagnostics and checking syslog for any other information / clues.

pushshift avatar Oct 12 '23 20:10 pushshift