mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 15:48:21 +01:00
laptop: add extra boot params, remove old boot entries
This commit is contained in:
parent
15f2eb9eb5
commit
b18f341935
2 changed files with 1 additions and 26 deletions
|
|
@ -34,32 +34,6 @@ in
|
|||
efiInstallAsRemovable = true;
|
||||
extraPerEntryConfig = "acpi ($drive1)//dsdt.aml";
|
||||
# useOSProber = true;
|
||||
extraEntries =
|
||||
''
|
||||
menuentry 'Windows 10' --class windows --class os {
|
||||
insmod part_gpt
|
||||
insmod fat
|
||||
set root='hd0,gpt4'
|
||||
if [ x$feature_platform_search_hint = xy ]; then
|
||||
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 8D94-2A4E
|
||||
else
|
||||
search --no-floppy --fs-uuid --set=root 8D94-2A4E
|
||||
fi
|
||||
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
|
||||
}
|
||||
menuentry 'Ventoy' {
|
||||
insmod part_gpt
|
||||
insmod fat
|
||||
# set root='hd0,gpt4'
|
||||
# if [ x$feature_platform_search_hint = xy ]; then
|
||||
# search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 BDAD-470D
|
||||
# else
|
||||
# search --no-floppy --fs-uuid --set=root BDAD-470D
|
||||
# fi
|
||||
search --no-floppy --fs-uuid --set=root BDAD-470D
|
||||
chainloader /EFI/BOOT/BOOTX64.EFI
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue