> 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/Latest/FreeBSD-13.0-RC5-arm64-aarch64.raw
> > 
> > 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.

NICE!  Maybe this could be a second example in growfs(8) as
an example for "How to prepare an image for use with emulation"?


>   John-Mark Gurney                            Voice: +1 415 225 5579
-- 
Rod Grimes                                                 rgri...@freebsd.org
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to