Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Reformat SDCard locked by other user read write

  1. #11
    Join Date
    Sep 2009
    Location
    London
    Beans
    1,073

    Re: Reformat SDCard locked by other user read write

    Quote Originally Posted by crip720 View Post
    .... Have problem understanding why you can't format them though, unless it is broken.
    Thank you.
    It is because the card was being read when the pi crashed. SO it is locked to another user. That has to be over-ridden. It maybe it can not be done. It is not that unusual, and googling finds some who say it can't be done and there are many solutions, of which none have worked. I may have to throw it, but if I can save it I would rather.

  2. #12
    Join Date
    May 2008
    Beans
    1,242
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Reformat SDCard locked by other user read write

    Try disk-destroyer - identify your device first to avoid catastrophe.

    Code:
    sudo dd if=/dev/zero of=/dev/sdx bs=1M count=10
    Then see if gparted will allow you to add a partition table.

  3. #13
    Join Date
    Sep 2009
    Location
    London
    Beans
    1,073

    Re: Reformat SDCard locked by other user read write

    Quote Originally Posted by tea for one View Post
    Try disk-destroyer - identify your device first to avoid catastrophe.

    Code:
    sudo dd if=/dev/zero of=/dev/sdx bs=1M count=10
    Then see if gparted will allow you to add a partition table.
    Thanks for the try, but, no.
    Code:
    sudo dd if=/dev/zero of=/dev/sde bs=1M count=10
    dd: failed to open '/dev/sde': Read-only file system

  4. #14
    Join Date
    May 2008
    Beans
    1,242
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Reformat SDCard locked by other user read write

    This isn't going to plan yet, is it?

    Are you familiar with gdisk

    Here is the info http://www.rodsbooks.com/gdisk/walkthrough.html

    It may help, it may not...............

  5. #15
    Join Date
    Sep 2009
    Location
    London
    Beans
    1,073

    Re: Reformat SDCard locked by other user read write

    Quote Originally Posted by tea for one View Post
    This isn't going to plan yet, is it?

    Are you familiar with gdisk

    Here is the info http://www.rodsbooks.com/gdisk/walkthrough.html

    It may help, it may not...............
    No, it isn't, but I didn't expect it too as I had tried all the usual stuff. I'll need to go through this tomorrow.

Page 2 of 2 FirstFirst 12

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
  •