It looks like switch_root is being called with incompatible arguments, probably due to the previous mount errors. Make sure you have CONFIG_BLK_DEV_LOOP enabled. That should hopefully fix the /dev/loop0 errors.