Skip to content

Commit

Permalink
feat: Support secure boot in non Pop!_OS distributions
Browse files Browse the repository at this point in the history
Systems with secure boot enabled can't load grub directly as it isn't signed with a Microsoft key. They first have to load the shim.
  • Loading branch information
davidmhewitt authored Feb 1, 2021
1 parent 0a5f4f7 commit 93bdf92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/installer/steps/bootloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ pub fn bootloader<F: FnMut(i32)>(
let loader = if &name == "Pop!_OS" {
"\\EFI\\systemd\\systemd-bootx64.efi".into()
} else {
format!("\\EFI\\{}\\grubx64.efi", name)
format!("\\EFI\\{}\\shimx64.efi", name)
};

let args: &[&OsStr] = &[
Expand Down

0 comments on commit 93bdf92

Please sign in to comment.