Created
July 9, 2022 13:40
-
-
Save kgsnipes/349b2b83340039b8e863f82baef984ce to your computer and use it in GitHub Desktop.
mounting exfat on raspberry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#update apt | |
sudo apt-get update | |
sudo apt-get upgrade | |
#install | |
sudo apt-get install exfat-fuse | |
sudo apt-get install exfat-utils | |
#create directory | |
sudo mkdir /media/exfat | |
#list partitions | |
$ lsblk | |
#mount partition | |
sudo mount -t exfat /dev/sda2 /media/exfat | |
#find uuid of the device | |
$ blkid | |
#mount automatically on reboot | |
sudo nano /etc/fstab | |
#add this line to the end of the file. | |
UUID=CA1C-06BC /media/exfat exfat defaults,auto,umask=000,users,rw 0 0 | |
#formatting a partition to exfat | |
mkfs.exfat /dev/sda2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment