--- mount_root.orig 2007-05-19 23:50:27.000000000 +0200 +++ files/sbin/mount_root 2007-05-20 01:17:55.000000000 +0200 @@ -42,8 +42,25 @@ . /bin/firstboot mtd unlock rootfs_data jffs2_ready && { + echo "loading USB and ext2 modules" + insmod usbcore + insmod ext2 + insmod ohci-hcd + insmod uhci-hcd + insmod ehci-hcd + insmod scsi_mod + insmod sd_mod + insmod usb-storage + lsmod > /tmp/x.txt + sleep 5 + mknod /dev/sda b 8 0 + mknod /dev/sda1 b 8 1 + ls -al /dev/sda* >> /tmp/x.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"