adds menu.lst with templateCache
ogboot/pipeline/head This commit looks good Details

main
Luis Gerardo Romero Garcia 2025-05-19 08:25:55 +02:00
parent 09dc06a892
commit 5d6aea2e59
1 changed files with 25 additions and 0 deletions

View File

@ -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