- Linux Computer with USB Ports (optional SD Card Slot)
- micro SD Card with SD Adapter (with USB adapter if system doesn’t have SD Slot)
- USB Flash Drive
- Raspberry Pi connected to a video screen (usually HDMI)
- The Flash Drive and the SD card must be 32GB or less
- FAT32 file system is limited to 32GB
- The Berryboot application is a GUI. So, it must be used with an HDMI TV/Monitor
- Do NOT untar the berryboot files from berryterminal until they are on the SD Card
- The 'Install BerryBoot on micro SD Card' procedure only needs to be performed once. It is performed to place the BerryBoot on a NEW SD Card that has a FAT32 file system. When the NEW SD Card with BerryBoot Application is booted on the Raspberry Pi for the first time, it will partition the SD Card into two partitions: FAT32 for the required BerryBoot application and a Linux Ext4 partition that holds the various Bootable images. After the first boot of the BerryBoot SD Card in the Raspberry Pi, the various Linux bootable images are either downloaded thru the Network or imported from a USB Stick. The USB Stick method is used to import the NextCloudPi Linux image. Once it is imported from the USB Stick, it is stored in the Linux ext4 Partition on the SD Card and the BerryBoot Menu is updated.
- On a Linux System copy the following files (latest):
- ‘build-SD-berryboot.sh’ script
- ‘buildlib.sh’ script
- ‘NextCloudPi_Rpi_xx-xx-xx.tar.bz2’ (xx-xx-xx = mm-dd-yy)
- Install squashfs-tools if it is not installed
- Unzip, then Untar the ‘NextCloudPi_Rpi_xx-xx-xx.tar.bz2’ file
- Run ‘build-SD-berryboot.sh NextCloudPi_Rpi_xx-xx-xx.tar.bz2’
- Copy ‘NextCloudPi_Rpi_Berryboot_xx-xx-xx.img’ to the USB Flash Drive
- Eject the USB Flash Drive
Note: Refer to https://www.berryterminal.com/doku.php/berryboot
- Download the proper Berryboot zip file for your Raspberry Pi from the website listed above
- Put the SD Card in your Linux System
- Wait for the SD Card to mount
- Verify that it is a FAT32 file system using ‘mount’ (should have ‘type vfat’ for SD)
- Copy the Berryboot zip to the SD Card
- CD to the SD Card
- Unzip the Berryboot zip file
- Remove the zip file (if you don’t the Raspberry Pi will error on boot)
- CD to an alternate directory as to unmount the SD Card
- ‘umount’ (or eject) the SD Card
- Put the SD Card in your Raspberry Pi.
- Start your Pi with a Keyboard and a Mouse connected
- Wait for the ‘Welcome’ screen to appear (Berryboot installer):
- Set Video
- Set Network Connection
- If network settings is correct, the proper Locale settings should be made. If not, select the proper Locale settings.
- If you selected a ‘Wireless’ connection:
- Select Wireless Connection to use
- Provide password if needed
- Select ‘Ok’
- ‘Select destination drive’ screen:
- Select the SD Card (usually starts with mmc)
- Select File system (usually ext4)
- Click ‘Format’
- It will now Re-partition the Berryboot SD Card and format it
- Select cancel on the ‘Add OS’ screen
- Wait for the Raspberry Pi to reboot after selecting “Ok” for reboot
- If the USB Flash Drive is already connected to a USB Port, continue to ‘Install the NextCloudPi on the SD Card’
- Connect the USB Flash Drive (with ‘NextCloudPi_Rpi_Berryboot_xx-xx-xx.img’) to the Pi
- Install the Berryboot SD Card from above
- Power on the Pi if it is off
- Wait for the ‘BerryBoot menu editor’ screen to display
- Click & HOLD the ‘Add OS’ button
- Select ‘Copy OS from USB stick’
- The ‘Select image file’ should be displayed
- Select the OS image to add to the SD Card it should be: ‘NextCloudPi_Rpi_Berryboot_xx-xx-xx.img’
- Click on ‘Open’
- Wait for it to copy the image to the micro SD Card
- To make it the default image to boot, select it and click on ‘Set Default’
- Click on ‘Exit’
- The Pi should reboot
- Start configuring and using your new NextCloudPi image...