0% found this document useful (0 votes)
24 views5 pages

BerryBoot v2

Apprendre le multiboot sur RaspBerry Pi

Uploaded by

Tarbrek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views5 pages

BerryBoot v2

Apprendre le multiboot sur RaspBerry Pi

Uploaded by

Tarbrek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

BerryBoot v2.

0 - bootloader / universal operating


system installer

For people short on SD cards: Berryboot is a simple boot selection screen, allowing you
to put multiple Linux distribution on a single SD card.
In addition it allows you to put the operating system files on an external USB hard drive
instead of on the SD card itself.
Download link Berryboot for the Raspberry Pi: berryboot-20121230.zip
To install: extract the contents of the .zip file to a normal FAT formatted SD card, and
put it in your Raspberry Pi. This can be simply done under Windows without any special
image writer software.
Once you start your Pi it will start an installer that reformats the SD card and downloads
the operating systems files from the Internet.
Other devices
In addition to running on the Raspberry Pi, Berryboot also supports Android tablets, TV
sticks and boards that have an Allwinner A10 processor.
For more information see the BerryBoot A10 page
Walkthrough
If your Pi is connected to the Internet BerryBoot will try to detect your location based on
your IP-address, and set the right timezone automatically. Verify that it is correct and
press “ok”

Select where you want to store the operating system files, and press “format” You can
install the operating system files on the SD card itself or an external USB stick/disk. Be
aware that if you choose an external drive, the files of the operating system will be
stored there, but you still need to keep the SD card in the Pi to boot from.

WARNING: all existing files on the disk will be erased.


Select which operating system you want to install. You can add more later.

It will download the files from the Internet automatically.


In the Berryboot menu editor you can install more operating systems, rename them,
delete them, etc. Press “exit” to exit the editor and start using the operating system you
installed.

Adding your own custom operating systems to the menu


(for advanced users)
You can add your own extra operating systems to the menu. However this requires that
you convert your file system image to SquashFS format first.

Most Raspberry Pi operating system images are disk images containing two partitions. A
FAT partition with the boot loader and kernel files, and a second ext4 partition with
everything else. We are interested in the second partition.

With a regular Linux desktop computer that has kpartx and mksquashfs installed, you
can convert the second partition to SquashFS like this:
$ 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 mksquashfs /mnt converted_image.img -comp lzo -e lib/modules

$ sudo umount /mnt

$ sudo kpartx -d image_you_want_to_convert.img

(We are excluding /lib/modules from the image, because the kernel modules shipped
with berryboot are used instead, and shared with all distributions.)
Put your SquashFS formatted image on a USB stick, go to the “Operating system
installer”, hold down your mouse button over “Add OS” and select “Install from USB
stick.
If your image prefers to have a certain memory split use the extension .img128 .img192,
.img224 or .img240 instead of .img.

You might also like