Create README.md
This commit is contained in:
parent
3d9bb84616
commit
1d5ee0d272
1 changed files with 17 additions and 0 deletions
17
MountExternalDrive/README.md
Normal file
17
MountExternalDrive/README.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Automatically mount external drive in linux
|
||||||
|
|
||||||
|
`sudo blkid`
|
||||||
|
|
||||||
|
copy the UUID of the desired drive
|
||||||
|
|
||||||
|
`sudo vim /etc/fstab`
|
||||||
|
|
||||||
|
Add following line with the correct UUID and format to the bottom of the file:
|
||||||
|
|
||||||
|
```
|
||||||
|
UUID=XXXX-XXXX /media/external exfat defaults 0 0
|
||||||
|
```
|
||||||
|
|
||||||
|
Automatically mount with:
|
||||||
|
|
||||||
|
`sudo mount -a`
|
Loading…
Reference in a new issue