I have been bitten by the N810 device names changing with/without the removable card present but I think I have found a solution. I have put the following code at the top of my bootmenu.conf: Code: # Set up card names by model # Assume 770 INT_CARD="" EXT_CARD="mmcblk0" ... This has only been tested on my N810 but it works there. Would someone with an N800 like to test it as well? Maybe Frantisek could consider adding the device name logic to the standard bootmenu.sh and we could all just use the device name variables in our bootmenu.conf?
# Set up card names by model # Assume 770 INT_CARD="" EXT_CARD="mmcblk0" ...
INT_CARD="" EXT_CARD="" case `grep product /proc/component_version` in *SU-18) [ -d /sys/block/mmcblk0 ] && EXT_CARD="mmcblk0" ;; *RX-*) for i in mmcblk0 mmcblk1 ; do if [ -d /sys/block/$i ] ; then case `cat /sys/block/$i/device/../slot_name` in internal) INT_CARD=$i ;; external) EXT_CARD=$i ;; esac fi done ;; esac