[maemo-developers] Booting from external flash card on N800

From: Rainer Dorsch rdorsch at web.de
Date: Sun Nov 15 00:08:42 EET 2009
Hello,

I copied a native diablo rootfs on my external flash on the N800 as described 
here http://wiki.maemo.org/Advanced_booting. It boots and asks all the 
parameters (language, time, phone, etc.) but it seems that my external flash 
partition gets mounted readonly.

mount shows /dev/mmcblk1p2 on / type ext2 (ro,noatime)

Has anybody thoughs on why that is?

In my bootmenu.conf,
MENU3 is the one I added for the external card
MENU2 works well (was created by nupgrade.sh as a clone of the internal flash)

Here is the content of my bootmenu.conf:

Nokia-N800-23-14:/home/user/bin/initfs_flasher# cat bootmenu.conf
# bootmenu customisation file
#
# included from bootmenu.sh after default menu is defined
# you can change some items or redefine menu completely

# timeout for automatic selection when no key is pressed
# set to -1 for no timeout (not recommended, can drain battery when device 
reboots unatteded)
MENU_TIMEOUT=5

# IP address for USB networking
#USB_IP=192.168.2.15

# dim screen when in menu
#/usr/sbin/dsmetest -l 1 #for OS2006/7
#/usr/sbin/dsmetest -l 3 #for OS2008, 1 turns screen completely off

# menu items
MENU_MIN=1 # first item index

#no need to redefine
MENU_1_NAME="Internal flash"
MENU_1_ID="flash"

MENU_2_NAME="Internal MMC card, partition 2, ext2"
MENU_2_ID="mmc2"
MENU_2_DEVICE="${INT_CARD}p2"
MENU_2_MODULES="mbcache ext2"
MENU_2_FSTYPE="ext2"
MENU_2_FSOPTIONS="noatime"
[ -d "/sys/block/${INT_CARD}/${MENU_2_DEVICE}" ] || 
MENU_2_NAME="(${MENU_2_NAME}) N/A"

#MENU_3_NAME="Internal MMC card, partition 3, ext2"
#MENU_3_ID="mmc3"
#MENU_3_DEVICE="${INT_CARD}p3"
#MENU_3_MODULES="mbcache ext2"
#MENU_3_FSTYPE="ext2"
#MENU_3_FSOPTIONS="noatime"
#[ -d "/sys/block/${INT_CARD}/${MENU_3_DEVICE}" ] || 
MENU_3_NAME="(${MENU_3_NAME}) N/A"

MENU_3_NAME="External MMC card, partition 2, ext3"
MENU_3_ID="mmc12"
MENU_3_DEVICE="${EXT_CARD}p2"
MENU_3_MODULES="mbcache ext2"
MENU_3_FSTYPE="ext2"
MENU_3_FSOPTIONS="noatime" #",data=writeback"
[ -d "/sys/block/${EXT_CARD}/${MENU_4_DEVICE}" ] || 
MENU_4_NAME="(${MENU_4_NAME}) N/A"

MENU_4_NAME="Power off (when not on charger)"
MENU_4_ID="off"

#last item index, change if you add/remove items
MENU_MAX=4
Nokia-N800-23-14:/home/user/bin/initfs_flasher#

Thanks,
Rainer

-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: rdorsch at web.de
jabber: rdorsch at jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20091114/a505d764/attachment.pgp 
More information about the maemo-developers mailing list