LES BSD Thread!

1151617181921»

Comments

  • WSSWSS OG

    @emperor said:
    Anyone knows which hosts have openBSD templates ? I dont remember if linveo had them.. Need to test something really quick :)

    It's trivial to chain to a ramdisk installer, or you can just dd the image over an existing virtual disk and boot /bsd.rd and overwrite the disk out from under you.

    "It's a hard life- to be a stick insect." - Karl Pilkington

  • @WSS said:

    @emperor said:
    Anyone knows which hosts have openBSD templates ? I dont remember if linveo had them.. Need to test something really quick :)

    It's trivial to chain to a ramdisk installer, or you can just dd the image over an existing virtual disk and boot /bsd.rd and overwrite the disk out from under you.

    I though template install would have been faster, for quick testing and destroy/install again :) Thanks tho

  • olokeoloke Hosting Provider
    edited May 15

    @emperor said:
    Anyone knows which hosts have openBSD templates ? I dont remember if linveo had them.. Need to test something really quick :)

    I don't think I've saw OpenBSD templates anywhere really. However the installation from the official CD is not too hard nowadays.

    Even on Linveo people seem to have installed from an ISO image:
    https://btxx.org/posts/openbsd-linveo

    And it seems the installation can even be done on a VPS that doesn't have custom ISO feature:
    https://cosarara.me/blog/entry/14

    There's one more thing. OpenBSD is not best suited to be installed on one big partition. It usually encourages users (with default layout in the installer) to create multiple separate partitions. This is also due to security reasons as explained here:

    First of all there is a security benefit. Different partitions mean you can set different mount options for the partitions. Best example is that by default the partition /usr/local is mounted with the flag wxallowed. Only executables residing on this partition are able to circumvent the W^X mechanism of OpenBSD. Another good example is that all but the root partition are mounted with the flag nodev which prevents the creation of device special files on these partitions. Having different partitions can also make your life easier during the regular backup you take. It allows you to completely ignore those partitions that don’t belong into a backup. Like /tmp, /usr/src and /usr/obj.

    I can imagine resizing those partitions to match each disk size customer picks could be a bit of a difficult.

    edit:

    @emperor said:

    @WSS said:

    @emperor said:
    Anyone knows which hosts have openBSD templates ? I dont remember if linveo had them.. Need to test something really quick :)

    It's trivial to chain to a ramdisk installer, or you can just dd the image over an existing virtual disk and boot /bsd.rd and overwrite the disk out from under you.

    I though template install would have been faster, for quick testing and destroy/install again :) Thanks tho

    Maybe snapshots would be useful for that? :)

  • @oloke said: However the installation from the official CD is not too hard nowadays.

    Thanks for explanations. I have used openBSD in the past with linveo, and also couple more providers here, i just needed to try and run 2 scripts (one python and one sh) to see if they work on openBSD and to fix them if they dont. So i wanted to just install from template and test , fix and forget. I did this on TierHive thanks to cmeerw to pointing out, as i have still credits left :)

  • @cmeerw said:
    @linveo I have created a NetBSD 11.0 RC4 image

    Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).

  • @cmeerw said:

    @cmeerw said:
    @linveo I have created a NetBSD 11.0 RC4 image

    Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).

    Do you recall what the main.cf error was?

    And after resize_ffs, I should do something else to make performance better? :)

  • @flips said:

    @cmeerw said:

    @cmeerw said:
    @linveo I have created a NetBSD 11.0 RC4 image

    Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).

    Do you recall what the main.cf error was?

    That's the change you want to apply.

    And after resize_ffs, I should do something else to make performance better? :)

    resize_ffs doesn't grow the journal, so that's then smaller than it should be, and ideally you should recreate it. Unfortunately, that process is a bit complicated for the root file system. The general process is described in wapbl(4)

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @cmeerw said: resize_ffs doesn't grow the journal

    TIL!

    @cmeerw said: ideally you should recreate it.

    TIL x 2!

    Thanks @cmeerw!

  • edited May 19
  • WSSWSS OG

    I was going to be a smartass and say "Aww, no song- again.", but nope, there's a song.

    "It's a hard life- to be a stick insect." - Karl Pilkington

  • linveolinveo Hosting ProviderOG

    @cmeerw said:

    @cmeerw said:
    @linveo I have created a NetBSD 11.0 RC4 image

    Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).

    I have added this RC4 as a template and it is available for use.

    linveo.com | Shared Hosting | KVM VPS | Dedicated Servers

  • @linveo said:

    @cmeerw said:

    @cmeerw said:
    @linveo I have created a NetBSD 11.0 RC4 image

    Actually, updated that 11.0 RC4 image (@linveo) now to fix the postfix config issue in RC4. The image now also creates the swap partition on first boot (depending on system memory and disk space).

    I have added this RC4 as a template and it is available for use.

    Thanks, just did a quick check, and it's working fine.

  • @cmeerw said:
    Jails for NetBSD looks like a really interesting project - something I'll likely have a closer look at soon.

    It's now called "Cells for NetBSD" and there is now NeoBSD that integrates these cells into a full NetBSD-based build.

  • NetBSD's Annual General Meeting 2026

    <__martin> I hope to cut RC5 later this weekend or early next week,
    <__martin> and then the final release maybe 10 days later.

Sign In or Register to comment.