Is block-mount gone? Where is block?
-
I'm trying to boot my OS from USB because I don't have any room to install git or anything interesting. But the first issue i have is that the instructions say:
opkg install block-mount kmod-fs-ext4 kmod-usb-storage-extras
but block-mount seems to have gone away:
- opkg_install_cmd: Cannot install package block-mount.
Documentation says that it's now handled by ubox, fine, which is installed:
Package ubox (2016-09-26-5649c028-1) installed in root is up to date.
But ... where is the executable?
oot@Omega-7C0F:~# block
-ash: block: not found
root@Omega-7C0F:~#
-
@Duane-Morin said in Is block-mount gone? Where is block?:
I'm trying to boot my OS from USB because I don't have any room to install git or anything interesting. But the first issue i have is that the instructions say:
opkg install block-mount kmod-fs-ext4 kmod-usb-storage-extras
Is this from the Omega1 documentation at https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs ?
If so, I think there are some significant differences on how this needs to be done for the Omega2 - and there is as yet no updated info on how to do this for the Omega2 - something which I need and eagerly await - hopefully it will be provided in due course
-
It's because of the package is not listed in the repository. You have to add the repository which contains the package. First open distfeeds.conf file:
vi /etc/opkg/distfeeds.conf
There are some url is commented. I'm not sure which one contains the package you need, so just uncomment all the url and save the file.
Then run opkg update to update the list.
Then you try to install block-mount again.
-
@Lam-Son Thanks for that
FYI: The line in distfeeds.conf that needs un-commenting to get block-mount is:
src/gz reboot_core http://downloads.lede-project.org/snapshots/targets/ramips/mt7688/packages
After making this change, re run:
opkg update opkg install block-mount
-
In relation to using pivot-overlay (and/or pivot-root) on the Omega2 to get more system disk space using a USB drive (or SD card?), see my recent post https://community.onion.io/topic/1295/more-system-disk-space-using-pivot-overlay-and-pivot-root-on-the-omega2
-
Is this from the Omega1 documentation at https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs ?
No, it appears in the current Omega2 documentation (https://docs.onion.io/omega2-docs/extending-omega-memory.html#going-further-2).
I manually created an entry in /etc/fstab to mount my MicroSD, but it doesn't get mounted when I execute "mount -a". Started to look at docs to see how OpenWRT is different from every other *nix I've worked with in the last 30+ years. Still don't have an answer.
Seems strange that I'd have to add distfeeds to get something so basic working.
-
@Steven-Collins So I have my MicroSD getting mounted now. Turns out I'd not added all the fields, leaving off the last two. Oops, that doesn't work!
-
@Steven-Collins said in Is block-mount gone? Where is block?:
Seems strange that I'd have to add distfeeds to get something so basic working.
Both OpenWRT and LEDE are meant for network-routers and modems. They are not general-purpose Linux-distros and they never will be, and they being meant for network-routers/modems means generally a very static, pre-defined setup.