Linux:Debian:AutoMountDisk

De MxWiki
Révision datée du 10 octobre 2024 à 14:38 par Mikx (discussion | contributions) (Page créée avec « * 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 »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
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