Mount USB disk
Select packages
- Kernel modules
- USB Support
- kmod-usb-storage
- Filesystems:
- kmod-fs-vfat
- Utilities
- Filesystem
- e2fsprogs
- Disc
- fdisk
- Base system
- block-mount
- Kernel Modules
- Native Language Support
- kmod-nls-cp437
- kmod-nls-iso8859-1
Try mounting
mount -t vfat /dev/sda /mnt
If you are lucky, you should see big partition mounted on Carambola file systam.
root@OpenWrt:/# df -h Filesystem Size Used Available Use% Mounted on rootfs 14.7M 72.0K 14.6M 0% / /dev/root 6.3M 6.3M 0 100% /rom tmpfs 14.7M 104.0K 14.6M 1% /tmp tmpfs 512.0K 0 512.0K 0% /dev root 14.7M 72.0K 14.6M 0% /tmp/root overlayfs:/tmp/root 14.7M 72.0K 14.6M 0% / /dev/sda 3.8G 4.0K 3.8G 0% /mnt
In order to unmount new disk, type this command:
umount /dev/sda
Auto mount
Having this disk can be way useful with automounting option.
Edit file
/etc/config/fstab
Paste content:
config global automount option from_fstab 1 option anon_mount 1 config mount option target /mnt option device /dev/sda option fstype vfat option options rw,sync option enabled 1
Install packages to this new file system
Prepare
Edit file:
/etc/opkg.conf
Add line:
dest ram /mnt
Use
opkg install somepackage -d destination_name
Let's say you wish python
opkg install python -d sd