maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Upgrading (https://talk.maemo.org/forumdisplay.php?f=8)
-   -   USB storage access after MMC boot (https://talk.maemo.org/showthread.php?t=17689)

weston 2009-01-16 21:56

Re: USB storage access after MMC boot
 
Hi all,
I'm a newbie with a 770. I've just set up booting into OS2007HE from MMC. When I plug the device into my linux pc via usb, it mounts my root file system on the MMC, as mentioned in this thread. However, when I look at /usr/sbin/osso-usb-mass-storage-enable.sh it does not seem to match the description above.
Is there an alternate way to keep the root filesystem from mounting on a 770 and 2007HE?
Here are the contents of /usr/sbin/osso-usb-mass-storage-enable.sh on my tablet:
Quote:

#!/bin/sh
DIR=/mnt/initfs/lib/modules/current
if [ -f $DIR/g_file_storage.ko ]; then
DIR=/lib/modules/current
exec chroot /mnt/initfs /sbin/insmod $DIR/g_file_storage.ko stall=0 file=/dev/mmcblk0
else
DIR=/lib/modules/`uname -r`
exec chroot /mnt/initfs /sbin/insmod $DIR/g_file_storage.ko stall=0 file=/dev/mmcblk0
fi
Any help would be greatly appreciated. Thanks in advance!

fanoush 2009-01-19 13:41

Re: USB storage access after MMC boot
 
replace both "file=/dev/mmcblk0" occurrences with "file=/dev/mmcblk0p1" (i.e. add "p1")


All times are GMT. The time now is 09:03.

vBulletin® Version 3.8.8