0
0

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 1 year has passed since last update.

ubuntu ntfs

Posted at

ntfs support on Ubuntu

https://linuxways.net/ubuntu/mount-ntfs-partition-ubuntu-22-04/
ところでは、まだntfs-3g (fuseベースの)を紹介されているが、ntfs-3gを使わなくても良い。

というわけで、今のやり方を書いておく as of ubuntu 22.04.

Steps

まずはtargetを見つける

$ sudo fdisk -l

/dev/sdaのような形でお目当てのドライブの/dev nodeを見つけておく
以下/dev/sdaが、お目当てのドライブ

mount point

$ mkdir /media/ntfsdisk

mount

$ sudo mount -t ntfs /dev/sda /media/ntfsdisk

fstab

$ sudo blkid /dev/sda

UUID=""の中身をコピっておく

$ sudo vim /etc/fstab
LABEL=writable	/	ext4	discard,errors=remount-ro	0 1
LABEL=system-boot       /boot/firmware  vfat    defaults        0       1
UUID=0xxxxxxxxx /media/ntfsdisk ntfs defaults 0 0

0xxxxxxは先ほどコピっておいたuuidに置き換える

mount pointも自分の好きな物に変えておく

ntfsに限らず、ext4などでも、everyone full controlにするやり方

UUID=xxxx-xxxx-xxxx-xxxx-xxxx /media/data ext4 defaults,nofail,auto,users,rw 0 2

users,rwを付与すれば良い

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?