View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#191
Originally Posted by terrencegf View Post
I tried various partition sizes for the DOS and the ext2 partitions. I tried both FAT16 and FAT32 for the DOS partition. Nothing worked. I could copy the root filesystem over just fine, and even mount it and see the files. But when I tried to boot from it, it would fail and then boot to internal flash. I also tried updating the kernel to the patched version that allows for faster access to the mmc cards. No difference.
This is strange. It shouldn't be related to the card size at all. If you can mount the card and see the data, it should be same at boot time. Which partition you used for ext2, /dev/mmcblk0p2 or something higher like p4,p5..?

You can edit/create bootmenu.conf (not .sh) and add
Code:
dmesg >/tmp/dmesg.out
as a last line and after boot see if there is anything suspicious in kernel log early at boot time. You can also see kernel log after it failed and booted from flash but the beginning is cut off.

You may also try to test if it is some limitation/bug of uclibc system in initfs. As root you may run
Code:
chroot /mnt/initfs
this will switch to the system used at early boot time so you can try mounting the card there and see if everything works too.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.