BerryBoot Instructions for NextCloudPi

Prerequisites

  • 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)

Difficulty level: medium

Warnings/Notes

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

BerryBoot Instructions for NextCloudPi

1. Creating and copying NextCloudPi image to the USB Flash Drive:

  1. 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)
  2. Install squashfs-tools if it is not installed
  3. Unzip, then Un-tar the NextCloudPi_Rpi_xx-xx-xx.tar.bz2 file
  4. Run build-SD-berryboot.sh NextCloudPi_Rpi_xx-xx-xx.tar.bz2
  5. Copy NextCloudPi_Rpi_Berryboot_xx-xx-xx.img to the USB Flash Drive
  6. Eject the USB Flash Drive

2. Install BerryBoot on micro SD Card (Only needs to be performed once):

Note: Refer to https://www.berryterminal.com/doku.php/berryboot

  1. Download the proper Berryboot zip file for your Raspberry Pi from the website listed above
  2. Put the SD Card in your Linux System
  3. Wait for the SD Card to mount
  4. Verify that it is a FAT32 file system using mount (should have type vfat for SD)
  5. Copy the Berryboot zip to the SD Card
  6. CD to the SD Card
  7. Unzip the Berryboot zip file
  8. Remove the zip file (if you don’t the Raspberry Pi will error on boot)
  9. cd to an alternate directory as to unmount the SD Card
  10. umount (or eject) the SD Card
  11. Put the SD Card in your Raspberry Pi.
  12. Start your Pi with a Keyboard and a Mouse connected
  13. 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.

Welcome

  1. If you selected a Wireless connection:
    • Select Wireless Connection to use
    • Provide password if needed
    • Select ‘Ok’
  2. ‘Select destination drive’ screen:
    • Select the SD Card (usually starts with mmc)
    • Select File system (usually ext4)
    • Click Format

Disk selection

  1. It will now Re-partition the Berryboot SD Card and format it
  2. Select cancel on the Add OS screen
  3. Wait for the Raspberry Pi to reboot after selecting “Ok” for reboot
  4. If the USB Flash Drive is already connected to a USB Port, continue to ‘Install the NextCloudPi on the SD Card’

3. Install the NextCloudPi on the SD Card:

  1. Connect the USB Flash Drive (with NextCloudPi_Rpi_Berryboot_xx-xx-xx.img) to the Pi
  2. Install the Berryboot SD Card from above
  3. Power on the Pi if it is off
  4. Wait for the BerryBoot menu editor screen to display
  5. Click & HOLD the Add OS button
  6. Select Copy OS from USB stick

  1. The Select image file should be displayed
  2. Select the OS image to add to the SD Card it should be: NextCloudPi_Rpi_Berryboot_xx-xx-xx.img
  3. Click on Open
  4. Wait for it to copy the image to the micro SD Card
  5. To make it the default image to boot, select it and click on Set Default
  6. Click on Exit
  7. The Pi should reboot

Reboot

  1. Start configuring and using your new NextCloudPi image.

We hope this doc was helpful, if you encounter any issues please reach out to the community.
These docs are written by volunteers, please consider becoming one of them.
Contact the wiki team at Matrix or Telegram

8 posts were merged into an existing topic: About moving the articles