![]() |
Boot from MMC2 Failed
Can anyone help me troubleshoot this error message? After switching to MMC boot, I get "Boot from mmc2 failed, booting from flash."
N800 running latest firmware. 8GB internal, 2GB external. I reimaged before beginning the dual boot procedure. Used the updated boot menu from genius fanoush. Used gnutar. Did not encounter any unusual error messages throughout. Used Schmot's instructions (except for the size of partitions) for setting up the partitions. Used nmacleod's handy dandy nupgrade to do the rest. TIA k |
Re: Boot from MMC2 Failed
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.) |
Re: Boot from MMC2 Failed
Quote:
1. Did you really create and format ext2 partition for the image ? 2. Did you tar correctly to /dev/mmcblk0p2? 3. check the bootmenu.conf item for the image. Are ext2 and mbcache modules loaded? Is the selection item "mmcblk0p2" (for mmc2 the second partition)? |
Re: Boot from MMC2 Failed
try switching cards and just follow Milhouse's simplified instructions... I was unable to get my 8gb card to work, but didn't have any problems with my 4gb or the 2gb that I just did for my friend. don't know what or why it was like that but I have been booting from my 4gb ever since with no problems... well at least when I remember to hold the menu button
|
Re: Boot from MMC2 Failed
Quote:
Apparantly most success are from cloning from a working clone SD, instead of cloning directly from N8x0. And I also success with 1G, 2G, and 4G and failed 8G. Now I have another 8G and a 16G card, will try later this week. bun |
Re: Boot from MMC2 Failed
Quote:
I still think you do something wrong when partitioning, formating or cloning but don't know what it is. But if you want to track this down you can boot into usb network recovery mode and try mounting it by hand from initfs environment and see what is wrong. Once you login over usb via ssh or telnet try this: 1. insert each module you have in MENU_X_MODULES item (normally mbcache ext2) Code:
insmod /lib/modules/2.6.*/mbcache.ko mount -t FSTYPE -o FSOPTIONS /dev/DEVICE /mnt/new_root DEVICE is partition name in MENU_X_DEVICE (mmcblk0p2) FSTYPE is filesystem name in MENU_X_FSTYPE (ext2) FSOPTIONS is mount options (noatime) with default settings in bootmenu.sh for second partition the line should be Code:
mount -t ext2 -o noatime /dev/mmcblk0p2 /mnt/new_root The 'boot from xx failed' is printed when mount fails or in cannot find executable /mnt/new_root/usr/sbin/init EDIT: for details about usb networking recovery mode please read included README.txt in initfs_flasher directory Also when the mount fails post output of 'cat /proc/partitions' |
Re: Boot from MMC2 Failed
I haven't had any problems cloning to an an 8GB memory card with 7.5GB VFAT and 0.5GB ext2 partitions (either on OS2007 or OS2008, on N800 and N810).
So 8GB SD cards definately can be booted from, I'm not sure why some of you are having problems though - the obvious answer would be that the partitioning has gone awry. |
Re: Boot from MMC2 Failed
Make sure you are using the right partition information in all places. I don't know how the internal flash is numbered on the 810 but I boot from external flash on n800. I have one partition on the device.
For this use /dev/mmcblk1p1 You must also make sure your boot menu is set up to use the same one as well. The error message is showing that you likely did not point the boot menu to the right device. |
Re: Boot from MMC2 Failed
/dev/mmcblk0 is always the first memory card:
/dev/mmcblk1 is the second memory card:
When cloning on 770 and N800, my choice is to clone the OS to /dev/mmcblk0p2 (ie. second partition on the first memory card aka the internal card). When cloning on N810, my choice is to clone to /dev/mmcblk1p2 (ie. second partition on the second memory card aka the external card). The above advice has worked for me every time. My updated cloning script should automatically identify and use the correct memory card and partition (internal or external). There is a bug in the kernel which Fanoush referenced elsewhere which causes the memory card devices to be incorrectly identified which is annoying so be careful when viewing /proc/partitions as it gives bogus information. :) |
Re: Boot from MMC2 Failed
@fanoush
the output of the commands from usb recovery mode is as follows: bash: open: command not found bt ~ # telnet telnet> open 192.168.10.1 Trying 192.168.10.1... Connected to 192.168.10.1. Escape character is '^]'. BusyBox v1.00 (2007.12.07-09:22+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. / # insmod /lib/modules/2.6.*/mbcache.ko / # insmod /lib/modules/2.6.*/ext2.ko / # mount -t ext2 -o noatime /dev/mmcblk0p2 /mnt/new_root mount: Mounting /dev/mmcblk0p2 on /mnt/new_root failed: Invalid argument / # ls -la /mnt/new_root drwxr-xr-x 2 root root 0 Dec 7 09:31 . drwxr-xr-x 3 root root 0 Dec 7 09:31 .. / # ls -la /mnt/new_root/usr/sbin ls: /mnt/new_root/usr/sbin: No such file or directory / # cat /proc/partitions major minor #blocks name 31 0 128 mtdblock0 31 1 384 mtdblock1 31 2 2048 mtdblock2 31 3 2048 mtdblock3 31 4 257536 mtdblock4 254 0 8067072 mmcblk0 254 1 5119999 mmcblk0p1 254 2 2947072 mmcblk0p2 254 8 1997312 mmcblk1 254 9 1023999 mmcblk1p1 254 10 973312 mmcblk1p2 i am trying to boot from mmc2 which is 8gb partitioned as 3gb ext2 5gb. fat32 . I have cloned from the internal flash and booting fails. Any ideas of what i have done wrong(partition, cloning or something else) looking at the outputs ? |
All times are GMT. The time now is 00:57. |
vBulletin® Version 3.8.8