Booting the raspberry pi 2 from a usb hd

Mark Millard marklmi at yahoo.com
Mon Oct 1 17:44:02 UTC 2018



On 2018-Oct-1, at 10:11 AM, Luca Cappelletti <luca.cappelletti at gmail.com> wrote:

> Il 01/10/18 12:56, Victor ha scritto:
>> I'm using a pi 2 card with FreeBSD 11.2-STABLE on the required sd card. It works like a charm but using it as a postgresql server with many write operation on it, to be on the safe side, I would like to move the operating system to an external hard-disk or ssd.
>> I've been surfing the net to find if it is possible to boot my pi 2 from an external hard-disk (or SSD) to no avail.
>> Could you please give me some hint, directions on this subject?
>> Ciao
>> Vittorio
> 
> try to mirror the SD in the USB, then edit fstab to reflect the change at boot of the root

After the mirroring there are two /etc/fstab files, one in each place.
The one on the microsd card media needs to be changed as it will be
found and used to mount what it lists for / . After that the /etc/fstab
on what is mounted on / will be used as I understand. (But I normally
keep the two files tracking and so would not see the distinction.)

> I've never tried it but following a basic logic I would start like this
> If you find a solid and working solution, please post it in this mailinglist that I would try for sure


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-arm mailing list