• bsdinstall scripted partition labeling

    From G. Paul Ziemba@pz-freebsd-stable@ziemba.us to muc.lists.freebsd.stable on Sat May 9 15:14:37 2026
    From Newsgroup: muc.lists.freebsd.stable

    For unattended installation, bsdinstall(8) supports 'scriptedpart'
    syntax to specify disk partitioning and mount points, but it doesn't
    handle partition labels.

    I'd like to define gpt partition labels for those partitions. It
    looks as if there is underlying machinery in gpart_create() to
    set labels, but at the moment it can only be done interactively.

    Does anyone know if there was a specific reason for omitting
    a label parameter for the unattended partition syntax (or just
    "nobody's done the work yet") ?

    I am thinking of making a PR to parse and pass label strings
    for scripted installs - is there a reason not to?

    Next up might be using label-based (i.e., "/dev/gpt/foo") in
    the constructed fstab. I haven't looked at the fstab code in
    bsdinstall - any gotchas to be aware of?


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Sat May 9 23:42:02 2026
    From Newsgroup: muc.lists.freebsd.stable

    For unattended installation, bsdinstall(8) supports
    'scriptedpart' syntax to specify disk partitioning
    and mount points, but it doesn't handle partition
    labels.

    Try verimg(8) instead - you can define anything You want:

    https://vermaden.wordpress.com/2026/04/15/freebsd-image-builder-installer-verimg-tool/


    Regards,
    vermaden



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2