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:49] – 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) | ||
| \\ | \\ | ||
| - | Lets create a mount point and call it NewDisk | + | |
| - | \\ | + | |
| sudo mkdir / | sudo mkdir / | ||
| \\ | \\ | ||
| To Mount the Disk | To Mount the Disk | ||
| - | \\ | + | |
| sudo mount /dev/sda1 / | sudo mount /dev/sda1 / | ||
| \\ | \\ | ||
| - | |||
| | | ||
| | | ||
mount_usb_drive_on_boot.1469738959.txt.gz · Last modified: (external edit)
