caret
November 13, 2024, 3:13am
1
On the most recent nixos ISOs (yes, I’ve tried all of them, and 23.11), they all result in this odd behavior:
Show grub menu, flash an message that says to press T, then boots me back to the select boot device screen of my bios. I was able to get the live USB of Ubuntu and Fedora to load, but not any of the nixos ones. I even tried building my own but that resulted in the same behavior as well.
Any ideas? I’m trying to install it on a device with an Intel Alder Lake N100 CPU.
I just want to use nix on this thing. Is it possible to install via a different live linux ISO?
specifically this one fwiw
Video of the error:
https://youtu.be/1Sl7o5bHbJQ
How are you writing your ISO to the USB drive?
1 Like
Try turning Secure Boot off in the BIOS/UEFI
1 Like
caret
November 13, 2024, 12:39pm
4
sudo dd bs=4M conv=fsync oflag=direct status=progress if=nixos-gnome-24.05.6529.9256f7c71a19-x86_64-linux.iso of=/dev/sdc
(as outlined from the wiki)
I tried on multiple different USB drives, and they all function the same. Wiped them before I do this too.
caret
November 13, 2024, 3:39pm
5
Same behavior. It just appears the ISO doesn’t have a boot disk even though it does (see video).
srd424
November 13, 2024, 5:29pm
6
This sounds like the issue with the EFI files being in the wrong case again?
Im not able to install or rly for that matter boot the live media for NixOS into my system to install it onto my pc for it keeps getting stuck at the cursor then it stops blinking and reading my usb drive. so thus im unsure of what i need to do in order to boot into my usb drive for NixOS
[IMG_1186]
1 Like
I guess we never backported that fix to 24.05. You could try an unstable iso. (gnome , minimal , plasma6 )
2 Likes
caret
November 13, 2024, 5:50pm
8
Yes this is exactly it, @srd424 thank you.
Glad I could find other people dealing with this issue at the least. Putting links here for reference:
I am currently trying to install nixos21.11 on real hardware. However, the installer crashes right after the graphical menu. The menu stays there forever, and if I press any button, I get thrown right back to the UEFI boot menu. No errors, not even a tiny bit of console output. I does not matter which option I choose, the behavior never changes. I have the following hardware:
Xeon E3 1245 v5
Asrock E3C236D2I (has IPMI with AST2400 graphics)
16GB ECC DDR4
2x14TB HDD + 2x1.8TB SSD + 51…
NixOS:master
← RaitoBezarius:fix-fat32-filenames-for-iso
opened 03:02PM - 10 Feb 24 UTC
## Description of changes
Reported in https://discourse.nixos.org/t/nix-iso-u… nable-to-boot-in-uefi-mode-but-other-distros-can/16473/24
There seems to be weird situations with casing and FAT8.3 filenames, UEFI firmwares and what not. To increase our compatibility, let's ensure we have the critical stuff (the bootable) in uppercase.
<!--
For package updates please link to a changelog or describe changes, this helps your fellow maintainers discover breaking updates.
For new packages please briefly describe the package or provide a link to its homepage.
-->
## Things done
- Built on platform(s)
- [ ] x86_64-linux
- [ ] aarch64-linux
- [ ] x86_64-darwin
- [ ] aarch64-darwin
- For non-Linux: Is sandboxing enabled in `nix.conf`? (See [Nix manual](https://nixos.org/manual/nix/stable/command-ref/conf-file.html))
- [ ] `sandbox = relaxed`
- [ ] `sandbox = true`
- [ ] Tested, as applicable:
- [NixOS test(s)](https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests) (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))
- and/or [package tests](https://nixos.org/manual/nixpkgs/unstable/#sec-package-tests)
- or, for functions and "core" functionality, tests in [lib/tests](https://github.com/NixOS/nixpkgs/blob/master/lib/tests) or [pkgs/test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/test)
- made sure NixOS tests are [linked](https://nixos.org/manual/nixpkgs/unstable/#ssec-nixos-tests-linking) to the relevant packages
- [ ] Tested compilation of all packages that depend on this change using `nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"`. Note: all changes have to be committed, also see [nixpkgs-review usage](https://github.com/Mic92/nixpkgs-review#usage)
- [ ] Tested basic functionality of all binary files (usually in `./result/bin/`)
- [24.05 Release Notes](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2405.section.md) (or backporting [23.05](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2305.section.md) and [23.11](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2311.section.md) Release notes)
- [ ] (Package updates) Added a release notes entry if the change is major or breaking
- [ ] (Module updates) Added a release notes entry if the change is significant
- [ ] (Module addition) Added a release notes entry if adding a new NixOS module
- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).
<!--
To help with the large amounts of pull requests, we would appreciate your
reviews of other pull requests, especially simple package updates. Just leave a
comment describing what you have tested in the relevant package/service.
Reviewing helps to reduce the average time-to-merge for everyone.
Thanks a lot if you do!
List of open PRs: https://github.com/NixOS/nixpkgs/pulls
Reviewing guidelines: https://nixos.org/manual/nixpkgs/unstable/#chap-reviewing-contributions
-->
---
Add a :+1: [reaction] to [pull requests you find important].
[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[pull requests you find important]: https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc
And @ElvishJerricco I’ll try that next, thanks!
1 Like
caret
November 13, 2024, 7:00pm
9
Trying the following resulted in the same behavior as well.
nixos-gnome-24.11pre706477.dc460ec76cbf-x86_64-linux.iso
nixos-minimal-24.11pre705705.76612b17c0ce-x86_64-linux.iso
I think I’ll just go with this ‘solution’ next…
Replying to myself.
Here is what I did to workaround the issue:
Boot into Debian using their USB installer
Install Nix in Debian sh <(curl -L https://nixos.org/nix/install) --daemon
From there, build a NixOS to kexec (see documentation NixOS 23.11 manual | Nix & NixOS ): nix-build -A kexec.x86_64-linux '<nixpkgs/nixos/release.nix>'
apt install kexec-tools
cd result && ./kexec-boot
1 Like