0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RasPi4によるホームサーバー構築 その5 USB HDD

0
Posted at

USB HDD

1. NTFSのインストール

sudo apt-get -y install ntfs-3g

2. USB HDDをマウント

USB HDDを接続して起動

マウントされているデバイスを確認

sudo fdisk -l

UUIDを確認

sudo blkid /dev/sda2

以下の様な表示があるので、UUIDをメモ

/dev/sda2: LABEL="DATA" UUID="48169C8E169C7E9E" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="5c682c83-342c-4436-b671-82f61c0d35e9"

マウントを追加

sudo vim /etc/fstab

以下を追記

UUID="48169C8E169C7E9E" /mnt/hdd ntfs-3g defaults,iocharset=UTF-8 0 2    
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?