Posted: Sat Jul 16, 2011 20:39 Post subject: Where is ext2.o ? [ for optware usb ext2 installs]
I converted my usb stick for optware from ext3 to ext2 and now it can't mount. It was suggested from the forum to use "insmod /lib/modules/2.4.37/ext2.o"
I can't find it. Can someone post it or post a link to it. Thanks!
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Sat Jul 16, 2011 22:02 Post subject:
The location will depend on your kernel version. As mine has this directory, I suspect yours is a 2.6 kernel. Please post your router type and the firmware you are using for it. _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
Firmware/router:
DD-WRT v24-sp2 (06/14/11) std - build 17201
Asus RT-N13U
When I formated another usb stick as ext3 everything mounted ok. How do I mount this ext2 usb stick? I copied a mega-dd-wrt wrt54g-TM's ext2.o to the /tmp directory and ran insmod /tmp/ext2.o. Still didn't work.
Any commented would be greatly appreciated. Thanks1
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Sun Jul 17, 2011 15:10 Post subject:
Since you are using a very recent version, you have to insert the appropriate modules to get them to work right before mounting.
This should work for you (without the double quotes):
"/lib/modules/`uname -r`/ext2.o"
If it does not, you are missing another module which would make it work or your partition is not appropriately mountable by DD-WRT. _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Sun Jul 17, 2011 20:00 Post subject:
In my firmware (using the 2.4 kernel), there does not appear to be the "kernel" directory. Modify that command to this (without the double quotes):
"/lib/modules/`uname -r`/kernel/ext2.o"
Once the appropriate module is inserted, you should be able to mount the disk using the following command (without quotes):
"mount -t ext2 /dev/discs/disc0/part1 /mnt/location"
The '/dev/discs/disc0/part1' might have to be modified to fit the drive as well as the '/mnt/location' to where you want it to show up. _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
On my other usb ext3 stick everything works. It's mount is the folowing:
root@DD-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ramfs on /tmp type ramfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /opt type ext3 (rw,noatime,nodiratime,data=ordered)
/dev/discs/disc0/part3 on /jffs type ext3 (rw,data=ordered)
/dev/sda3 on /mnt type ext3 (rw,noatime,data=ordered
So I copied ext2.o over.
I did the following:
insmod /tmp/var/ext2.o
mount -t ext2 /dev/discs/disc0/part1 /opt
You can not use a module built for Linux kernel 2.4 (Broadcom based WRT54 routers) on an RaLink based router running Linux 2.6
There is a long thread in the Ralink section on how to load usb and file system modules on the RT-N13U. _________________ Kernel panic: Aiee, killing interrupt handler!