summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authoradv <adv@uma.es>2011-05-20 12:47:05 +0000
committeradv <adv@uma.es>2011-05-20 12:47:05 +0000
commitd712f58cb0285bfb22a02ed511b3e813c43b74ab (patch)
tree98b8db7fd7152cb68c6e4c3c782c88d7fb5c6610 /server
parentf84f649f06f183f8261b08cf1b8a7a51980a5ce1 (diff)
version.1.0-tickets solución grub varios ticket #16 #65 #134 #135 #147
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2004 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server')
-rw-r--r--server/tftpboot/NetbootPXE.es.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/server/tftpboot/NetbootPXE.es.txt b/server/tftpboot/NetbootPXE.es.txt
index fa928fa3..0eaba0fc 100644
--- a/server/tftpboot/NetbootPXE.es.txt
+++ b/server/tftpboot/NetbootPXE.es.txt
@@ -16,7 +16,23 @@ Activar el grldr del grub4dos
cp /opt/opengnsys/www/principal/boot.php /opt/opengnsys/www/principal/boot.pxelinux.php
cp /opt/opengnsys/www/principal/boot.grub4dos.php /opt/opengnsys/www/principal/boot.php
-
+4)
+En la funcion ogBoot, de la libreria Boot.lib descomentar los comentarios del if de las líneas 71 a 85, para que quede
+ #FIXME: activar seguimiento inicio sesion XP con grub4dos
+ if `ogGetOsVersion 1 1 | grep "XP" > /dev/null`
+ then
+ dd if=/dev/zero of=${MNTDIR}/ogboot.me bs=1024 count=3
+ dd if=/dev/zero of=${MNTDIR}/ogboot.firstboot bs=1024 count=3
+ dd if=/dev/zero of=${MNTDIR}/ogboot.secondboot bs=1024 count=3
+ ogLoadHiveWindows $1 $2
+ ogHiveNTRunMachine "cmd /c del c:\ogboot.* " ogcleanboot
+ ogUpdateHiveWindows
+ reboot
+ else
+ cp $OGLIB/grub4dos/* $MNTDIR # */ (Comentario Doxygen)
+ ##kexec -l $MNTDIR/grub.exe --append=--config-file="find --set-root /$LOADER; chainloader /$LOADER; tpm --init"
+ kexec -l $MNTDIR/grub.exe --append=--config-file="root (hd$[$1-1],$[$2-1]); chainloader (hd$[$1-1],$[$2-1])/$LOADER; tpm --init"
+ fi
\ No newline at end of file