Hi, 1) I have formatted the second partition(/dev/sda2) of my USB stick to ext2. 2) It is recognized by the web interface of TP-LINK but it is not mounted... 3)OpenWRT version is 12.09 "Attitude Adjustment and I follow these steps http://wiki.openwrt.org/doc/howto/extroot#openwrt.12.09.attitude.adjustment 4)My problem occurs when I try to mount the filesystem for the new external rootfs to a manually created directory /mnt/share I have tried : mount -t ext2 /dev/sda2 /mnt/share mount /dev/sda2 /mnt/share And I always get ---> mount: mounting /dev/sda2 on /mnt/share failed: Invalid argument
It seems that mounting cannot be done. I dunno if I have to change sth in etc/config/fstab . I only changed "option fstype 'ext2'" . I attach it for completeness... config global 'automount' option from_fstab '1' option anon_mount '1'
config global 'autoswap' option from_fstab '1' option anon_swap '0'
config mount option target '/overlay' option options 'rw,sync' option device '/dev/sda2' option fstype 'ext2' option enabled_fsck '0' option enabled '1'
config swap option enabled '1' option device '/dev/sda1'
Best, Theodoros
On Thu, Jan 30, 2014 at 3:25 AM, Tom Sparks tom_a_sparks@yahoo.com.auwrote:
On Thursday, 30 January 2014 8:18 AM, Theodoros Bourchas < bourchast@gmail.com> wrote:
Following the procedure that is described in the http://wiki.openwrt.org/doc/howto/extroot
I had to mount a filesystem in which the overlay will be copied to. I am using a Verbatim Store 'n' Stay Nano USB Drive - 8GB , (FAT32
filesystem)
and I have to configure OpenWRT to recognize this device. I have installed the following additional packages :
kmod-usb-storage, kmod-fs-vfat , block-mount.
After rebooting and plug-ing the USB, I had the interface in /dev/sda
and /dev/sda1 and the web page of the router seemed like this:
http://wiki.openwrt.org/doc/recipes/usb-storage-samba-webinterface
Next step was to mount, I followed the instructions as described in the
http://wiki.openwrt.org/doc/howto/usb.storage
mkdir -p /mnt/share mount -t vfat /dev/sda1 /mnt/share -o rw,sync But I received an error mount: mounting /dev/sda1 on /mnt/usb failed:
Invalid argument. I have searched a bit around web to find any solution but it seems that sth is missing.
Have you encountered a similar problem with OpenWRT on TP-LINK(3040)? Thanks in advance,
I formated the usb stick to ext2
What version of openwrt do you have?
I am guessing 12.09 "Attitude Adjustment" based on openwrt hardware page for TP-LINK MR3040
if so you were reading the wrong instruction set see < http://wiki.openwrt.org/doc/howto/extroot#openwrt.12.09.attitude.adjustment
Theodoros
tom PS: please use plain/ascii text when emailing the list