Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. today i'm unhappy about NixOS because: the GRUB graphical mode straight up crashes on this motherboard.

today i'm unhappy about NixOS because: the GRUB graphical mode straight up crashes on this motherboard.

Scheduled Pinned Locked Moved Uncategorized
8 Posts 6 Posters 5 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • whitequark@social.treehouse.systemsW This user is from outside of this forum
    whitequark@social.treehouse.systemsW This user is from outside of this forum
    whitequark@social.treehouse.systems
    wrote last edited by
    #1

    today i'm unhappy about NixOS because: the GRUB graphical mode straight up crashes on this motherboard. not "cannot boot a kernel", not "errors out", but "crashes attempting to transition out of graphical mode to text mode" (whatever that even means with an EFI framebuffer)

    I spent thirty fucking minutes trying to figure out what went wrong. the kernel boots if i extract it from the nix store and use the EFI stub. every option in the GRUB menu crashes. i had to edit it using the EFI text editor (it's a polyglot image which Linux mounts as iso9660 but EFI mounts as FAT32) to enable textmode unconditionally

    (interestingly, after this every time i transition between GRUB menus it complains about "not being able to fit glyphs on screen". maybe that's what crashes it? no idea.)

    whitequark@social.treehouse.systemsW natanbc@mastodon.socialN 2 Replies Last reply
    0
    • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

      today i'm unhappy about NixOS because: the GRUB graphical mode straight up crashes on this motherboard. not "cannot boot a kernel", not "errors out", but "crashes attempting to transition out of graphical mode to text mode" (whatever that even means with an EFI framebuffer)

      I spent thirty fucking minutes trying to figure out what went wrong. the kernel boots if i extract it from the nix store and use the EFI stub. every option in the GRUB menu crashes. i had to edit it using the EFI text editor (it's a polyglot image which Linux mounts as iso9660 but EFI mounts as FAT32) to enable textmode unconditionally

      (interestingly, after this every time i transition between GRUB menus it complains about "not being able to fit glyphs on screen". maybe that's what crashes it? no idea.)

      whitequark@social.treehouse.systemsW This user is from outside of this forum
      whitequark@social.treehouse.systemsW This user is from outside of this forum
      whitequark@social.treehouse.systems
      wrote last edited by
      #2

      i don't like GRUB. i dislike GRUB to such an extent that my personal laptop boots into the EFI shell and then i manually run a .nsh script that runs my kernel (i would use EFI boot options but Dell broke command line support in EFI boot options on their laptops and haven't managed to fix it for like 5 years). at least it works every time

      lunareclipse@snug.moeL wonka@chaos.socialW tthbaltazar@chaos.socialT jernej__s@infosec.exchangeJ 4 Replies Last reply
      0
      • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

        i don't like GRUB. i dislike GRUB to such an extent that my personal laptop boots into the EFI shell and then i manually run a .nsh script that runs my kernel (i would use EFI boot options but Dell broke command line support in EFI boot options on their laptops and haven't managed to fix it for like 5 years). at least it works every time

        lunareclipse@snug.moeL This user is from outside of this forum
        lunareclipse@snug.moeL This user is from outside of this forum
        lunareclipse@snug.moe
        wrote last edited by
        #3

        @whitequark I think you could get around this by using a UKI with built-in kernel parameters inside it. It needs quite a bit of space on the ESP though due to the bundled initramfs.

        whitequark@social.treehouse.systemsW 1 Reply Last reply
        0
        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

          i don't like GRUB. i dislike GRUB to such an extent that my personal laptop boots into the EFI shell and then i manually run a .nsh script that runs my kernel (i would use EFI boot options but Dell broke command line support in EFI boot options on their laptops and haven't managed to fix it for like 5 years). at least it works every time

          wonka@chaos.socialW This user is from outside of this forum
          wonka@chaos.socialW This user is from outside of this forum
          wonka@chaos.social
          wrote last edited by
          #4

          I'm quite happy with rEFInd. No idea if you'd like it though.

          @whitequark

          1 Reply Last reply
          0
          • lunareclipse@snug.moeL lunareclipse@snug.moe

            @whitequark I think you could get around this by using a UKI with built-in kernel parameters inside it. It needs quite a bit of space on the ESP though due to the bundled initramfs.

            whitequark@social.treehouse.systemsW This user is from outside of this forum
            whitequark@social.treehouse.systemsW This user is from outside of this forum
            whitequark@social.treehouse.systems
            wrote last edited by
            #5

            @lunareclipse well i already put my initrd there so it's not a problem

            what i don't want however is to rebuild my kernel just to put the cmdline in it. on an embedded target i could do this with an fdt...

            what do you mean by an UKI

            1 Reply Last reply
            0
            • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

              today i'm unhappy about NixOS because: the GRUB graphical mode straight up crashes on this motherboard. not "cannot boot a kernel", not "errors out", but "crashes attempting to transition out of graphical mode to text mode" (whatever that even means with an EFI framebuffer)

              I spent thirty fucking minutes trying to figure out what went wrong. the kernel boots if i extract it from the nix store and use the EFI stub. every option in the GRUB menu crashes. i had to edit it using the EFI text editor (it's a polyglot image which Linux mounts as iso9660 but EFI mounts as FAT32) to enable textmode unconditionally

              (interestingly, after this every time i transition between GRUB menus it complains about "not being able to fit glyphs on screen". maybe that's what crashes it? no idea.)

              natanbc@mastodon.socialN This user is from outside of this forum
              natanbc@mastodon.socialN This user is from outside of this forum
              natanbc@mastodon.social
              wrote last edited by
              #6

              @whitequark fwiw I have one of those chinese X99 motherboards (though not the same one you have) and NixOS boots properly using systemd-boot

              1 Reply Last reply
              0
              • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                i don't like GRUB. i dislike GRUB to such an extent that my personal laptop boots into the EFI shell and then i manually run a .nsh script that runs my kernel (i would use EFI boot options but Dell broke command line support in EFI boot options on their laptops and haven't managed to fix it for like 5 years). at least it works every time

                tthbaltazar@chaos.socialT This user is from outside of this forum
                tthbaltazar@chaos.socialT This user is from outside of this forum
                tthbaltazar@chaos.social
                wrote last edited by
                #7

                @whitequark
                if all you want is simple text files storing options and a menu to select or edit it before boot then I suggest you look at systemd-boot

                1 Reply Last reply
                0
                • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                  i don't like GRUB. i dislike GRUB to such an extent that my personal laptop boots into the EFI shell and then i manually run a .nsh script that runs my kernel (i would use EFI boot options but Dell broke command line support in EFI boot options on their laptops and haven't managed to fix it for like 5 years). at least it works every time

                  jernej__s@infosec.exchangeJ This user is from outside of this forum
                  jernej__s@infosec.exchangeJ This user is from outside of this forum
                  jernej__s@infosec.exchange
                  wrote last edited by
                  #8

                  @whitequark I'm using Syslinux whenever possible, because while it has its own problems (make sure CONFIG_EFI_HANDOVER_PROTOCOL is enabled, unless you like working with 2 GB RAM total), it still seems to work more reliably than grub.

                  1 Reply Last reply
                  1
                  0
                  • R relay@relay.infosec.exchange shared this topic
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups