Usb drive
Preparing the Drive for Nextcloud¶
Identify the Intended Drive¶
Use lsblk
to identify the drive you want to use for Nextcloud. In this example, we’ll assume the drive is /dev/sda
.
Partitioning the Drive¶
-
Install
parted
-
Create a GPT Partition Table
-
Create a Partition
-
(Optional) Name the Partition
-
Format the Partition
Mount the Partition¶
-
Create a Mount Point
-
Mount the Partition
-
Add to
/etc/fstab
for Automatic Mounting -
Set Proper Permissions
Final Steps¶
Once these steps are completed, you can use the USB drive as the data drive during the Nextcloud installation.