From c392e2f4c316c2b9d3cd0daf7eb68850dc078ee7 Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Tue, 27 Aug 2024 13:27:03 +0100 Subject: New artical --- public/articals/linux/media/00cd | 2 +- public/articals/linux/media/02FormattingUSB | 66 +++++++++++++++++++++++++++++ public/articals/linuxlist | 3 +- 3 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 public/articals/linux/media/02FormattingUSB diff --git a/public/articals/linux/media/00cd b/public/articals/linux/media/00cd index a14505a..5e39566 100644 --- a/public/articals/linux/media/00cd +++ b/public/articals/linux/media/00cd @@ -19,7 +19,7 @@
-

How to burn optical media in Linux 💿

+

How To Format A USB with Linux 💿

Date: 23-08-2024


This is a quick tutorial to show you how to burn any file to a piece of optical disk media!

diff --git a/public/articals/linux/media/02FormattingUSB b/public/articals/linux/media/02FormattingUSB new file mode 100644 index 0000000..e4bed67 --- /dev/null +++ b/public/articals/linux/media/02FormattingUSB @@ -0,0 +1,66 @@ + + + + + + Formatting USBs with Linux 🔌🔥 + + + + +
+ +
+
+

Formatting USBs With Linux 🔌🔥

+

Date: 23-08-2024

+
+

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


+

What you will need 📋

+
    +
  • A USB drive
  • +
  • A computer with Linux 🐧🖥
  • +
  • The ability to read instructions and to follow them 🧠
  • +

+ +

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.

+
    +
  • o - Creates a new DOS partition table
  • +
  • n - New partition, press enter to all that follows
  • +
  • w - Writes the partition table
  • +
+

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.


+ +

Finished ✅

+

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


+ +
+
  Back
+    
+ + + diff --git a/public/articals/linuxlist b/public/articals/linuxlist index 9caf087..5d51853 100644 --- a/public/articals/linuxlist +++ b/public/articals/linuxlist @@ -19,7 +19,7 @@
-

Linux articles

+

Linux articles 🐧

Due to the fact I plan to write more articles about LinuxI have decided to make an index to preper for the future when I do write more.

Infomation about Linux

@@ -31,6 +31,7 @@

Arch Linux tutorials

-- cgit v1.2.3