I just downloaded the archlinux-hf-2013-02-11.img and followed the instructions to add a custom system from berryboot:
$this->bbcode_second_pass_code('', '
$ sudo kpartx -av image_you_want_to_convert.img
add map loop0p1 (252:5): 0 117187 linear /dev/loop0 1
add map loop0p2 (252:6): 0 3493888 linear /dev/loop0 118784
$ sudo mount /dev/mapper/loop0p2 /mnt
$ sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab
$ sudo mksquashfs /mnt converted_image_for_berryboot.img -comp lzo -e lib/modules
$ sudo umount /mnt
$ sudo kpartx -d image_you_want_to_convert.img
')
After berryboot successfully added it to the list of Distributions, I was not able to boot it.
I read on update problems, but all this posts are from the last year. I also tried to leave modules and altered the mksquashfs without -e flag without any change.
Is this an ArchARM problem or one from berryboot? Can I fix it somehow ?
The message:
$this->bbcode_second_pass_quote('', '
')error: having a symlink for /lib and/or /sbin inside your image is not allowed!
This conflicts with the shared AUFS folders
...
switch root: can't execute '/sbin/init': no such file or directory
...