Skip to content

ertagh/Adafruit-Pi-ExternalRoot-Helper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Adafruit-Pi-ExternalRoot-helper

Note from ertagh: Changed the script to work with Ubuntu 20.04 on a Raspberry Pi. Tested it myself with an already running 20.04 on a Raspberry Pi 3b+ and it worked just fine.

A shell script for configuring an external USB drive as root filesystem on a Raspberry Pi running Ubuntu 20.04. It's a companion to Using an External Drive as a Raspberry Pi Root Filesystem, which you should read first.

Using adafruit-pi-externalroot-helper

First, read the tutorial.

On a Raspberry Pi running Raspbian, with a USB-connected storage device you wish to use for your root filesystem:

git clone [email protected]:adafruit/Adafruit-Pi-ExternalRoot-Helper.git
cd Adafruit-Pi-ExternalRoot-Helper
sudo ./adafruit-pi-externalroot-helper -d /dev/sda

...where /dev/sda is the external USB you wish to use for a root filesystem.

Sources and Further Reading

This script is mostly an implementation of the process outlined in paulv's HOWTO: Move the filesystem to a USB stick on the Raspberry Pi forums, with additional help from the following sources:

Along with manual / info pages for:

About

A shell script to configure a USB drive as root filesystem for Ubuntu on RPi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%