adds menu.lst with templateCache
ogboot/pipeline/head This commit looks good
Details
ogboot/pipeline/head This commit looks good
Details
parent
09dc06a892
commit
5d6aea2e59
|
@ -0,0 +1,25 @@
|
||||||
|
##NO-TOCAR-ESTA-LINEA ogLive
|
||||||
|
set timeout=0
|
||||||
|
set timeout_style=hidden
|
||||||
|
|
||||||
|
echo ">>> Iniciando GRUB embebido"
|
||||||
|
|
||||||
|
set ISODIR=__OGLIVE__
|
||||||
|
echo ">>> ISODIR definido como: $ISODIR"
|
||||||
|
|
||||||
|
echo ">>> Buscando ogvmlinuz en particiones locales..."
|
||||||
|
search --file --set=root /boot/$ISODIR/ogvmlinuz
|
||||||
|
|
||||||
|
if [ -n "$root" ]; then
|
||||||
|
echo ">>> OgLive encontrado en CACHE en $root"
|
||||||
|
echo ">>> Cargando kernel..."
|
||||||
|
linux /boot/$ISODIR/ogvmlinuz __INFOHOST__
|
||||||
|
echo ">>> Cargando initrd..."
|
||||||
|
initrd /boot/$ISODIR/oginitrd.img
|
||||||
|
echo ">>> Ejecutando boot"
|
||||||
|
boot
|
||||||
|
else
|
||||||
|
echo ">>> ogvmlinuz no encontrado en CACHE."
|
||||||
|
echo ">>> Reintentando en red o abortando..."
|
||||||
|
reboot
|
||||||
|
fi
|
Loading…
Reference in New Issue