Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2021 23:19:43 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: resizing aarch64 image on arm64
Message-ID:  <20210406061943.GR14975@funkthat.com>
In-Reply-To: <YGtB8iqK9KsTekwR@ceres.zyxst.net>
References:  <YGtB8iqK9KsTekwR@ceres.zyxst.net>

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

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tech-lists wrote this message on Mon, Apr 05, 2021 at 16:59 +0000:
> Can anyone tell me how to resize
> https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/aarch64/Late=
st/FreeBSD-13.0-RC5-arm64-aarch64.raw
>=20
> on an amd64 host?

note that this has been unxz'd already.

truncate -s 6g FreeBSD-13.0-RC5-arm64-aarch64.raw	# enlarge
mdconfig -f FreeBSD-13.0-RC5-arm64-aarch64.raw		# make device
gpart recover md1					# fix up gpt
gpart resize -i 3 md1					# expand ufs partition
growfs md1p3						# grow ufs

Note that mdconfig may output a different md device than md1, use
that instead.

--=20
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."

--ew6BAiZeqk4r7MaW
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJga/1+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2MEI1RTRGMTNDNzYyMDZDNjEyMDBCNjAy
MDVGMEIzM0REMDA2QURBAAoJECBfCzPdAGraXiYP/R3ND1HGUmyQ4QBJQpH0UJrg
DV/APD076wiYu0dwtBkXDb01VMEUGTzBiSCxx0BYK2CHuqM6zF5uDuurg6jNjnPl
DjsIVOVkxwYtMs1jW05cysLNpC024Xyv85CpR4aujM1td4ujegw81KIoUNHQf5Iw
LoxHbNWBb6tRMgZHbzXOf6ltRfJqFTAHzMCowtf79mnIVDUgavHIJhmBHwdZGQUx
AetZ7ihXOXoLgRvHPn3NbuYUxeWKx64fz796O8OGh7AC7JsW1db/SnU06zYUpsv0
QdilsQmfyXVM9X90tumVyntFP5bLHLCasHaz2KpC8ULAVhUg2eo7YBH3k7PXAg9R
4GC8yKPm8Pn734Dvtjvp7ahwE61nK3Qu5/Stu2AgE6Ar265fEZ01fhYjxD2DIvw5
4Ay9leYlkUNauC47Ep1O2eLfwu79Vhsp+LQWUCwdt60QR9QypYM7KJCuXPZ2OBBB
2ljS1RxqB06XIfn3lXbPFyuYAtFLO02yPs9MDMWc/kl2b9Y3z54JfO2K6MQRLzWw
M/QbMshJCVFTLm8TDdB3ldsHB6A76aGLzTgzofdH3MUvrqfE1FxIazuS0i8nujPw
w2gZFigOz9rwY7maJ51aB3OPrSBRqqWkFl7sohxr5eva7BETOFhLfQBNu2JRJ3n4
j3H/LZvLnEAqDBksjiZ5
=zd4u
-----END PGP SIGNATURE-----

--ew6BAiZeqk4r7MaW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210406061943.GR14975>