# Nix iso unable to boot in UEFI mode (but other distros can)

**URL:** https://discourse.nixos.org/t/nix-iso-unable-to-boot-in-uefi-mode-but-other-distros-can/16473
**Category:** Help
**Created:** [December 7, 2021, 7:23pm UTC](https://discourse.nixos.org/t/nix-iso-unable-to-boot-in-uefi-mode-but-other-distros-can/16473 "2021-12-07T19:23:11Z")
**Posts on this page:** 5
**Page:** 4

<div class="post-metadata">

### Author: ![mr337](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mr337/32/30221_2.png) [@mr337](https://discourse.nixos.org/u/mr337)
#### Post date: [January 2, 2025, 4:56pm UTC](https://discourse.nixos.org/t/nix-iso-unable-to-boot-in-uefi-mode-but-other-distros-can/16473/61 "2025-01-02T16:56:07Z")

</div>

I trued the unstable and minimal latest versions of 24.11 and the only thing that worked was rebuilding the ISO. Finally got my DFI computers to boot.

---

<div class="post-metadata">

### Author: ![n8henrie](https://discourse.nixos.org/user_avatar/discourse.nixos.org/n8henrie/32/2452_2.png) [@n8henrie](https://discourse.nixos.org/u/n8henrie)
#### Post date: [April 25, 2025, 10:35pm UTC](https://discourse.nixos.org/t/nix-iso-unable-to-boot-in-uefi-mode-but-other-distros-can/16473/62 "2025-04-25T22:35:47Z")

</div>

Spent all day trying to get the latest 24.11 minimal to boot – same issue, after the initial graphic menu (to choose e.g. `nomodeset`) it goes immediately back to BIOS with the press of any button. No luck with `e` or `t`.

Tried multiple USBs, tried enabling CSM, tried 24.05 and 23.11 without luck.

Debian boots fine.

netboot.xyz worked to get me into NixOS.

---

<div class="post-metadata">

### Author: ![mastoca](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mastoca/32/28219_2.png) [@mastoca](https://discourse.nixos.org/u/mastoca)
#### Post date: [May 19, 2025, 3:13pm UTC](https://discourse.nixos.org/t/nix-iso-unable-to-boot-in-uefi-mode-but-other-distros-can/16473/63 "2025-05-19T15:13:18Z")

</div>

Hi all, I was able to get my machine to boot after I added the suggestion made on this thread [System won't boot path EFI stub - #12 by anon-20250105](https://discourse.nixos.org/t/system-wont-boot-path-efi-stub/29212/12)

I do not understand why it worked but it did.

---

<div class="post-metadata">

### Author: ![mastoca](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mastoca/32/28219_2.png) [@mastoca](https://discourse.nixos.org/u/mastoca)
#### Post date: [May 27, 2025, 7:18pm UTC](https://discourse.nixos.org/t/nix-iso-unable-to-boot-in-uefi-mode-but-other-distros-can/16473/64 "2025-05-27T19:18:14Z")

</div>

FYI: The PR created by @ElvishJerricco located [https://github.com/NixOS/nixpkgs/pull/410324](https://github.com/NixOS/nixpkgs/pull/410324) does produce an ISO and builds/installs boot correctly.

Confirmed on my machine (Minisforum X7 TI)

---

<div class="post-metadata">

### Author: ![DonutStealer](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@DonutStealer](https://discourse.nixos.org/u/DonutStealer)
#### Post date: [July 12, 2025, 2:36am UTC](https://discourse.nixos.org/t/nix-iso-unable-to-boot-in-uefi-mode-but-other-distros-can/16473/65 "2025-07-12T02:36:02Z")

</div>

Unfortunately the release from that PR didn’t seem to work for me either (or the one from main download page). Found this thread while searching for the same issue as OP and was also able to fix by changing `textmode=true` in the grub.cfg.

Happy to try anything else if it would help find a more permanent fix.

[Previous page](https://discourse.nixos.org/t/nix-iso-unable-to-boot-in-uefi-mode-but-other-distros-can/16473.md?page=3)
