[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB no inicia sistema antiguo (era: debian 11 kde primer arranque)




On 13/4/21 02:53, Camaleón wrote:
El 2021-04-12 a las 19:55 -0300, Marcelo Giordano escribió:

On 12/4/21 17:21, Camaleón wrote:
Ahora si que estoy en un problema grave. Les cuento.
Ingresé a debian 11 con ctrl Alt f2 y ejecuté startx. Una vez allí
agregue
los repositorios nonfree, actualice y el problema se solucionó. El
problema
fue cuando quise entrar nuevamente a mi partición con mi viejo debian
10....... ahora ya no arranca. Cuando arranco esa partición me arranca el
debian 11 y no el debian 10
(...)

No es tan grave, tranquilo. Seguramente GRUB no haya detectado
correctamente las particiones y tendrás que ajustarlo manualmente.

Para comprobar que el sistema antterior arranca sin problemas,
descarga SuperGrub2Disk¹ (versión estable) e inicia el equipo desde ahí.
Selecciona el sistema que quieres arrancar y prueba a ver si lo carga
bien. Si te lías con esta aplicación, nos dices y te podemos ir
guiando, aunque tienes mucha documentación de su uso y opciones en
Internet.

Si funciona correctamente, sólo tendrás que aanotar manualmente los
datos que usa para arrancar y pasarlos a tu sistema.

¹https://www.supergrubdisk.org/super-grub2-disk/
Me bajé el iso y arranca el Rescatux, imagino que estamos hablando de lo
mismo.
Hum... SuperGRUB2Disk es esta imagen:

https://www.supergrubdisk.org/category/download/supergrub2diskdownload/super-grub2-disk-stable/

y me deja mas dudas que antes, ninguna de las opciones me arranca.
Me da estas opciones.
Live system (autodetect)
Live systema 4.19.0.8-686
Live systema 4.19.0.8-amd64
Prueba con la imagen de SuperGRUB2Disk, a ver qué opciones de arranque
te detecta.

yo presiento que eso es del usb y no de mi disco.
Gracias
¿Tienes algún disco USB de arranque instalado o alguna llave USB
conectada al equipo? No debería afectar a GRUB2.
Algun error he cometido. Efectivamente pude hacer funcionar supergrub2 y me
dice lo mismo que el grub en el disco y cuando le doy a Debian 10, se me
habre debian 11, yo quiero arrancar desde sda2 y no puedo, cuando voy a
gparted me doy cuenta que el sistema se ha montado en otras particiones (o
sea, las particiones que le puse en debian 11).
Qué raro :-?

Inicia Debian 11 normalmente y manda a la lista o sube a algún sitio
tipo pastebin (p. ej., «https://paste.debian.net/»;), el contenido del
archivo de configuracuón de GRUB2 que tienes  en «/boot/grub/grub.cfg».

Recuerda que también puedes intentar iniciar tu Debian 10 desde la
línea de órdenes de GRUB2. Es un método un poco engorroso porque tendrás
que ir probando opciones pero funciona bien:

How to Rescue a Non-booting GRUB 2 on Linux
https://www.linux.com/training-tutorials/how-rescue-non-booting-grub-2-linux/

Saludos,

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga

    insmod video_bochs

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs



Reply to: