On 10/13/14 20:45, Nux! wrote:
Otto,

Thanks, but this will be a "cloud template", all other templates I'm
 building (linux, freebsd) expand partition and filesystem upon first
 boot, was hoping to achieve the same. Not sure how reinstall would
 help in this case, though I am open to any advice.

Unless you really need a single large root partition, you can run disklabel at first boot to create one or more partitions in the unpartitioned space at the end of your disk.

Sth like this in /etc/rc.firsttime:

        printf '%s\n' a p '' '' '' w q | sudo disklabel -E sd0
        echo '/dev/sd0p /data ffs rw,nodev,nosuid 1 2' >> /etc/fstab

/Alexander


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
From: "Otto Moerbeek" <o...@drijf.net>
To: "Nux!" <n...@li.nux.ro>
Cc: misc@openbsd.org
Sent: Monday, 13 October, 2014 19:43:42
Subject: Re: Live resize / filesystem?

On Mon, Oct 13, 2014 at 07:41:05PM +0100, Nux! wrote:

Thanks guys, I was hoping for a more optimistic feedback, at least I know not to
waste too much time on this.

Maybe just include bsd.rd and reinstall?

        -Otto

Reply via email to