Add missing files for network boot
This commit is contained in:
parent
bf6d06e794
commit
f33a0b8a21
6 changed files with 111 additions and 0 deletions
23
roles/netboot-grub/files/common/main_efi.cfg
Normal file
23
roles/netboot-grub/files/common/main_efi.cfg
Normal file
|
@ -0,0 +1,23 @@
|
|||
menuentry "Reboot" --unrestricted --id uefi-reboot {
|
||||
reboot
|
||||
}
|
||||
|
||||
menuentry "Windows" --unrestricted --id windows {
|
||||
# set root='hd0,gpt2'
|
||||
# search --no-floppy --set root --label "EFI system partition"
|
||||
search --no-floppy --set root --fs-uuid "3CD4-212D"
|
||||
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
|
||||
}
|
||||
|
||||
menuentry "Local Ubuntu" --unrestricted --id ubuntu {
|
||||
insmod part_gpt
|
||||
insmod ext2
|
||||
insmod gzio
|
||||
# search --no-floppy --set root --label "/"
|
||||
search --no-floppy --set root --fs-uuid "78793264-76ab-4b98-bb46-687b75e8330d"
|
||||
# set root='(hd0,gpt5)'
|
||||
linux /@/boot/vmlinuz root=UUID=78793264-76ab-4b98-bb46-687b75e8330d pcie_aspm=off nvme_core.default_ps_max_latency_us=0 snd_hda_intel.pmic_detect=0 intel_iommu=on i915.enable_guc=0 i915.enable_gvt=1 rootflags=subvol=@ ro quiet splash
|
||||
# linux /boot/vmlinuz root=PARTUUID= pcie_aspm=off nvme_core.default_ps_max_latency_us=0 snd_hda_intel.pmic_detect=0 intel_iommu=on i915.enable_guc=0 i915.enable_gvt=1 ro quiet splash
|
||||
initrd /@/boot/initrd.img
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue