Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2018 10:43:53 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Luca Cappelletti <luca.cappelletti@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Booting the raspberry pi 2 from a usb hd
Message-ID:  <9EB03ECE-5E5A-4DE3-9DAA-BFE1F64785B3@yahoo.com>
In-Reply-To: <3d7bb861-3604-3b4f-a6df-a734532e6ca7@gmail.com>
References:  <A147F11E-3B87-4CB9-98AB-BC5CFB46C712@gmail.com> <3d7bb861-3604-3b4f-a6df-a734532e6ca7@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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
>=20
> 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


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9EB03ECE-5E5A-4DE3-9DAA-BFE1F64785B3>