diff options
author | ramon <ramongomez@us.es> | 2015-02-04 13:55:12 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2015-02-04 13:55:12 +0000 |
commit | 440250d1c199f57d4f895a41836a1e591478d212 (patch) | |
tree | 7e7d846589ee9ee4fef701deb0ac1ab3659a3edb /server/tftpboot | |
parent | beaebf84bf71d722c172834e586eeec6406814ca (diff) |
#673: Eliminar ficheros innecesarios de PXELinux; prerparar la instalación de un cargador "grldr" alternativo y documentar como elegir el "grldr" adecuado para el hardware del los clientes.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4500 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/tftpboot')
-rw-r--r-- | server/tftpboot/NetbootPXE.es.txt | 35 | ||||
-rw-r--r-- | server/tftpboot/grldr-0.4.5b | bin | 0 -> 273039 bytes | |||
-rw-r--r-- | server/tftpboot/pxelinux.cfg/default | 16 | ||||
-rw-r--r-- | server/tftpboot/pxelinux.cfg/examples/callGRUBfromPXELINUX | 61 | ||||
-rw-r--r-- | server/tftpboot/pxelinux.cfg/examples/examplecallGrub | 29 |
5 files changed, 35 insertions, 106 deletions
diff --git a/server/tftpboot/NetbootPXE.es.txt b/server/tftpboot/NetbootPXE.es.txt index 3efd8371..b963d50b 100644 --- a/server/tftpboot/NetbootPXE.es.txt +++ b/server/tftpboot/NetbootPXE.es.txt @@ -1,6 +1,41 @@ + +Notas sobre arranque remoto de los clientes +=========================================== + +Desde la versión OpenGnSys 1.0.2 se utiliza Grub4Dos como gestor de arranque en sustitución de PXELinux. + +El instalador de OpenGnSys configura por defecto el servicio DHCP para usar el fichero "grldr" como gestor PXE, incluyendo la siguiente cláusula que debe ser común a todos los equipos afectados: + + filename "grldr"; + +En algunos equipos, puede aparecer el siguiente mensaje de error al finalizar la carga de los ficheros de arranque: +llll PXE unload fails: 1 +ln este caso, debe sustituirse el fichero por defecto "grldr" por "grldr-0.4.5b", que incluye una versión más actualizado de Grub4Dos, quedando la línea de configuración de DHCP como sigue: + + filename "grldr-0.4.5b"; + +Si se dispone distinto hardware compatible solo con uno de estos ficheros, deberá editarse el fichero de configuracińo de DHCP usando declaraciones para grupos de equipos: + + group { + filename "grldr"; + host ... + ... + } + group { + filename "grldr-0.4.5b"; + host ... + ... + } + +No olvidar reiniciar el servicio DHCP tras cada modificación de su fichero de configuración. + + + Como cambiar el arranque en red PXELinux por Grub4DOS ===================================================== +NOTA: la siguiente información está anticuada y es válido solo para versiones anteriores a OpenGnSys 1.0.2. + OpenGnSys 1.0.1 usa como gestor PXE el binario pxelinux.0, sin embargo, la actulización a OpenGnSys 1.0.2 sustituye automáticamente dicho gestor por Grub4Dos. diff --git a/server/tftpboot/grldr-0.4.5b b/server/tftpboot/grldr-0.4.5b Binary files differnew file mode 100644 index 00000000..50e25d53 --- /dev/null +++ b/server/tftpboot/grldr-0.4.5b diff --git a/server/tftpboot/pxelinux.cfg/default b/server/tftpboot/pxelinux.cfg/default deleted file mode 100644 index 2b92712a..00000000 --- a/server/tftpboot/pxelinux.cfg/default +++ /dev/null @@ -1,16 +0,0 @@ -DEFAULT syslinux/vesamenu.c32 -MENU TITLE Aplicacion OpenGnsys - -PROMPT 0 -TIMEOUT 100 - -LABEL Local_Boot -MENU LABEL Local_Boot -KERNEL syslinux/chain.c32 -APPEND hd0 - - -LABEL OpenGnsys_Client -MENU LABEL OpenGnsys_Client -KERNEL ogclient/ogvmlinuz -APPEND initrd=ogclient/oginitrd.img ro boot=oginit vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=false ip=dhcp
\ No newline at end of file diff --git a/server/tftpboot/pxelinux.cfg/examples/callGRUBfromPXELINUX b/server/tftpboot/pxelinux.cfg/examples/callGRUBfromPXELINUX deleted file mode 100644 index e40294f9..00000000 --- a/server/tftpboot/pxelinux.cfg/examples/callGRUBfromPXELINUX +++ /dev/null @@ -1,61 +0,0 @@ -DEFAULT syslinux/vesamenu.c32 -PROMPT 0 - -MENU TITLE Aplicacion OpenGnsys -MENU BACKGROUND opengnsys.png - - - - -LABEL title Boot MBR of First Hard Disk -MENU LABEL title Boot MBR of First Hard Disk -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect; default 0; timeout 0; hiddenmenu; title MBR; chainloader (hd0)+1; rootnoverify (hd0); boot;" - - -title Boot Partition Boot Sector - First Hard Disk, First Partition -LABEL title Boot Partition Boot Sector - First Hard Disk, First Partition -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect; default 0; timeout 0; hiddenmenu; title PBS11; root (hd0,0); chainloader (hd0,0)+1; boot;" - -title Boot Partition Boot Sector - First Hard Disk, Second Partition -LABEL title Boot Partition Boot Sector - First Hard Disk, Second Partition -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect; default 0; timeout 0; hiddenmenu; title PBS11; root (hd0,1); chainloader (hd0,1)+1; boot;" - - -LABEL WindowsXP -MENU LABEL WindowsXP -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect; default 0; timeout 0; hiddenmenu; title windowsXP; fallback 1; find --set-root --ignore-floppies /ntldr; chainloader /ntldr; boot; title net; kernel (pd)/ogclient/ogvmlinuz ro boot=oginit vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=false IP=172.17.9.204:172.17.9.249:172.17.9.254:255.255.255.0:cte204:eth0:none repo=172.17.9.249; initrd (pd)/ogclient/oginitrd.img; boot" - -LABEL ogClientUser -MENU LABEL ogClientUser -KERNEL ogclient/ogvmlinuz -APPEND initrd=ogclient/oginitrd.img ro boot=oginit vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=true IP=172.17.9.204:172.17.9.249:172.17.9.254:255.255.255.0:cte204:eth0:none repo=172.17.9.249 - - - - -LABEL DetectaWindowsXP -MENU LABEL detectaWindowsXP -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect; default 0; timeout 0; hiddenmenu; title windowsXP; fallback 1; find --set-root --ignore-floppies /ogboot.me; chainloader /ntldr; boot; title net; kernel (pd)/ogclient/ogvmlinuz ro boot=oginit vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=true IP=172.17.9.204:172.17.9.249:172.17.9.254:255.255.255.0:cte204:eth0:none repo=172.17.9.249; initrd (pd)/ogclient/oginitrd.img; boot" - - -LABEL DetectaWindowsXP2 -MENU LABEL detectaWindowsXP2 -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect; default saved; timeout 10; fallback 1 2; title firsboot; find --set-root --ignore-floppies /ogboot.me; cmp /ogboot.me /ogfirstboot.me || ls FALLBACK; write /ogfirstboot.me iniciado ; chainloader /ntldr; savedefault fallback; boot; title secondboot; find --set-root --ignore-floppies /ogboot.me; cmp /ogboot.me /ogsecondboot.me || ls FALLBACK; write /ogsecondboot.me iniciado ; chainloader /ntldr; savedefault fallback; boot; title OpenGnsys-NET; kernel (pd)/ogclient/ogvmlinuz ro boot=oginit vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=true IP=172.17.9.204:172.17.9.249:172.17.9.254:255.255.255.0:cte204:eth0:none repo=172.17.9.249; initrd (pd)/ogclient/oginitrd.img; savedault; boot" - - - -LABEL IfNOTcacheGOnet -MENU LABEL IfNOTcacheGOnet -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect; default 0; timeout 0; hiddenmenu; title cache; fallback 1; find --set-root /ogvmlinuz; kernel /ogvmlinuz ip=dhcp ro boot=oginit vga=788 irqpoll acpi=on engine=testing ogrepo=172.17.36.11 ogprotocol=smb og2nd=sqfs; initrd /oginitrd; boot; title net; kernel (pd)/ogclient/vmlinuz-2.6.32-21-generic-pae ip=dhcp ro boot=oginit vga=788 irqpoll acpi=on engine=testing ogrepo=172.17.36.11 ogprotocol=nfs og2nd=sqfs; initrd (pd)/ogclient/initrd.img-2.6.32-21-generic-pae; boot" - -LABEL grub command line -MENU LABEL command line -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect;" diff --git a/server/tftpboot/pxelinux.cfg/examples/examplecallGrub b/server/tftpboot/pxelinux.cfg/examples/examplecallGrub deleted file mode 100644 index 2e888f98..00000000 --- a/server/tftpboot/pxelinux.cfg/examples/examplecallGrub +++ /dev/null @@ -1,29 +0,0 @@ -DEFAULT IfNOTcacheGOnet -#DEFAULT pxe-2.6.32-21-generic-pae - -#ejemplos para el parametro ip -#ip=ipCLIENTE:ipROOTserver:ipROUTER:NetMASK:hostNAME:[device] -#ip=172.17.36.2:172.17.36.11:172.17.36.254:255.255.255.0:r60 -#ip=dhcp - -LABEL cache -KERNEL grub.exe -APPEND --config-file="find --set-root /vmlinuz; kernel /vmlinuz ip=dhcp ro boot=oginit vga=788 irqpoll acpi=on engine=testing reposerver=172.17.32.242; initrd /initrd.img" - -LABEL net -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect; kernel (pd)/ogclient/vmlinuz-2.6.32-21-generic-pae ip=dhcp ro boot=oginit vga=788 irqpoll acpi=on engine=testing ogrepo=172.17.32.242; initrd (pd)/ogclient/initrd.img-2.6.32-21-generic-pae" - -LABEL IfNOTcacheGOnet -KERNEL grub.exe -APPEND keeppxe --config-file="pxe detect; default 0; timeout 0; hiddenmenu; title cache; fallback 1; find --set-root /ogvmlinuz; kernel /ogvmlinuz ip=dhcp ro boot=oginit vga=788 irqpoll acpi=on engine=testing ogrepo=172.17.36.11 ogprotocol=smb og2nd=sqfs; initrd /oginitrd; boot; title net; kernel (pd)/ogclient/vmlinuz-2.6.32-21-generic-pae ip=dhcp ro boot=oginit vga=788 irqpoll acpi=on engine=testing ogrepo=172.17.36.11 ogprotocol=nfs og2nd=sqfs; initrd (pd)/ogclient/initrd.img-2.6.32-21-generic-pae; boot" - - - -LABEL pxe-2.6.32-21-generic-pae -KERNEL ogclient/vmlinuz-2.6.32-21-generic-pae -APPEND initrd=ogclient/initrd.img-2.6.32-21-generic-pae ip=dhcp ro boot=og vga=788 irqpoll acpi=on reposerver=172.17.32.242 - -LABEL grub -KERNEL grub.exe -APPEND keeppxe
\ No newline at end of file |