rendered paste body--- mount_root.orig 2007-05-19 23:50:27.000000000 +0200
+++ files/sbin/mount_root 2007-05-20 00:31:38.000000000 +0200
@@ -42,8 +42,23 @@
. /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
+ ls -al /dev/sda1 >> /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"