mount_usb_drive_on_boot
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mount_usb_drive_on_boot [2016/07/28 20:47] – walkeradmin | mount_usb_drive_on_boot [2017/02/01 16:15] (current) – walkeradmin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | Having created a partition, formatted it and mounted it, the mounting temporary and will be lost upon reboot. To mount it at boot we can do the following: | + | Having created a partition, formatted it and mounted it, the mounting |
| \\ | \\ | ||
| \\ | \\ | ||
| Line 34: | Line 34: | ||
| Here we can see the uid for pi is 1000 (I am assuming you are using the pi account) | Here we can see the uid for pi is 1000 (I am assuming you are using the pi account) | ||
| \\ | \\ | ||
| - | | + | |
| - | + | ||
| - | sudo mount -t ntfs-3g -o uid=1000,gid=1000, | + | sudo mkdir / |
| + | \\ | ||
| + | To Mount the Disk | ||
| + | |||
| + | sudo mount /dev/sda1 /NewDisk | ||
| + | \\ | ||
| | | ||
| | | ||
mount_usb_drive_on_boot.1469738848.txt.gz · Last modified: (external edit)
