Mount USB at boot and reboot.

Dear all,
how can I mount a USB on boot and reboot?
I have on my USB some files that must be copied on boot and reboot.
Could you help me, please?
I tried a lot of different solution (@reboot in crontab f_or user root_, modify the_ fstab_, putting delays...) bit it does not work in any case.
Note that the USB can change, I just need something that mount any USB key connected to the UPboard when the system boots.
Thanks.
Silvano
Eng. Silvano Bertoldo, PhD
Comments
-
Dear all,
I tried o modify the following modification in_ fstab_ file. Just add the following row:
/dev/sda1 /mnt/usb auto defaults 1 1
It is the simplest configuration I can define in fstab file.But it does not work on this system, while it works on Debian standard distribution.
Please, could you help me? Is there something I miss or I do not understand in the configuration of UPboard????
Silvano
Eng. Silvano Bertoldo, PhD
-
I solved my problem: please note that the ubilinux OS automount the USB key in /media/[user]/[USBlabel] immediately when it is plugged, and also when you boot the system.
After the boot, if you go to that folder you can find your USB.Silvano
Eng. Silvano Bertoldo, PhD
-
Hi @Sil
I'm glad you found a solution. Many thanks for sharing it with the community.
Best regards,
-Dan
Tagged
Categories
- 303 All Categories
- 104 Announcements & News
- 52 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 53 Unboxing & Project Sharing
- 24 Tech Updates
- 590 UP Products
- 6 UP Xtreme i12
- 1 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 13 UP Squared V2
- 41 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 48 UP Squared Pro
- 140 UP Xtreme
- 826 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral