Results 1 to 7 of 7

Thread: sdcard is completely and utterly locked...I've tried all I can think of

  1. #1
    Join Date
    Jun 2009
    Location
    Raleigh, NC
    Beans
    609
    Distro
    Ubuntu 24.04 Noble Numbat

    sdcard is completely and utterly locked...I've tried all I can think of

    Have an SDcard running Manjaro-ARM, and after doing a distro update it nuked itself and won't boot. Happy to wipe it and start over, but can't even do that.

    Things I've tried

    1. shred command
    2. dd if=/dev/zero (with and without bs=446 to wipe the MBR)
    3. using disks util in gui
    4. usb startup creator (GTK)
    5. e2fsck -y /dev/sda
    6. Tried to wipe with my android phone
    7. Tried gparted

    No errors in any of the above except #5, says it can't set superblock (tried e2fsck -b 8193 and 32768) . Everything seems to take, but everything is still there; partitions, files and all...even sda2 and sda3 are still mountable and readable.

    I also tried rewriting permissions on /dev/sda and /dev/sda3 (main partition with the OS and data)

    Drive layout:

    /dev/sda1 - unknown
    /dev/sda2 - U-Boot partition
    /dev/sda3 - Main partition with OS

    Any help would be greatly appreciated. A 256GB card is cheap these days, but I'm trying to get this back up and running ASAP.
    Last edited by 98cwitr; December 2nd, 2024 at 10:00 PM.

  2. #2
    Join Date
    Jun 2009
    Location
    Raleigh, NC
    Beans
    609
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: sdcard is completely and utterly locked...I've tried all I can think of

    Quote Originally Posted by VMC View Post
    The slider on the side. Is it damaged? I had to use tape to make mine read/writable again
    No slider...it's a micro (sorry, should have specified that)

  3. #3
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    4,079
    Distro
    Xubuntu

    Re: sdcard is completely and utterly locked...I've tried all I can think of

    Usually, a superblock error is the end of the card. Have you tried accessing it from both Windows and Linux? I have, on rare occasions, been able to access card or USB stick by refrigerating it for a hour or so and then quickly trying to read it or reformat it. Even if you manage to get it to work again, don't trust it.

  4. #4
    Join Date
    Jun 2009
    Location
    Raleigh, NC
    Beans
    609
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: sdcard is completely and utterly locked...I've tried all I can think of

    Quote Originally Posted by Autodave View Post
    Usually, a superblock error is the end of the card. Have you tried accessing it from both Windows and Linux? I have, on rare occasions, been able to access card or USB stick by refrigerating it for a hour or so and then quickly trying to read it or reformat it. Even if you manage to get it to work again, don't trust it.
    yeah Im letting testdisk do its thing right now. It is seeing errors. I'll try the freezer thing, all else fails

  5. #5
    Join Date
    Jun 2014
    Beans
    7,918

    Re: sdcard is completely and utterly locked...I've tried all I can think of

    Is this a full install of Manjaro on that disk? Did you see any errors/warning messages during the upgrade? When you run fdisk or parted -l on that drive, does it show sda1 as unknown? You have a boot and system partition, would sda1 be your EFI or is this a Legacy install? What filesystem type is on sda2?

    You run e2fsck on the filesystem which is on the partition, /dev/sda3 sda2 not sda.

    If you want to just start over, did you have any luck when you used gparted to create a new partition table on the device? That doesn't wipe data but does make it very difficult to access.

  6. #6
    Join Date
    Jun 2009
    Location
    Raleigh, NC
    Beans
    609
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: sdcard is completely and utterly locked...I've tried all I can think of

    @yancek

    Thanks for the questions! Here's a screenshot of parted and gnome disks output. The free space sections are quite strange, but if I recall, they were still present when this was working. Yes, it was a full install of Manjaro-ARM on /dev/sda3, uboot to handle the board.



    No luck on additional attempts to wipe. gparted does this

    First, I delete all the partitions, and apply those changes. Everything looks good.




    Then boom...target remains (completely unchanged and unphased):
    Attached Images Attached Images
    Last edited by 98cwitr; December 5th, 2024 at 05:27 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •