View Single Post
Posts: 4 | Thanked: 0 times | Joined on Feb 2008
#19
Originally Posted by ldrn View Post
I found this while having a similar problem and even reflashed my device to try and fix it.. but for me, the solution was... to edit the bootmenu.conf file and add options both memory cards. Oops. I had the good sense to copy the cloned partition beforehand onto my laptop, but eh, what the heck, it's a new version of Nokia's firmware anyway.

Key point is, for me, even though the "mount" command showed (and still shows!) the partition I had formatted as "/dev/mmcblk0p2", the bootmenu.conf has to have it as "/dev/mmcblk1p2". (This may have been mentioned by others before, but I missed it if so.)
Many thanks for this hint !

For my N810 I took out my external memory card while doing the cloning process. Then I booted from the internal memory card, second partition ext2 formated - everything worked as expected.

But then I plugged in the external memory card and rebooted and it stopped working, it always said: "Boot from mmc2 failed, booting from flash." I checked the filesystem and was able to mount the partition but booting didn't work. So I included the troubleshooting boot sequence tips and got no output when selecting mmc2 -> it just went booting from flash.

After numerous recloning runs and reflashing the initfs I modified the bootmenu.sh and reflashed the initfs again. Below is what I added (MENU_4...) and what makes the N810 boot from the mmcblk0p2 partition although it is the mmcblk1p2 partition in the boot setup -> maybe a bug ?

Code:
MENU_1_NAME="Internal flash"
MENU_1_ID="flash"

MENU_2_NAME="MMC card"
MENU_2_ID="mmc"

MENU_3_NAME="mmcblk0p2 MMC card, partition 2, ext2"
MENU_3_ID="mmc2"
MENU_3_DEVICE="mmcblk0p2"
MENU_3_MODULES="mbcache ext2"
MENU_3_FSTYPE="ext2"
MENU_3_FSOPTIONS="noatime"

MENU_4_NAME="mmcblk1p2 MMC card, partition 2, ext2"
MENU_4_ID="mmc1"
MENU_4_DEVICE="mmcblk1p2"
MENU_4_MODULES="mbcache ext2"
MENU_4_FSTYPE="ext2"
MENU_4_FSOPTIONS="noatime"

MENU_5_NAME="USB hard drive"
MENU_5_ID="usb"

MENU_6_NAME="Power off (when not on charger)"
MENU_6_ID="off"