Linux:Debian:AutoMountDisk
Aller à la navigation
Aller à la recherche
- You need to identify the volume with:
- fdisk -l
- Now you got your volume, type:
- fdisk /dev/sdb (replace sdb by your volume)
- Press "N" and Enter. Confirm the other choices.
- Press "W" and Enter to write the change.
- mkfs.ext4 /dev/sdb1 (replace sdb1 by your partition)
- blkid
- Identify your partition UUID.
- nano /etc/fstab
- Add "UUID=<uuid-of-ntfs-file-system> /mnt/sdb1 ext4 defaults 0 2"
- mount -a