Warning: THE VOID WIKI IS DEPRECATED. It is no longer being maintained, contains outdated and incorrect information, and will eventually be shut down. Please refer to the Void Handbook, https://docs.voidlinux.org/, for the official documentation. If you can't find the information you're seeking, please raise an issue at https://github.com/void-linux/void-docs/issues

Raspberry Pi (External HDD with LUKS + Berryboot)

From Void Linux Wiki
Jump to navigation Jump to search


  • Berryboot comes with LUKS pre-installed
  • I/O operations on the rpi will be significantly faster, since an external HDD will be used!

Making a SquashFS image

  1. Get the most recent rpi rootfs from the Void downloads page.
  2. On a host system (with squashfs-tools installed), run:
$ mkdir temp
$ tar -C temp/ -xf <path to void rootfs tarball>
$ mksquashfs temp void.img -comp lzo

This will convert the Raspberry Pi rootfs to a squashfs image.

Installing Berryboot

  1. Format SD to FAT
  2. Grab release from http://www.berryterminal.com/doku.php/berryboot
  3. Extract to SD
  4. Make images folder
  5. Copy void.img to the images folder
  6. Boot the pi
  7. Follow HDD instructions on berryboot - set the LUKS password
  8. Mouse-over 'Add OS' and hold - a menu for install from usb will appear
  9. Add void.img (unsure, if it's not possible to find -- copy it to another usb and repeat instead)
  10. Boot! GPU memory split can be changed in settings, and other settings can be changed in /boot/cmdline.txt


  1. Setup network
  2. Configure /etc, locale...
  3. $ xbps-install -Su
  4. Add user
  5. ssh settings (permitRootLogin no)