3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/installer
Samuel Dionne-Riel 20b023b5ea iso-image: Improve disk detection
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 cb5c4fcd3c
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.
2021-05-22 20:04:05 -07:00
..
cd-dvd iso-image: Improve disk detection 2021-05-22 20:04:05 -07:00
netboot lib: Clean up how linux and gcc config is specified 2021-01-23 10:01:28 -05:00
scan [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
sd-card Merge pull request #121834 from samueldr/feature/raspberrypi4-image-cleanup 2021-05-10 14:05:02 -04:00
tools nix: 2.3.10 -> 2.3.11 2021-05-14 12:24:54 +00:00
virtualbox-demo.nix gnome: rename from gnome3 2021-05-08 09:47:42 +02:00