Home > How Can I Restore An Sd Card To Its Original 16Gb Capacity (Now 2Gb) After It Was Used For A Bad Linux Boot?
Question

How can I restore an SD card to its original 16Gb capacity (now 2Gb) after it was used for a bad Linux Boot?

Answers
03/21/2022
Grimaud

Directory/dev

To see which drive is your SD card, open a terminal and run the following command

Journalctl -f

It will show you several lines and it should appear something like this for example /dev/sdb1

Then you run the following command, giving the path to the sdb device, and do not place the share sdb1

Cfdisk /dev/sdb

And within this program you can delete partitions and re-create them

Greetings

Reply
How can I copy a file to my usr/bin folder in Linux? :: How can I check if HTTPS port 443 is open on my Linux?
Useful Links