LES BSD Thread!

2456713

Comments

  • I was having "fun" last night, re-learning to live without systemctl and ip commands, amongst others. UFS: that's a first for me. :)

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • Otus9051Otus9051 The Original Freeloader

    @Not_Oles said:

    @Otus9051 said: Can I join in too? Exams end tomorrow and I need something to do all this while!

    Have you ever run Plan 9 from Bell Labs? Running Plan 9 might be a fun summer project for you.

    I tried to once, couldn't figure out how to and left, but thanks for reminding me!


    @linveo said:

    @Otus9051 said:

    @linveo said: Interested people can PM me, just need a few.

    Can I join in too? Exams end tomorrow and I need something to do all this while!

    Yes, just send me an PM with an e-mail you want to use and the location you want.

    Thanks a lot for the opportunity!

    youtube.com/watch?v=k1BneeJTDcU

  • linveolinveo ProviderOG

    @Not_Oles said:
    But, what is my mistake? When I try to log in, I get:

    chronos@penguin:~/servers/linveo$ ssh [email protected]
    ssh: connect to host xxx.xxx.xxx.xxx port 22: No route to host
    chronos@penguin:~/servers/linveo$ sudo traceroute -I xxx.xxx.xxx.xxx
    traceroute to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx), 30 hops max, 60 byte packets
     1  _gateway.lxd (100.115.92.193)  0.421 ms  0.138 ms *
     2  100.115.92.25 (100.115.92.25)  4.197 ms  3.900 ms *
     3  RTK_GW.domain.name (192.168.101.1)  4.877 ms * *
     4  10.2.5.1 (10.2.5.1)  4.829 ms * *
     5  10.116.60.1 (10.116.60.1)  5.709 ms * *
     6  * * 10.180.52.160 (10.180.52.160)  14.457 ms
     7  10.180.52.161 (10.180.52.161)  15.984 ms * *
     8  0.lag-58.ter1.phx2.us.zip.zayo.com (208.185.98.117)  24.421 ms * *
     9  zayo-tata.ter1.phx2.us.zip.zayo.com (208.184.12.13)  23.733 ms * *
    10  * * *
    11  136.175.9.104 (136.175.9.104)  23.045 ms  22.918 ms  22.719 ms
    12  * * *
    13  xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)  24.064 ms  23.279 ms  23.094 ms
    14  * * *
    15  * * *
    16  * * *
    17  * * *
    18  * * *
    19  *^C
    chronos@penguin:~/servers/linveo$ 
    

    I did some digging on this. It looks like I put in the wrong name for the network device that NetBSD is expecting. I also updated the one for OpenBSD as well. These templates should be able to get internet connectivity now.

    Just for learning sake, OpenBSD uses viona0 for the virtio based interface. NetBSD uses vioif0. FreeBSD uses vtnet0.

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

  • @Not_Oles said: But, what is my mistake? When I try to log in, I get:

    Did you look at the VNC console? Mine is just stuck in a boot loop (just getting to the NetBSD boot loader, but it's immediately rebooting again).

  • @cmeerw said:

    @Not_Oles said: But, what is my mistake? When I try to log in, I get:

    Did you look at the VNC console? Mine is just stuck in a boot loop (just getting to the NetBSD boot loader, but it's immediately rebooting again).

    This is weird, same thing when trying to boot the NetBSD 10 installer image - and none of the boot flags seem to help, it just reboots immediately after loading the kernel.

  • edited September 2024

    @cmeerw said:

    @cmeerw said:

    @Not_Oles said: But, what is my mistake? When I try to log in, I get:

    Did you look at the VNC console? Mine is just stuck in a boot loop (just getting to the NetBSD boot loader, but it's immediately rebooting again).

    This is weird, same thing when trying to boot the NetBSD 10 installer image - and none of the boot flags seem to help, it just reboots immediately after loading the kernel.

    Yes I see the same problem myself and OpenBSD is also failing to boot after fresh installation from the template. It is stuck at "Switching console to com0"

    @linveo you might want to check these out. FreeBSD templates do seem to work normally.

    Thanks again for the opportunity to try these out!

    I did FreeBSD 13.2 template -> upgrade to 13.3, 14.0 template -> upgrade 14.1 and 14.1 template, seems to work nice and smooth.

  • Looks like I chose the easy option, guys - phew!

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • Just as a little experiment, I thought I'd give Haiku a try (as Beta 5 has just been released), and that also doesn't boot.

    BTW, the netbsd installation image works fine in a qemu in Debian on that VM, but that's not the goal...

    There must be some weird qemu setting VirtFusion is using here that screws up all these non-mainstream OSes...

  • @cmeerw said:

    @Not_Oles said: But, what is my mistake? When I try to log in, I get:

    Did you look at the VNC console? Mine is just stuck in a boot loop (just getting to the NetBSD boot loader, but it's immediately rebooting again).

    Under the "Advanced" install options, I had turned VNC off.

    @cmeerw said:

    @cmeerw said:

    @Not_Oles said: But, what is my mistake? When I try to log in, I get:

    Did you look at the VNC console? Mine is just stuck in a boot loop (just getting to the NetBSD boot loader, but it's immediately rebooting again).

    This is weird, same thing when trying to boot the NetBSD 10 installer image - and none of the boot flags seem to help, it just reboots immediately after loading the kernel.

    Did you use the "Self-install option" in Linveo's Virtfusion and an official NetBSD image? If no, how did you do i?

  • @Crab said: I did FreeBSD 13.2 template -> upgrade to 13.3, 14.0 template -> upgrade 14.1 and 14.1 template, seems to work nice and smooth.

    Checking every possibility. True BSD style!

  • @cmeerw said: I thought I'd give Haiku a try

    From https://www.haiku-os.org/

    Haiku is an open-source operating system that specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful.

    Haiku gets my vote for explaining what it is on the home page. I remember a lot of people used to really like BeOS.

    @cmeerw I can hardly wait to hear what you think after you try Haiku! Thanks!

  • @linveo said: Just for learning sake, OpenBSD uses viona0 for the virtio based interface. NetBSD uses vioif0. FreeBSD uses vtnet0.

    This little tidbit is gold! Thanks @linveo!

  • FreeBSD 14.1 ISO installation worked well too. i need to spend some more time with NetBSD and OpenBSD templates and ISOs over the weekend. Hopefully we'll get everything working.

  • @Not_Oles said: Under the "Advanced" install options, I had turned VNC off.

    You can always later enable VNC in the "Options" tab.

    @Not_Oles said: Did you use the "Self-install option" in Linveo's Virtfusion and an official NetBSD image? If no, how did you do i?

    I first tried the NetbSD 9.3 image, but then tried to boot the offical NetBSD 10.0 ISO by adding a custom CD/DVD-ROM image via the "Media" tab (actually tried lots of NetBSD images from 5.x up to the latest daily snapshot - all of them immediately rebooted after loading the kernel)

  • @Not_Oles said: @cmeerw I can hardly wait to hear what you think after you try Haiku! Thanks!

    I do occasionally run it in a VM on my local laptop (and have contributed some simple IPv6 fixes to the kernel, as well as added an xmake ports package and updated the luajit ports package).

    I definitely gets better over time (Emacs now supports it), but there are still quite a few things missing like Path-MTU discovery and full IPv6 support.

  • linveolinveo ProviderOG

    It looks like there may be some luck if I turn off cloud-init for the VM. Let me know if any one of you want to try this path and I will turn it off. The FreeBSD templates have worked like a charm and are supported by VF. Not sure what issues the other two distros have with the settings

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

  • @linveo said: Let me know if any one of you want to try this path

    I'll give it a bash.

    @linveo said: The FreeBSD templates have worked like a charm

    I managed to easily install webmin, and enjoying 'playing' around.

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • linveolinveo ProviderOG

    @AlwaysSkint said:

    @linveo said: Let me know if any one of you want to try this path

    I'll give it a bash.

    I have disabled cloud-init on your VM. Let me know if you have any luck. I have a query out to VF to see what support they have towards the other BSDs.

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

  • @linveo said: Let me know if you have any luck

    Will do - I need zzzz first. :)

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • @linveo said:
    It looks like there may be some luck if I turn off cloud-init for the VM. Let me know if any one of you want to try this path and I will turn it off. The FreeBSD templates have worked like a charm and are supported by VF. Not sure what issues the other two distros have with the settings

    Hi @linveo! Thanks for keeping in touch and offering additional help! For me, I am going to say "No, thank-you!" for the moment, because I think turning off cloud-init will break the nice FreeBSD template. But I will ask you to go ahead and turn cloud-init off if somebody confirms getting a NetBSD 10 install working or maybe 9.3 from the template plus an upgrade to 10. (Note that the NetBSD 9.3 template is not the current version, 10, which has been out for a while.) Best wishes and thanks again! <3

  • @linveo said: I have a query out to VF to see what support they have towards the other BSDs.

    Hi again @linveo! That's great! It will be super interesting to see what VF says! If VF can't support OpenBSD and NetBSD, I would love to know why not. Thank you! <3

  • I went through the latest OpenBSD and NetBSD ISOs and i just couldn't get them booting up despite of whatever boot options I used, so it is a big bummer. Hopefully VF support can give some pointers on how to get this stuff working. I'd really like to try them out.

  • Otus9051Otus9051 The Original Freeloader

    Got my @linveo VM, time to set it up!

    youtube.com/watch?v=k1BneeJTDcU

  • Otus9051Otus9051 The Original Freeloader

    https://netboot.xyz does have both Free and OpenBSD, I will try to install OpenBSD from there.

    youtube.com/watch?v=k1BneeJTDcU

  • @Otus9051 said:
    Got my @linveo VM, time to set it up!

    Get that BSD rockin'!

  • @linveo said:
    It looks like there may be some luck if I turn off cloud-init for the VM. Let me know if any one of you want to try this path and I will turn it off. The FreeBSD templates have worked like a charm and are supported by VF. Not sure what issues the other two distros have with the settings

    I wouldn't think cloud-init would make a difference - the reboot is way too early.

    Would it be possible to share what options VirtFusion is passing to qemu, so we could try reproducing locally and removing each option one by one to see which one is responsible?

  • Otus9051Otus9051 The Original Freeloader

    Well as it seems, OpenBSD does install from VF itself, but the network is somehow misconfigured.
    Opening VNC shows it shifting its console to com0, kinda inconvenient.
    I guess I will try netboot.xyz then.

    youtube.com/watch?v=k1BneeJTDcU

  • Otus9051Otus9051 The Original Freeloader
    edited September 2024


    or uhhhhhhh
    DHCP doesn't have DNS?

    youtube.com/watch?v=k1BneeJTDcU

  • Otus9051Otus9051 The Original Freeloader

    Well I will just use FreeBSD for the time being until I figure out how to actually install OpenBSD.

    youtube.com/watch?v=k1BneeJTDcU

  • Otus9051Otus9051 The Original Freeloader

    hey there!

    youtube.com/watch?v=k1BneeJTDcU

  • So for OpenBSD you can get the console output if you first boot into netboot.xyz, but then boot from the local hard disk while pressing the "Ctrl" key - this gets you into the OpenBSD boot loader where you just type "boot". The console then shows boot messages until it stops at

    fd0 at fdc0 drive 1: density unknown

  • @Otus9051 said:
    hey there!

    FreeBSD just works.

  • I used netboot.xyz and got OpenBSD booted and (semi-)manually installed - hurrah! 1st time ever on OpenBSD (as I was on FreeBSD). What a very interesting old-skool automatic disk allocation; pre-defined X partitions on a server, even though I didn't add those sets. :/
    Relatively painless process, especially as I don't tend to use provider templates, preferring to allocate disks the way that I want.

    Still a no-show with NetBSD however. Sorry, Not_Oles

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • opnsense but only reluctantly tbh.

    More comfortable on the CLI of debian based OSs

  • edited September 2024

    Let me join the Linveo bsd servers :D Ipv6 was added on install but not enabled in server which was very fast to do it in rc.conf

  • @AlwaysSkint said:
    I used netboot.xyz and got OpenBSD booted and (semi-)manually installed - hurrah!

    I didn't see a click-to-enable netboot.xyz in Linveo's Virtfusion. So I guess you used a custom upload of a netboot.xyz ISO? May I please ask how did you get netboot.xyz going?

    1st time ever on OpenBSD (as I was on FreeBSD). What a very interesting old-skool automatic disk allocation; pre-defined X partitions on a server, even though I didn't add those sets. :/

    I was trying NetBSD's installer elsewhere than Linveo a few days ago. It did not provide any default disk allocations. So I guess an installer might reasonably either make a guess as to what might be appropriate for some people or else salute and await instructions. One thing I like about the OpenBSD installer's default allocations is that it tips you off about what seems to be a preference for multiple partitions.

    Relatively painless process, especially as I don't tend to use provider templates, preferring to allocate disks the way that I want.

    How is it that providers don't show how and where they got the templates? How does the customer confirm the contents of the template? How does the customer double check and confirm the template's sig and the checksum?

    If I remember correctly, FreeBSD used to have a utility which ran through and checked all the executables on an installed system. I used it once, a long time ago. I can't remember the name of that utility. Does anybody know the name?

    Still a no-show with NetBSD however. Sorry, Not_Oles

    It's okay. No worries! NetBSD has deep magic. If the problem is with NetBSD, which is unlikely, but happens sometimes, there is next-to-zero chance that the problem, once it is known, will not be fixed practically instantly, maybe in a few hours.


    Almost off topic here in this thread, but I found myself logged in to Void Linux yesterday. There seemed to be a peacefulness akin to the BSDs. If you list the contents of your distro's /etc, how does looking at your listing make you feel emotionally?

  • @AlwaysSkint said:
    I used netboot.xyz and got OpenBSD booted and (semi-)manually installed - hurrah!

    Interesting...I tried booting OpenBSD with netboot.xyz and it hangs when scanning the scsibus (or after it). The behavior is the same when using a regular ISO boot. My VM is in TX and I believe yours is in AZ, correct? I'm wondering whether the config or hardware is different between us.

  • OpenBSD 7.2 i386 actually did boot. Let me do some more testing here.

  • @Not_Oles said: Almost off topic here in this thread, but I found myself logged in to Void Linux yesterday. There seemed to be a peacefulness akin to the BSDs. If you list the contents of your distro's /etc, how does looking at your listing make you feel emotionally?

    Haha, I just showed the above image to a friend. I asked him how the image made him feel. His first words were, "peaceful, happy."

  • OpenBSD 7.2 i386 - boots
    OpenBSD 7.3 i386 - boots
    OpenBSD 7.4 i386 - boots
    OpenBSD 7.5 i386 - boots
    OpenBSD 7.2 amd64 - boot hangs late
    OpenBSD 7.3 amd64 - boot hangs late
    OpenBSD 7.4 amd64 - boot hangs late
    OpenBSD 7.5 amd64 - boot hangs late
    OpenBSD 7.5 template - boot hangs early

    Something is definitely off with amd64 here, but I don't have ideas what it could be.

  • @Not_Oles said: I didn't see a click-to-enable netboot.xyz in Linveo's Virtfusion. So I guess you used a custom upload of a netboot.xyz ISO? May I please ask how did you get netboot.xyz going?

    On the "Media" tab there is "CD/DVD-ROM" with a drop down list which contains netboot.xyz as the first entry (maybe only for TX?)

    Alternatively, you could probably just use https://boot.netboot.xyz/ipxe/netboot.xyz.iso as a custom ISO?

  • Not_OlesNot_Oles Provider
    edited September 2024

    @cmeerw said: On the "Media" tab there is "CD/DVD-ROM" with a drop down list which contains netboot.xyz as the first entry (maybe only for TX?)

    Got it! Thanks!

    This is in Arizona.

  • AlwaysSkintAlwaysSkint OG RETIRED
    edited September 2024

    ^ Yup this is how I booted netboot.xyz and my VM is in Texas
    That particular netboot doesn't have NetBSD; is there one that does?
    I was going to try the template ones, with cloud-init turned off but they vanished from VF.
    (Not a lover of cloud-init anyway, 'cos I usually manually partition with LVM where available and have static IP for servers - unless in a real rush to get up & running.)

    Today I've been battling with FreeBSD, webmin and ipfilter, whereby the webmin template rules cause outbound pings and pkg updates to fail. Being slightly more au fait with iptables syntax, it's a wee bit of a struggle. Gonna try out ipfw next, as that has a webmin module as standard. 'Tis a shame good 'ol CSF requires iptables to function. ;)

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • @Not_Oles said: How does the customer confirm the contents of the template?

    Therein lies the rub - I've seen some real nasty 'hidden gems' that get inserted, including ssh keys (don't recall who that was) and have fun tracing what the likes of OVH do. Much prefer using a minimal ISO, even though some bloat eg. wi-fi drivers (on a server!) are installed.

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • AlwaysSkintAlwaysSkint OG RETIRED
    edited September 2024

    @linveo BTW, it's perfect having a decent amount of backup slots available. When experimenting at least one doesn't need to start from scratch each time there's a fubar. :+1:
    Good job! :D B)

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • AlwaysSkintAlwaysSkint OG RETIRED
    edited September 2024

    @Crab said: OpenBSD 7.4 amd64 - boot hangs late

    From the above self-install netboot.xyz method..

    OpenBSD linveo.xxxxx.com 7.4 GENERIC.MP#3 amd64

    Silly me just re-discovered the "Other BSD" templates - do'h! No luck with either, presumably with cloud-init still disabled on my VM.

    NetBSD --> 1. Boot with serial console = hang
    OpenBSD --> switching console to com0 = hang

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • Otus9051Otus9051 The Original Freeloader

    @AlwaysSkint said: OpenBSD --> switching console to com0 = hang

    This is also happening to me, must investigate.

    youtube.com/watch?v=k1BneeJTDcU

  • @Otus9051 said:

    @AlwaysSkint said: OpenBSD --> switching console to com0 = hang

    This is also happening to me, must investigate.

    see https://lowendspirit.com/discussion/comment/185749/#Comment_185749

  • AlwaysSkintAlwaysSkint OG RETIRED
    edited September 2024

    @cmeerw said: OpenBSD boot loader where you just type "boot"

    As an avid semi-amatoor, it strikes me that you'd need to put in boot parameters, such as initram and rootfs.

    In stasis until the shitposting stops/abates.
    Than=compare;then=sequence:brought=bring;bought=buy:staffs=pile of sticks:informations/infos=no plural.
    It wisnae me! A big boy done it and ran away. || NVMe2G for life! until death (the end is nigh).

  • edited September 2024

    @AlwaysSkint said:

    @cmeerw said: OpenBSD boot loader where you just type "boot"

    As an avid semi-amatoor, it strikes me that you'd need to put in boot parameters, such as initram and rootfs.

    I don't think any of the BSDs even have the concept of an initramfs. rootfs maybe, but if it's missing or incorrect, there should be an error saying that (or a prompt asking for the rootfs device)

Sign In or Register to comment.