The way to grow a partition is to use growfs, however you cannot enlarge
the root partition while it is in use. Usually this means going down to
single user mode via a usb rescue image or the sort while having the root
filesystem unmounting, resizing the partition with gparted/fdisk and then
enlarging the filesystem with growfs. As these boxes are headless and do
not have a console, it is not possible to do this. This is why the
firstboot- packages exist, to do this on boot before the filesystem is
mounted. However, it doesn't appear they are working as intended.

On Tue, May 28, 2019 at 11:25 AM Dennis Chang <[email protected]>
wrote:

> I don't know firstboot-growfs (or BSD very well), but my guess is that it
> applies to BSD slices and not partitions.
>
> My advice to you is to investigate how to expand a partition in BSD. BSD
> uses similar tools as Linux (which I'm more familiar with),
> for instance fdisk (for MBR partitions), or sgdisk (for EFI partitions).
> There should be a way to expand the partition (in a safe way).
>
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Vagrant" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vagrant-up/uPBPVKz4CZY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/ba40f5b2-8dd4-4d51-86a7-260d4a9dd2e7%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/ba40f5b2-8dd4-4d51-86a7-260d4a9dd2e7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAPi4PwJC_uuVOg%3DLtZzv1vXsXqNRuTMS2jNZ-XLnYiAZCSOu3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to