BerryBoot Instructions for NextCloudPi

Items Required:

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

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

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 Untar 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

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.
  14. If you selected a ‘Wireless’ connection:
    • Select Wireless Connection to use
    • Provide password if needed
    • Select ‘Ok’
  15. ‘Select destination drive’ screen:
    • Select the SD Card (usually starts with mmc)
    • Select File system (usually ext4)
    • Click ‘Format’
  16. It will now Re-partition the Berryboot SD Card and format it
  17. Select cancel on the ‘Add OS’ screen
  18. Wait for the Raspberry Pi to reboot after selecting “Ok” for reboot
  19. If the USB Flash Drive is already connected to a USB Port, continue to ‘Install the NextCloudPi on the SD Card’

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’
  7. The ‘Select image file’ should be displayed
  8. Select the OS image to add to the SD Card it should be: ‘NextCloudPi_Rpi_Berryboot_xx-xx-xx.img’
  9. Click on ‘Open’
  10. Wait for it to copy the image to the micro SD Card
  11. To make it the default image to boot, select it and click on ‘Set Default’
  12. Click on ‘Exit’
  13. The Pi should reboot
  14. Start configuring and using your new NextCloudPi image…

View screenshots of Berryboot start screen and menu options.