fix grub efi issue

axtloss/rework-partitioning
axtlos 3 years ago
parent d23b17cb2f
commit 450bd3879f
No known key found for this signature in database
GPG Key ID: A468AFD71DD51D4A

@ -53,7 +53,18 @@ pub fn install_bootloader_efi(efidir: PathBuf) {
String::from("--removable"), String::from("--removable"),
], ],
), ),
"install grub as efi", "install grub as efi with --removable",
);
exec_eval(
exec_chroot(
"grub-install",
vec![
String::from("--target=x86_64-efi"),
format!("--efi-directory={}", efidir),
String::from("--bootloader-id=crystal"),
],
),
"install grub as efi without --removable",
); );
exec_eval( exec_eval(
exec_chroot( exec_chroot(

Loading…
Cancel
Save