#!/bin/sh
echo INITRD: Trying to mount /dev/mmcblk0p1 as msdos

mount -n -t msdos /dev/mmcblk0p1 /mnt

echo INITRD: Mounted OK

losetup /dev/loop0 /mnt/linux/linuxdsk.img

That is the text of my /sbin/init. the screen displays "INITRD: Mounted OK" and then "kernel panic-not syncing:.." and a lot of numeric trace information.

Any ideas? I want the loop to be mounted as the new root file system. Do I need to call "pivot_root"?