Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Formatting an SD card/Linux: Difference between revisions

From Hacks Guide Wiki
Doge 2 (talk | contribs)
add cfdisk and parted instructions, not sure if we're adding gparted and kde partition editor yet
Doge 2 (talk | contribs)
will spanners fix this? lets find out
Line 8: Line 8:
{{warning|The commands in this guide are case-sensitive. Enter them exactly as written, or there may be unintended consequences.}}<tabber>
{{warning|The commands in this guide are case-sensitive. Enter them exactly as written, or there may be unintended consequences.}}<tabber>
|-|fdisk=
|-|fdisk=
<span>
# Make sure your SD card is '''not''' inserted
# Make sure your SD card is '''not''' inserted
# Open a terminal window and type <code>watch lsblk</code>
# Open a terminal window and type <code>watch lsblk</code>
Line 28: Line 29:
# Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card
# Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card
# Copy your data back onto the SD card
# Copy your data back onto the SD card
</span>
|-|cfdisk=
|-|cfdisk=
<span>
# Make sure your SD card is '''not''' inserted
# Make sure your SD card is '''not''' inserted
# Open a terminal window and type <code>watch lsblk</code>
# Open a terminal window and type <code>watch lsblk</code>
Line 49: Line 52:
# Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card
# Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card
# Copy your data back onto the SD card
# Copy your data back onto the SD card
</span>
|-|parted=
|-|parted=
<span>
# Make sure your SD card is '''not''' inserted
# Make sure your SD card is '''not''' inserted
# Open a terminal window and type <code>watch lsblk</code>
# Open a terminal window and type <code>watch lsblk</code>
Line 66: Line 71:
# Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card.
# Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card.
# Copy your data back onto the SD card.
# Copy your data back onto the SD card.
</span>
</tabber>
</tabber>
# Make sure your SD card is '''not''' inserted
# Make sure your SD card is '''not''' inserted