Installation problems with BerryBoot

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Installation problems with BerryBoot

Postby jonny789 » Sun Apr 13, 2014 9:08 am

I have a Raspberry Pi with BerryBoot running . I downloaded latest arch image and converted the image to SqashFS.
Followed instructions mentioned in http://www.raspberrypi.org/forums/viewtopic.php?&t=31686 :
$this->bbcode_second_pass_code('', 'sudo kpartx -av arch*.img
sudo mkdir /mnt/tmp/
sudo mount /dev/mapper/loop0p2 /mnt/tmp/
cd /mnt/tmp/
sudo rm lib
sudo mv usr/lib lib
cd usr
sudo ln -s ../lib lib
cd
sudo mksquashfs /mnt/tmp/ Arch_Linux.img240 -comp lzo -e lib/modules
sudo kpartx -d arch*.img')
But on Booting. I get :
$this->bbcode_second_pass_code('', '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
...')
Plz tell me whats going wrong ..
jonny789
 
Posts: 1
Joined: Sun Apr 13, 2014 9:05 am

Re: Installation problems with BerryBoot

Postby moonman » Sun Apr 13, 2014 9:40 am

Do the same thing for sbin as you did for lib?

$this->bbcode_second_pass_code('', 'lrwxrwxrwx 1 root root 7 Jun 4 2013 bin -> usr/bin
lrwxrwxrwx 1 root root 7 Jun 4 2013 sbin -> usr/bin')

$this->bbcode_second_pass_code('', 'cd /mnt/tmp/
sudo rm sbin bin
sudo mv usr/bin sbin
sudo ln -s ./sbin bin
cd usr
sudo ln -s ../lib lib')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 23 guests