Adding a swap partition to the March 5 snapshot image
Mark Millard
marklmi at yahoo.com
Fri Mar 6 05:26:50 UTC 2020
On 2020-Mar-5, at 20:54, bob prohaska <fbsd at www.zefox.net> wrote:
>
> I've been trying for a while to set up an armv7 RPI2 with a single
> root partition plus a swap partition at the end of mmcsd0. Letting
> firstboot invoke growfs seems not to help, since growfs leaves no
> space for swap.
>
> Attempts using gpart in single-user give the appearance of
> working, but on reboot the machine stops at the mountroot prompt.
> This method worked well in July of 2018. Seemingly, no more.
>
> Has something changed?
>
> Mounting the armv7 card on a second Freebsd box and making the changes
> appears to work also, but on the initial boot (firstboot disabled) the
> machine stops at the mountroot prompt on initial boot.
>
> If there's a better way to pursue the same end I'd be grateful for
> a hint. Perhaps giving a swap size parameter to firstboot?
You have not reported what shows if you enter a "?" command at the
mountroot prompt. (As I remember that lists what mount root
classifies as available.)
That might prove to be useful information.
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-arm
mailing list