diff options
author | Irina Gómez <irinagomez@us.es> | 2019-10-22 10:44:02 +0200 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2019-10-22 10:44:02 +0200 |
commit | d661fb52aebc269cc9dad01c674cdb2820abe78c (patch) | |
tree | c9e3b08492c47d1ba2aaf2945d5d48a83f6f2a9e /server/tftpboot | |
parent | 71b7511ae896d0f39cf619a2ccbff8bc90d786a3 (diff) |
#802 #888 PXE templates support EFI partition in whichever partition. Example template for boot with grub.
Diffstat (limited to 'server/tftpboot')
-rw-r--r-- | server/tftpboot/grub/examples/grub | 4 | ||||
-rw-r--r-- | server/tftpboot/grub/templates/10 | 4 | ||||
-rw-r--r-- | server/tftpboot/grub/templates/11 | 6 | ||||
-rw-r--r-- | server/tftpboot/grub/templates/12 | 6 | ||||
-rw-r--r-- | server/tftpboot/grub/templates/13 | 4 | ||||
-rw-r--r-- | server/tftpboot/menu.lst/templates/11 | 4 | ||||
-rw-r--r-- | server/tftpboot/menu.lst/templates/12 | 4 | ||||
-rw-r--r-- | server/tftpboot/menu.lst/templates/13 | 8 |
8 files changed, 27 insertions, 13 deletions
diff --git a/server/tftpboot/grub/examples/grub b/server/tftpboot/grub/examples/grub new file mode 100644 index 00000000..5d42c4af --- /dev/null +++ b/server/tftpboot/grub/examples/grub @@ -0,0 +1,4 @@ +##NO-TOCAR-ESTA-LINEA grub +search --file --set root /EFI/grub/Boot/grubx64.efi +chainloader /EFI/grub/Boot/grubx64.efi +boot diff --git a/server/tftpboot/grub/templates/10 b/server/tftpboot/grub/templates/10 index 82c44464..9ed11639 100644 --- a/server/tftpboot/grub/templates/10 +++ b/server/tftpboot/grub/templates/10 @@ -1,6 +1,4 @@ ##NO-TOCAR-ESTA-LINEA 1hd -echo "rEFInd" - -root='hd0,gpt1' +search --file --set root /EFI/refind/shimx64.efi.signed chainloader /EFI/refind/shimx64.efi.signed boot diff --git a/server/tftpboot/grub/templates/11 b/server/tftpboot/grub/templates/11 index 06b34088..e17d387b 100644 --- a/server/tftpboot/grub/templates/11 +++ b/server/tftpboot/grub/templates/11 @@ -1,4 +1,4 @@ -##NO-TOCAR-ESTA-LINEA 1hd-1os -root='hd0,gpt1' -chainloader /EFI/Part-01-02/Boot/ogloader.efi +##NO-TOCAR-ESTA-LINEA 1hd-1partition +search --file --set root /EFI/Part-01-01/Boot/ogloader.efi +chainloader /EFI/Part-01-01/Boot/ogloader.efi boot diff --git a/server/tftpboot/grub/templates/12 b/server/tftpboot/grub/templates/12 index 6f22fc30..2bcf108d 100644 --- a/server/tftpboot/grub/templates/12 +++ b/server/tftpboot/grub/templates/12 @@ -1,4 +1,4 @@ -##NO-TOCAR-ESTA-LINEA 1hd-2os -root='hd0,gpt1' -chainloader /EFI/Part-01-03/Boot/ogloader.efi +##NO-TOCAR-ESTA-LINEA 1hd-2partition +search --file --set root /EFI/Part-01-02/Boot/ogloader.efi +chainloader /EFI/Part-01-02/Boot/ogloader.efi boot diff --git a/server/tftpboot/grub/templates/13 b/server/tftpboot/grub/templates/13 new file mode 100644 index 00000000..4c9d26a0 --- /dev/null +++ b/server/tftpboot/grub/templates/13 @@ -0,0 +1,4 @@ +##NO-TOCAR-ESTA-LINEA 1hd-3partition +search --file --set root /EFI/Part-01-03/Boot/ogloader.efi +chainloader /EFI/Part-01-03/Boot/ogloader.efi +boot diff --git a/server/tftpboot/menu.lst/templates/11 b/server/tftpboot/menu.lst/templates/11 index c1492b57..6635b495 100644 --- a/server/tftpboot/menu.lst/templates/11 +++ b/server/tftpboot/menu.lst/templates/11 @@ -1,6 +1,6 @@ -##NO-TOCAR-ESTA-LINEA 1hd-1os +##NO-TOCAR-ESTA-LINEA 1hd-1partition timeout 1 -title FirstDisk-FirstOperatingSystem +title FirstDisk-FirstPartition root (hd0,0) chainloader (hd0,0)+1 boot diff --git a/server/tftpboot/menu.lst/templates/12 b/server/tftpboot/menu.lst/templates/12 index 0db966b7..0843c3b1 100644 --- a/server/tftpboot/menu.lst/templates/12 +++ b/server/tftpboot/menu.lst/templates/12 @@ -1,6 +1,6 @@ -##NO-TOCAR-ESTA-LINEA 1hd-2os +##NO-TOCAR-ESTA-LINEA 1hd-2partition timeout 1 -title FirstHardDisk-SecondOperatingSystem +title FirstHardDisk-SecondPartition root (hd0,1) chainloader (hd0,1)+1 boot diff --git a/server/tftpboot/menu.lst/templates/13 b/server/tftpboot/menu.lst/templates/13 new file mode 100644 index 00000000..fedf8ebf --- /dev/null +++ b/server/tftpboot/menu.lst/templates/13 @@ -0,0 +1,8 @@ +##NO-TOCAR-ESTA-LINEA 1hd-3partition +timeout 1 +title FirstDisk-ThirdPartition +root (hd0,2) +chainloader (hd0,2)+1 +boot + + |