Buenas gente,
Querría saber si hay alguna forma de decirle a GRUB que al arrancar el sistema ejecute un script. El tema es que quiero dar varias opciones de arranque, y según la que el usuario elija, se le arranquen unas cosas u otras.
Sería algo así como:
title Linux - script 1
root (hd0,1)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
title Linux - script 2
root (hd0,1)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
title Linux - script 3
root (hd0,1)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
Todos las opciones tendrían los mismos parámetros de arranque, pero cada una ejecutaría un script diferente.
Gracias por adelantado y un saludo