-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iso-image: Fix issues with UEFI installer image #124076
iso-image: Fix issues with UEFI installer image #124076
Conversation
The date issue is fixed, the one of failed theming is not. I can't comment on the resolution one since I don't have that. |
@ncfavier Can you confirm the font problem is fixed? In that case we should merge a PR with either just the |
Building the ISO now. To be clear, |
Well, that's just an issue of lacking theming, and the other commits restore the ability to boot. Which is why, as I see it, the latter should prevent a release of 21.05 of while the former should not. This is why I'd like to separate the two parts and merge them separately, so we can take our time and find out how to solve the theming issue on all platforms without making @jonringer sad. |
Fair enough. |
at this point, all software makes me sad |
67fb897
to
a7cd8f8
Compare
OK, I can confirm that this fixes the date bug and the resolution bug (at least on my machine). d64034d5e79cf454a995d3270931d02c67287e0b and f9e461833f1dc4af94ec4fc6f83e70f6d2844f89 cancel each other out, so you might want to rebase them out. For the record, here's a list of common VBE video modes. |
Fix is still good after the force-push. |
AFAIUI |
From the manual:
I have no idea though. |
Yeah, GRUB's documentation is still heavily biased to their "legacy" program. We're exclusively using the UEFI version of GRUB with the iso. |
Aha you're right, |
haha! detecting as So I guess the issue was that GRUB detected itself as File names are lowercased when |
The latest commit is unsuccessful in fixing the theming issue for me, in case that is what it is supposed to do. |
@hyperfekt yeah, I pushed it eagerly, and then I figured out that reproduces the themeing issue. When booted with that root things are awfully broken... |
It may be that in some conditions dates earlier than 1980 on FAT on GRUB 2.06~ish will cause failures NixOS#123376 (comment)
This technically changes nothing. In practice `$root` is always the "CWD", whether searched for automatically or not. But this serves to announce we are relying on `$root`... I guess...
This should help in rare hardware-specific situations where the root is not automatically detected properly. We search using a marker file. This should help some weird UEFI setups where the root is set to `(hd0,msdos2)` by default. Defaulting to `(hd0)` by looking for the ESP **will break themeing**. It is unclear why, but files in `(hd0,msdos2)` are not all present as they should be. This also fixes an issue introduced with cb5c4fc where rEFInd stopped booting in many cases. This is because it ended up using (hd0) rather than using the `search` which was happening beforehand, which in turn uses (hd0,msdos2), which is the ESP. Putting back the `search` here fixes that.
831b352
to
ca0ebe3
Compare
I need to test on But this should be good. Can I get a verification for your particular issues? |
This is the one. Theming works now, and the date thing is still resolved. Good job! 🥳 |
awesome turn around. Thanks for working on this all :) |
Verified with Tow-Boot on my Pinebook A64 that it works just as well as it did. |
@GrahamcOfBorg test grub |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
diff LGTM
tests still checkout on x86, aarch64 was tested
This works for me, but only by accident: the EDIT: actually, shouldn't we just move the theme files to |
It's not actually a different FS. It's We should look into why some files are not present. But for the time being the failure state is seemingly lack of theme. Which isn't much of an issue as long as the user can boot in the system! |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/21-05-has-been-released/13407/5 |
This comment has been minimized.
This comment has been minimized.
(I "moved" this comment into a new issue as it is irrelevant to this PR see #132094 ) |
Tries to handle #123376
Things done
Verified on:
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)