Code Monkey home page Code Monkey logo

Comments (12)

mschilt avatar mschilt commented on August 29, 2024

Also run into that.. Installation was not possible without setting boot_delay to 10'000.
Would be great to have it permanently fixed or written somewhere.

I also sent a mail to pcengines to make sure they add this to the howto collection:
http://pcengines.ch/howto.htm#OS_installation

notetoself: buy @lattera a beer..

from tools.

fichtner avatar fichtner commented on August 29, 2024

@mschilt this is only needed for the USB devices, right?

from tools.

mschilt avatar mschilt commented on August 29, 2024

yes.
I am using a Zalman USB Disk that emulates an USB CDROM from .iso files on the disk. Very helpful and no pain in creating a bootable USB stick.

Initially the boot works but at some point it tries to locate the usb device and there it stuck.
Can do that again this evening and get you some logs if you want.

Looks like a known issue:
http://unix.stackexchange.com/questions/19561/installing-freebsd-from-usb-stick-boots-but-later-cant-find-the-usb-stick
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=160192

from tools.

fichtner avatar fichtner commented on August 29, 2024

@mschilt I was afraid of that, needing it everywhere, even the ISO and later not being able to strip it.

Thinking about adding it permanently now, but will need feedback from the other devs.

from tools.

fichtner avatar fichtner commented on August 29, 2024

After much discussion, this will be very visibly documented, not added in code.

from tools.

mschilt avatar mschilt commented on August 29, 2024

hmm.. so users will run into that issue until they find the hint.. (because nobody reads the docs beforehand ;-) ) On the other side it would delay the install process by 10sec. for all users. So despite having a different opinion I can understand your decision.

from tools.

fichtner avatar fichtner commented on August 29, 2024

@mschilt I completely understand. I am not so sure it's only about the install media. The problem is that:

Without further code, the flag will transport to the installed system until the first boot. If the first boot goes fine, the flag is stripped and the second boot on the hardware still requires the delay the box will be defunct again.

I guess we could also strip it during the install process, which may or may not present the first problem on reboot.

So we don't know whether this option is required and don't want to enforce arbitrary boot delays on installed systems.

It looks like the route here is to do something in the installer, but then again the same problem would exist for nano images which don't have an installer and may not boot without the boot delay. :/

from tools.

fichtner avatar fichtner commented on August 29, 2024

A bit of loader.conf magic went into core.git, which gives us leverage against a persistent setting of loader.conf, where we could potentially strip kern.cam.boot_delay on first boot. I expect the code to stabilise with 16.7.5 so that 17.1 will likely have this fixed in the sanest way possible. :)

from tools.

mschilt avatar mschilt commented on August 29, 2024

Ok, great. If you create an ISO that contains the fix I can test this on sunday.

from tools.

fichtner avatar fichtner commented on August 29, 2024

@mschilt Thanks! I don't think it'll be done this Sunday, let me ping you again for a custom ISO early next week :)

from tools.

fichtner avatar fichtner commented on August 29, 2024

@mschilt this was a lot more complicated than I thought, but here is an all development image (that works): https://pkg.opnsense.org/snapshots/OPNsense-17.1.a-LibreSSL-cdrom-amd64.iso.bz2

The install media boot is delayed, so is the first boot of the real install. Afterwards the delay is stripped. If it's still needed there will be an "os-boot-delay" plugin to enable that permanently :)

from tools.

fichtner avatar fichtner commented on August 29, 2024

Worked from my end in numerous tests. If we need to do more, please let me know.

from tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.