How do you completely wipe a SD card from a Raspberry Pi3

  • How do you completely wipe a SD card from a Raspberry Pi3 with Libreelec installed so I can use the card to install LE for Raspberry Pi 4 ?


    I am using Linux Mint no matter what I do it does not deleted the files, I try to reinstall LibreELEC-RPi4.arm-9.95.4 using the card it installs but never boots.


    Gut feeling is there is files from the older version of LE that is not getting removed during a SD format that is messing up the boot.


    I try using the SD card formatter it formats the card but if you look at the card in Files all the files are still there on both partitions, go ahead and use the SD car creator and install the new image says ok try booting the card in the Pi4 and it never gets past the initial boot up screen.


    Before someone ask I do not have windows on any thing here.


    Thanks in advance.

  • Go to Best Answer
  • It's possible your SD card is bad and turned out to 'read-only mode'.

    If possible, test it under Windows machine with SD card reader, use DISKPART in command line ( How to use DiskPart to clean and format drive not working on Windows 10 | Windows Central ), reformat it with single NTFS partition and copy some files there. Then eject the SD card safely and put it again to test if it's working (the new files are still there) or not.

    You may also use an USB key to install and run LE on RPi 4B instead of SD card.

  • It's possible your SD card is bad and turned out to 'read-only mode'.

    If possible, test it under Windows machine with SD card reader, use DISKPART in command line ( How to use DiskPart to clean and format drive not working on Windows 10 | Windows Central ), reformat it with single NTFS partition and copy some files there. Then eject the SD card safely and put it again to test if it's working (the new files are still there) or not.

    You may also use an USB key to install and run LE on RPi 4B instead of SD card.

    Ok as I stated in my original post I DO NOT HAVE WINDOWS ON ANYTHING HERE!


    I am sorry you wasted our time hopefully the Windows suggestion will help someone in the future.


    Now I wait """"""You have already written a post within the last 2,400 seconds. You must wait at least 2,101 seconds before attempting to write a new post."""""""


    Yup libreelec.tv does not want problems solved in a reasonable time frame.

  • Use a zero fill utility. Like

    Lowvel

    Hopefully this will help people in the future.

    Samsung RU7400 Onkyo HTX22HDX Nvidia Shield HD Homerun Duo (Living Room)

    Samsung UE40ES5500 X96 Max+, Fire TV 4K Stick (Bedroom)

    Synology DS920+ Plex Pass

    :)

    • Best Answer
    • Official Post

    Write this file Dropbox - bootsector.img - Simplify your life to the USB using any USB writing tool that you like (on whatever OS you are using). As long as the USB drive is okay it will nuke the partition tables and allow your OS to repartition/reformat the storage again. If it fails to write, the USB drive has a problem and it's time to bin it and get a new one (they don't last forever).