Hello Meatloaf.
Anyway, as the title suggest, I have a Raspberry Pi with BerryBoot 2 running and happy (Tested and Working), and I want to add Arch Linux.
I converted the image provided on the Arch Linux website to SqashFS as per the instructions on the BerryBoot page. I `cp`ed this to a flashdrive, brought it to school with the rPi, and copied it over there. I get a Kernel Panic right after the CPU governor is set, something about `/sbin/init` not being executed.
Does anybody have suggestions as to what to do?
Thanks,
The Aviator
-
- Posts: 3
- Joined: Wed Jan 30, 2013 12:51 am
Re: rPi, BerryBoot, ArchLinux (2 out of 3 ain't bad!)
Need to reverse Arch's /lib -> /usr/lib symlink stuff.
See the Berryboot thread in "general discussion".
See the Berryboot thread in "general discussion".
-
- Posts: 3
- Joined: Wed Jan 30, 2013 12:51 am
Re: rPi, BerryBoot, ArchLinux (2 out of 3 ain't bad!)
I have, I sshed into my home box (I'm at school), and fixed up the disk there. Now `ls -l` on /usr/ returns a symlink `lib -> ../lib`. I will test when at home, and will see about this then.Max wrote:Need to reverse Arch's /lib -> /usr/lib symlink stuff.
See the Berryboot thread in "general discussion".
Thanks Max!
-
- Posts: 3
- Joined: Wed Jan 30, 2013 12:51 am
Re: rPi, BerryBoot, ArchLinux (2 out of 3 ain't bad!)
Worked like a charm! [Solved], and will edit my first post to reflect the solution. Thank you SO much!
EDIT: So much for editing.
The following are the commands that I issued, just so nobody has to do any burrowing.
First the commands as Max entered them, then as I entered them (some ways to save typing).
Max's way:
My way, that doesn't care about what version of Arch you downloaded (I created a folder in my home directory called rPi and downloaded the disk image itself to there), and I also use /mnt for mounting flash drives, so I use subfolders in /mnt for mounting:
EDIT: So much for editing.
The following are the commands that I issued, just so nobody has to do any burrowing.
First the commands as Max entered them, then as I entered them (some ways to save typing).
Max's way:
Code: Select all
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
cd /tmp
sudo mksquashfs /mnt Arch_Linux.img240 -comp lzo -e lib/modules
sudo kpartx -d archlinux-hf-2012-09-18.img
Code: Select all
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 ~/rPi
sudo mksquashfs /mnt/tmp/ Arch_Linux.img240 -comp lzo -e lib/modules
sudo kpartx -d arch*.img
Re: rPi, BerryBoot, ArchLinux (2 out of 3 ain't bad!)
Could you please post a download link of the image?
Re: rPi, BerryBoot, ArchLinux (2 out of 3 ain't bad!)
Hello all, I am attempting to use ArchLinux, on a Pi2 with berryboot. I acquired "ArchLinuxARM-rpi-2-latest.tar(1).gz", however cannot find an .img or .squashfs. I'm unsure how to handle preparation of berryboot-images on a Windows X64 machine. I'm sorry if this is the wrong thread, but any ideas?