httpCRASH Posted August 26, 2012 Share Posted August 26, 2012 i upgraded my mk4, and forgot to take a copy of my conf files. im using a huawei e180 3g modem, with a micro sd card as swap and storage. i found someone in the forums who uses the same type of modem, so got the 3g part down. but the sd card is not auto mounting, and in /dev sda1 and sda2 is not showing up, only sda. now i tried the bellow, and look there, mounted, and sda1 and sda2 now showing up in /dev root@Pineapple:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 1.1M 284.0K 868.0K 25% / /dev/root 5.0M 5.0M 0 100% /rom tmpfs 14.4M 88.0K 14.3M 1% /tmp tmpfs 512.0K 0 512.0K 0% /dev /dev/mtdblock3 1.1M 284.0K 868.0K 25% /overlay overlayfs:/overlay 1.1M 284.0K 868.0K 25% / root@Pineapple:~# mount /dev/sda /usb/ mount: mounting /dev/sda on /usb/ failed: Invalid argument root@Pineapple:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 1.1M 284.0K 868.0K 25% / /dev/root 5.0M 5.0M 0 100% /rom tmpfs 14.4M 88.0K 14.3M 1% /tmp tmpfs 512.0K 0 512.0K 0% /dev /dev/mtdblock3 1.1M 284.0K 868.0K 25% /overlay overlayfs:/overlay 1.1M 284.0K 868.0K 25% / /dev/sda1 6.6G 250.2M 6.0G 4% /usb root@Pineapple:~# so what can i have forgotten in my new configs? Quote Link to comment Share on other sites More sharing options...
sickduck Posted August 27, 2012 Share Posted August 27, 2012 Give this a try: put "sleep 10" in /etc/init.d/fstab file after "START=20" and this waits 10 seconds before mounting giving it time to settle in. Quote Link to comment Share on other sites More sharing options...
Neworld Posted August 27, 2012 Share Posted August 27, 2012 When in doubt... pull your UART out. :D Clean flash- http://www.ebay.com/itm/CP2102-USB-2-0-to-UART-TTL-6PIN-Module-Serial-Converter-/130683943875?pt=LH_DefaultDomain_0&hash=item1e6d5ebbc3 Quote Link to comment Share on other sites More sharing options...
PineDominator Posted August 28, 2012 Share Posted August 28, 2012 Give this a try: http://forums.hak5.o...t.d#entry205878 put "sleep 10" in /etc/init.d/fstab file after "START=20" and this waits 10 seconds before mounting giving it time to settle in. I beleve that a sleep command has ben in the mk4 firmware since 2.5.0 Quote Link to comment Share on other sites More sharing options...
httpCRASH Posted August 28, 2012 Author Share Posted August 28, 2012 Give this a try: http://forums.hak5.o...t.d#entry205878 put "sleep 10" in /etc/init.d/fstab file after "START=20" and this waits 10 seconds before mounting giving it time to settle in. i actually tried this before posting, and i raised the sleep to 30, still no luck in auto mounting Quote Link to comment Share on other sites More sharing options...
httpCRASH Posted August 29, 2012 Author Share Posted August 29, 2012 When in doubt... pull your UART out. :D Clean flash- http://www.ebay.com/...=item1e6d5ebbc3 haha, yeah, that is always a fun way to spend the afternoon, but i dont think that will do much here, as the router is not bricked, and has just been updated to the latest firmware (everything else seems to work fine), so its standart configs and clean install already :D Quote Link to comment Share on other sites More sharing options...
kevambert Posted August 29, 2012 Share Posted August 29, 2012 what about your fstab ? this works for me. config global automount option from_fstab 1 option anon_mount 1 config global autoswap option from_fstab 1 option anon_swap 1 config mount option target /usb option device /dev/sda option fstype ext4 option options rw,sync option enabled 1 option enabled_fsck 0 config mount option target /usb option device /dev/sda1 option fstype ext4 option options rw,sync option enabled 1 option enabled_fsck 0 config swap option device /dev/sda2 option enabled 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.