918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Line | |
---|
1 | |
---|
2 | |
---|
3 | OpenGnsys usa como gestor pxe, el binario pxelinux.0 |
---|
4 | |
---|
5 | |
---|
6 | También ofrece la posibilidad de usar el bianrio grldr que se está evaluando para solucionar algunas incidencias. |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | Activar el grldr del grub4dos |
---|
11 | 1) modificar el dhcp, donde aparezca filename "pxelinux.0" por "grldr" |
---|
12 | filename "grldr"; |
---|
13 | 2) Reiniciamos el servicio dhcp |
---|
14 | /etc/init.d/dhcpd restart |
---|
15 | 3) Renombrar cambiar el gestor de arranque de la web, para que use grldr. |
---|
16 | cp /opt/opengnsys/www/principal/boot.php /opt/opengnsys/www/principal/boot.pxelinux.php |
---|
17 | cp /opt/opengnsys/www/principal/boot.grub4dos.php /opt/opengnsys/www/principal/boot.php |
---|
18 | |
---|
19 | cp /opt/opengnsys/www/gestores/gestor_pxe.php /opt/opengnsys/www/gestores/gestor_pxe.pxelinux.php |
---|
20 | cp /opt/opengnsys/www/gestores/gestor_pxe_grub4dos.php /opt/opengnsys/www/gestores/gestor_pxe.php |
---|
21 | |
---|
22 | 4) |
---|
23 | En la funcion ogBoot, de la libreria Boot.lib descomentar los comentarios del if de las líneas 71 a 85, para que quede |
---|
24 | #FIXME: activar seguimiento inicio sesion XP con grub4dos |
---|
25 | if `ogGetOsVersion $1 $2 | grep "Windows" > /dev/null` |
---|
26 | then |
---|
27 | dd if=/dev/zero of=${MNTDIR}/ogboot.me bs=1024 count=3 |
---|
28 | dd if=/dev/zero of=${MNTDIR}/ogboot.firstboot bs=1024 count=3 |
---|
29 | dd if=/dev/zero of=${MNTDIR}/ogboot.secondboot bs=1024 count=3 |
---|
30 | ogLoadHiveWindows $1 $2 |
---|
31 | ogHiveNTRunMachine "cmd /c del c:\ogboot.* " ogcleanboot |
---|
32 | ogUpdateHiveWindows |
---|
33 | reboot |
---|
34 | else |
---|
35 | cp $OGLIB/grub4dos/* $MNTDIR # */ (Comentario Doxygen) |
---|
36 | ##kexec -l $MNTDIR/grub.exe --append=--config-file="find --set-root /$LOADER; chainloader /$LOADER; tpm --init" |
---|
37 | kexec -l $MNTDIR/grub.exe --append=--config-file="root (hd$[$1-1],$[$2-1]); chainloader (hd$[$1-1],$[$2-1])/$LOADER; tpm --init" |
---|
38 | fi |
---|
39 | |
---|
40 | |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.