summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-03-18 09:28:38 +0100
committerIrina Gómez <irinagomez@us.es>2019-03-18 09:28:38 +0100
commit1874ce958f03bf238dcc0f892e21305fc87e3c66 (patch)
tree99b0bfdcb1fb8f553a160f1afb03d3132805d45f /server
parent831de70ba49f7a66ff3ebbe2ad4716a2d2d3fa11 (diff)
PXE templates for UEFI: Windows, reFind, ogLiveAdmin and new computer.
Diffstat (limited to 'server')
-rw-r--r--server/tftpboot/grub/templates/00unknown30
-rw-r--r--server/tftpboot/grub/templates/19pxeADMIN5
-rw-r--r--server/tftpboot/grub/templates/refind4
-rw-r--r--server/tftpboot/grub/templates/windows4
4 files changed, 43 insertions, 0 deletions
diff --git a/server/tftpboot/grub/templates/00unknown b/server/tftpboot/grub/templates/00unknown
new file mode 100644
index 00000000..3352a965
--- /dev/null
+++ b/server/tftpboot/grub/templates/00unknown
@@ -0,0 +1,30 @@
+##NO-TOCAR-ESTA-LINEA Sin-designar
+set default="0"
+set timeout="30"
+
+menuentry 'ogLive' {
+set ISODIR=ogLive
+linux (tftp)/$ISODIR/ogvmlinuz ro boot=oginit quiet splash vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=false ogdebug=false ogtmpfs=15 oglivedir=$ISODIR INFOHOST
+initrd (tftp)/$ISODIR/oginitrd.img
+boot
+}
+menuentry 'ReFind' {
+ root='hd0,gpt1'
+ chainloader /EFI/refind/shimx64.efi
+ boot
+}
+menuentry 'Part-01-02' {
+ root='hd0,gpt1'
+ chainloader /EFI/Part-01-02/Boot/ogloader.efi
+ boot
+}
+menuentry 'Windows' {
+ root='hd0,gpt1'
+ chainloader /EFI/Microsoft/Boot/bootmgfw.efi
+ boot
+}
+menuentry 'Ubuntu' {
+ root='hd0,gpt1'
+ chainloader /EFI/ubuntu/grubx64.efi
+ boot
+}
diff --git a/server/tftpboot/grub/templates/19pxeADMIN b/server/tftpboot/grub/templates/19pxeADMIN
new file mode 100644
index 00000000..7ab4770d
--- /dev/null
+++ b/server/tftpboot/grub/templates/19pxeADMIN
@@ -0,0 +1,5 @@
+##NO-TOCAR-ESTA-LINEA ogLiveAdmin
+set ISODIR=ogLive
+linux (tftp)/$ISODIR/ogvmlinuz ro boot=oginit quiet splash vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=true ogdebug=true ogtmpfs=15 oglivedir=$ISODIR INFOHOST
+initrd (tftp)/$ISODIR/oginitrd.img
+boot
diff --git a/server/tftpboot/grub/templates/refind b/server/tftpboot/grub/templates/refind
new file mode 100644
index 00000000..4ada28d0
--- /dev/null
+++ b/server/tftpboot/grub/templates/refind
@@ -0,0 +1,4 @@
+##NO-TOCAR-ESTA-LINEA refind
+root='hd0,gpt1'
+chainloader /EFI/refind/shimx64.efi
+boot
diff --git a/server/tftpboot/grub/templates/windows b/server/tftpboot/grub/templates/windows
new file mode 100644
index 00000000..333db4e2
--- /dev/null
+++ b/server/tftpboot/grub/templates/windows
@@ -0,0 +1,4 @@
+##NO-TOCAR-ESTA-LINEA Windows
+root='hd0,gpt1'
+chainloader /EFI/Microsoft/Boot/bootmgfw.efi
+boot