1. colokan usb
2.identifikasi usb
ls -l /dev/disk/by-uuid/
3. buat mount point
ls -l /dev/disk/by-uuid/
4. mount manualsudo chown -R pi:pi /media/usb
5.unmountsudo mount /dev/sda1 /media/usb -o uid=pi,gid=pi
If you used the fstab file to auto-mount it you will need to use :umount /media/usb
sudo umount /media/usb6. auto mount
masukkan baris berikut,sesuai idnya:sudo nano /etc/fstab
UUID=18A9-9943 /media/usb vfat auto,nofail,noatime,users,rw,uid=pi,gid=pi 0 0
lakukan reboot .7. tambahan. untuk ntfs install dulu
sudo apt-get install ntfs-3g
Contoh copy image raspi ke flashdisk.
# mount hdd ext or usb di ubuntu
cara manual
sudo fdisk -l
mount hdd external
sudo mount /dev/sdb1 /mnt
cek UUID drive via blkid
sudo blkid
edit fstab
sudo nano /etc/fstabmasukkan sesuai spek nya
#fixcorp hdd ext
UUID=92A4265CA4264359 /media/92A4265CA4264359 ntfs errors=remount-ro,auto,exec,rw,user 0 0
lakukan utk drive lain
lalu reboot.
Share This :
0 comments