--- mount_root.orig 2007-05-19 23:50:27.000000000 +0200 +++ files/sbin/mount_root 2007-05-20 00:15:44.000000000 +0200 @@ -42,8 +42,21 @@ . /bin/firstboot mtd unlock rootfs_data jffs2_ready && { + echo "loading USB and ext2 modules" + echo "abc" > /tmp/x.txt + insmod usbcore + insmod ext2 + insmod ohci-hcd + insmod uhci-hcd + insmod ehci-hcd + insmod scsi_mod + insmod sd_mod + insmod usb-storage + lsmod > /tmp/lsmod.txt echo "switching to jffs2" - mount "$(find_mtd_part rootfs_data)" /jffs -t jffs2 && \ + # mount "$(find_mtd_part rootfs_data)" /jffs -t jffs2 && \ + + mount /dev/sda1 /jffs -t ext2 && \ fopivot /jffs /rom } || { echo "jffs2 not ready yet; using ramdisk"