lsblk -f sudo umount /dev/sdb # optional sudo mkfs -t ext4 /dev/sdb sudo e2label /dev/sdb disk1 lsblk -f sudo mkdir /mnt/disk1 sudo mount /dev/sdb /mnt/disk1 # current session sudo vim /etc/fstab /dev/disk/by-uuid/[uuid here] /mnt/disk1 ext4 defaults 0 1 # permanent # uuid found in the output of "lsblk -f"
Leave a Reply