From 56867c9b4ced86f7231a5ee1bbea62b0cb784574 Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Wed, 28 Aug 2024 07:46:57 +0100 Subject: Changes to lang --- public/articals/linux/media/02FormattingUSB | 83 +++++++++++++++-------------- 1 file changed, 42 insertions(+), 41 deletions(-) (limited to 'public/articals/linux/media/02FormattingUSB') diff --git a/public/articals/linux/media/02FormattingUSB b/public/articals/linux/media/02FormattingUSB index 3424aaa..f9fed53 100644 --- a/public/articals/linux/media/02FormattingUSB +++ b/public/articals/linux/media/02FormattingUSB @@ -1,22 +1,23 @@ - - + + + Formatting USBs with Linux 🔌🔥 - - + +
- +

Formatting USBs With Linux 🔌🔥

@@ -24,42 +25,42 @@

Formatting a USB in Linux is easier then burning an ISO and only needs a few quick commands!


What you will need 📋

-
+
-

Formatting the USB

-

1) The first thing you want to do is plug in your USB stick and identify the USB stick's name.

-
-

lsblk

-
-

Normally the USB will be something like sdX; a tip on identifying it is by looking at the size of the USB in the table that lsblk gives you!


+

Formatting the USB

+

1) The first thing you want to do is plug in your USB stick and identify the USB stick's name.

+
+

lsblk

+
+

Normally the USB will be something like sdX; a tip on identifying it is by looking at the size of the USB in the table that lsblk gives you!


-

2) Now you need to use a program called fdisk that will allow you to create a new partition table for the USB, this will format the USB.

-
-

sudo fdisk /dev/sdX

-
-

You will need to press the following keys to make a new partition table for the USB.

- -

Give fdisk a minute to write the new partition to the USB.


+

2) Now you need to use a program called fdisk that will allow you to create a new partition table for the USB, this will format the USB.

+
+

sudo fdisk /dev/sdX

+
+

You will need to press the following keys to make a new partition table for the USB.

+ +

Give fdisk a minute to write the new partition to the USB.


3) Now is the time to give that partition a file system. You should look into this beforehand to see what file system you want, but I will use ext4 because it was made for Linux use.

-
-

sudo mkfs.ext4 -L "Backup-USB" /dev/sdXx

-
-

The small x represents the number of the partition; the -L flag is used to give the USB stick a name.


+
+

sudo mkfs.ext4 -L "Backup-USB" /dev/sdXx

+
+

The small x represents the number of the partition; the -L flag is used to give the USB stick a name.


-

Finished ✅

-

All done! Now you have an empty USB stick you can use for all your files!


+

Finished ✅

+

All done! Now you have an empty USB stick you can use for all your files!


-
  Back
+        
  Back
     
-- cgit v1.2.3