Re: Growing the root filesystem on first boot

2019-02-12 Thread Drew DeVault
Sorry, my last reply was off-list. On 2019-02-12 4:53 PM, Martin Husemann wrote: >You are not giving much details how it fails for you. Apologies, I'm not a very experienced NetBSD user. Is there a good place to find logs? There isn't anything particularly helpful in /var/log/* >Do you have an

Re: Growing the root filesystem on first boot

2019-02-12 Thread Martin Husemann
On Tue, Feb 12, 2019 at 10:48:37AM -0500, Drew DeVault wrote: > However, I want the system to resize the root filesystem to fill the > remaining disk space on first boot. This works with growfs_enable=YES in > rc.conf on FreeBSD, but resize_root=YES on NetBSD doesn't seem to do the > trick. Any

Growing the root filesystem on first boot

2019-02-12 Thread Drew DeVault
Hiya! I'm writing some scripts to automate the creation of bootable NetBSD images. I build the image as a small raw disk so it can be mounted via vndconfig, then convert it to qcow2 and resize it. The goal is that these images are self-hosting: qcow2's are sparse, so I can resize the disk to the