[l-ubuntu-ve] problemas con grub2
Juan Carlos Navarro
juancnh2009 en ubuntu.org.ve
Sab Oct 30 02:40:54 BST 2010
Es posible que esto te pueda ayudar:http://ubuntu-guia.blogspot.com/
coloca en buscar lo del grub y aver si te ayuda.
El vie, 29-10-2010 a las 12:22 -0430, betcald escribió:
> Estimados amigos, quisiera preguntarles algo, disclupen las molestias ante
> todo.
> Hace poco modifiqué un poco mi nuevo ubuntu maverick, le instale el grub2 y
> por error borré archivo (05_debian_theme), el cual sirve para modificar la
> Imagen del menú de arranque de linux, entre otras cosas.
> lo que hice fue buscar en la red y pude conseguir un contenido para este
> archivo pero de igual forma no logro cambiar la imagen del grub, utilicé el
> startupmanager pero solo tiene dos opciones y ninguna es la de cambiar la
> imagen. (no se por qué no funciona como antes), más abajo le enseño el
> contenido del archivo que conseguí.
>
> si alguno de ustedes ha trabajado con esto le agradezco la ayuda.
> le hice uno o dos arreglos como por ejemplo la linea donde indica el
> directorio donde buscar la imagen de inicio. solo eso.
>
>
>
> #!/bin/bash -e
>
> source /usr/lib/grub/grub-mkconfig_lib
>
> # this allows desktop-base to override our settings
> f=/usr/share/desktop-base/grub_background.sh
> if test -e ${f} ; then
> source ${f}
> else
> WALLPAPER="/usr/share/images/grub/morainelake.tga"
> COLOR_NORMAL="black/black"
> COLOR_HIGHLIGHT="magenta/black"
> fi
>
> set_blue_theme()
> {
> cat << EOF
> set menu_color_normal=cyan/blue
> set menu_color_highlight=white/blue
> EOF
> }
>
> # check for usable backgrounds
> use_bg=false
> if [ "$GRUB_TERMINAL_OUTPUT" = "gfxterm" ] ; then
> for i in /boot/grub,/usr/share/grub/images`basename ${WALLPAPER}`
> ${WALLPAPER} ; do
> if is_path_readable_by_grub $i ; then
> bg=$i
> case ${bg} in
> *.png) reader=png ;;
> *.tga) reader=tga ;;
> *.jpg|*.jpeg) reader=jpeg ;;
> esac
> if test -e /boot/grub/${reader}.mod ; then
> echo "Found background image: `basename ${bg}`" >&2
> use_bg=true
> break
> fi
> fi
> done
> fi
>
> # set the background if possible
> if ${use_bg} ; then
> prepare_grub_to_access_device `${grub_probe} --target=device ${bg}`
> cat << EOF
> insmod ${reader}
> if background_image `make_system_path_relative_to_its_root ${bg}` ; then
> set color_normal=${COLOR_NORMAL}
> set color_highlight=${COLOR_HIGHLIGHT}
> else
> EOF
> fi
>
> # otherwise, set the traditional Debian blue theme
> if ${use_bg} ; then
> set_blue_theme | sed -e "s/^/ /g"
> echo "fi"
> else
> set_blue_theme
> fi
>
>
>
>
Más información sobre la lista de distribución ubuntu-ve