From 0764673197780fe8d6484bf97a3f1bd91773e6c4 Mon Sep 17 00:00:00 2001 From: Bandie Date: Wed, 25 Apr 2018 11:54:19 +0200 Subject: [PATCH] Created Preparation: Using the removable media flag (markdown) --- ...aration:-Using-the-removable-media-flag.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Preparation:-Using-the-removable-media-flag.md diff --git a/Preparation:-Using-the-removable-media-flag.md b/Preparation:-Using-the-removable-media-flag.md new file mode 100644 index 0000000..247a1e5 --- /dev/null +++ b/Preparation:-Using-the-removable-media-flag.md @@ -0,0 +1,23 @@ +If you want to use removable media you'll need two GPT-formatted removable storage devices, and said devices must have at least one partition. Here's an example fdisk session, showing how this might be accomplished: + +```console +$ sudo fdisk /dev/sdc + +Welcome to fdisk (util-linux 2.31.1). +Changes will remain in memory only, until you decide to write them. +Be careful before using the write command. + + +Command (m for help): g +Created a new GPT disklabel (GUID: AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA). + +Command (m for help): n +Partition number (1-128, default 1): +First sector (2048-15661022, default 2048): +Last sector, +sectors or +size{K,M,G,T,P} (2048-15661022, default 15661022): + +Created a new partition 1 of type 'Linux filesystem' and of size 7.5 GiB. +Command (m for help): w +``` + +You'll find the UUID of your partition in /dev/disk/by-partuuid/. You can find out which device is which typing `ls -l /dev/disk/by-partuuid/` in your favourite shell. \ No newline at end of file