Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to boot ArchARM with berryboot #22

Closed
RafTim opened this issue Mar 16, 2013 · 2 comments
Closed

unable to boot ArchARM with berryboot #22

RafTim opened this issue Mar 16, 2013 · 2 comments

Comments

@RafTim
Copy link
Contributor

RafTim commented Mar 16, 2013

I downloaded the latest ArchARM Iso and followed the instructions given for custom distributions on
http://www.berryterminal.com/doku.php/berryboot?do=backlink#adding_your_own_custom_operating_systems_to_the_menu

Unfortunately I was not able to boot it because the issue

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
...

appears. Is there a chance that distributions with a symlinked /lib folder could get support? Maybe it is possible, with some alternate installation mode in berryboot, to restart and load the original boot partition from a distribution?

@maxnet
Copy link
Owner

maxnet commented Mar 16, 2013

Problem is that we have a number of folders shared between all distributions, like /lib/modules.
The method used for sharing doesn't get along with symlinks.

As a workaround reverse the symlink so that /usr/lib points to /lib like this:

sudo kpartx -av archlinux-hf-2012-09-18.img
sudo mount /dev/mapper/loop0p2 /mnt
cd /mnt
sudo rm lib
sudo mv usr/lib lib
cd usr
sudo ln -s ../lib lib

@RafTim
Copy link
Contributor Author

RafTim commented Mar 20, 2013

works, thx for the help. It may crash with some internal installers on arch, which assume that /lib is a symlink, but changing the packagebuild helps here

@RafTim RafTim closed this as completed Mar 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants