Created Preparation: Using the removable media flag (markdown)
parent
51fc1921d4
commit
0764673197
23
Preparation:-Using-the-removable-media-flag.md
Normal file
23
Preparation:-Using-the-removable-media-flag.md
Normal file
@ -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.
|
Loading…
x
Reference in New Issue
Block a user