1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to mount sd card to root on tomato-slodki-ND-1.28.02 ?

Discussion in 'Tomato Firmware' started by samsara00, May 19, 2011.

  1. samsara00

    samsara00 Addicted to LI Member

    I want to mount my sd card to the root directory or to say I want to save the log files and the webmon logs to the sd card.
    how to do so?
    If I type "mount /mmc/ / " the filesize of the mmc is the same size as /dev/root/ (3.2MB) instead of 3.6 GB from the sd.

    I tried it with this init script which I found in the forum, but it doesnt work for me
    sleep 15s
    mount "$boot_dev" /mmc
    [ -x /mmc/sbin/init ] && {
            mount -o move /proc /mmc/proc && \
            pivot_root /mmc /mmc/mmc && {
                    mount -o move /mmc/dev /dev
                    mount -o move /mmc/tmp /tmp
                    mount -o move /mmc/jffs2 /jffs2 2>&-
                    mount -o move /mmc/sys /sys 2>&-
    exec /bin/busybox init
    When I reboot the Router I can access the GUI for a short Time and then it wont respond anymore. Furthermore the Total / Free Memory shows just "??"

Share This Page