Giter VIP home page Giter VIP logo

Comments (8)

probonopd avatar probonopd commented on May 29, 2024

Possibly try to set this from a Linux system in the meantime?

from iso.

probonopd avatar probonopd commented on May 29, 2024

When booting with Clover and handing over console=noconsole as an argument, it still prints Consoles: EFI console and a spinner for a short time but otherwise prints no text. A little bit of progress...

from iso.

probonopd avatar probonopd commented on May 29, 2024

Consider using the Clover bootloader:

Zero-text boot can be achieved by using Clover and this config.plist (in this example, the EFI System Partition has been created by the helloSystem installer and has the label EFISYS. But only if Type is set to OSX. Apparently this makes Clover to try graphics mode.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
   <dict>
      <key>Boot</key>
      <dict>
         <key>Timeout</key>
         <string>0</string>
         <key>DefaultVolume</key>
         <string>EFISYS</string>
      </dict>
      <key>GUI</key>
      <dict>
         <key>TextOnly</key>
         <false />
         <key>Custom</key>
         <dict>
            <key>Entries</key>
            <array>
               <dict>
                  <key>Disabled</key>
                  <false />
                  <key>Hidden</key>
                  <false />
                  <key>Ignore</key>
                  <false />
                  <key>Path</key>
                  <string>\EFI\boot\BOOTx64.efi</string>
                  <key>Arguments</key>
                  <string>console=nullconsole</string>
                  <key>Title</key>
                  <string>FreeBSD from ESP</string>
                  <key>Type</key>
                  <string>OSX</string>
               </dict>
            </array>
         </dict>
      </dict>
   </dict>
</plist>

This has the following advantages:

  • Zero text
  • FreeBSD logo in correct resolution
  • Nice graphical boot volume selector when pressing e.g., Backspace before Clover loads
  • Can we configure it so that if the V key is held down we boot in verbose mode?

Disadvantages:

  • Loading Clover adds ~3 seconds to the boot process
  • Adds complexity
  • Not so easy to interrupt the FreeBSD bootloader anymore?
  • On non-EFI systems, one must load EFI first which Clover can do but adds even more time and complexity to the boot process

from iso.

grahamperrin avatar grahamperrin commented on May 29, 2024

IIRC there's an old FreeBSD bug for part of this.

Hint: silence as a default can make it more difficult to get feedback from testers …

from iso.

probonopd avatar probonopd commented on May 29, 2024

Hint: silence as a default can make it more difficult to get feedback from testers …

In case of boot issues, one can always unset boot_mute.

Ideally I would want to have it so that one can just hold down the "v" key during boot for "verbose". But by default, what I consider "debug" messages for developers should be hidden from "mere mortals" view. Doable in Forth/Lua?

from iso.

kettle-7 avatar kettle-7 commented on May 29, 2024

Is GNU GrUB Unwelcome technologies?

from iso.

probonopd avatar probonopd commented on May 29, 2024

Well, it's GNU. Whereas we want to stay close to FreeBSD as much as possible, certainly for such essential components.

from iso.

probonopd avatar probonopd commented on May 29, 2024

Doing some trickery in local.lua, "almost" does the trick. Silences the bootloader from the point in time at which it is running.

Can't silence the earlier stages though. I think it is fine for now.

from iso.

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.