Grub no reconoce mi partición Windows tras instalar linux-lqx 5.11.x

Hola a todos!

Tras probar-instalar un kernel (linux-lqx 5.11) noté que mi partición de Windows 10 desapareció de la lista, vaya de hecho entró directo al kernel antes citado, como trabajo con ámbas particiones intenté recuperar todo, incluso la pantalla de inicio de Grub, desinstalé y reinstalé el kernel anterior (linux511) y siguen sin aparecer tanto la pantalla de Grub como la opción que me permite arrancar de cualquier otra opción, incluyendo desde luego la que deseo recuperar (Windows 10), acá un listado del comando sudo upgrade-grub:
Generando un fichero de configuración de grub…

Encontrado tema: /usr/share/grub/themes/manjaro/theme.txt
Encontrada imagen de linux: /boot/vmlinuz-5.11-x86_64
Encontrada imagen de memoria inicial: /boot/intel-ucode.img /boot/initramfs-5.11-x86_64.img
Found initrd fallback image: /boot/initramfs-5.11-x86_64-fallback.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
hecho

De fdisk:
/dev/sda1  *            2048     104447     102400    50M  7 HPFS/NTFS/exFAT
/dev/sda2             104448  203748844  203644397  97.1G  7 HPFS/NTFS/exFAT
/dev/sda3          203749376  204797951    1048576   512M 27 NTFS de WinRE oculta
/dev/sda4          204800000 1953521663 1748721664 833.9G  f W95 Ext'd (LBA)
/dev/sda5          204802048 1797689343 1592887296 759.5G  7 HPFS/NTFS/exFAT
/dev/sda6         1797691392 1936955391  139264000  66.4G 83 Linux
/dev/sda7         1936957440 1953521663   16564224   7.9G 82 Linux swap / Solaris

De os-prober:

/dev/sda1:Windows 10:Windows:chain

Como notarán no utilizo uefi sino mbr con particiones extendidas. Mil disculpas por extenderme agradecido por cualquier comentario, sugerencia ó indicación.

1 Like

No se , prueba a hacer update-grub desde la 5.11 o instala la 5.4 y prueba desde esta a hacer el update-grub, haber si hay suerte.

Me puede parece que usas o has usado grub-customizer. De tu update-grub falta la parte de os-prober (que grub-customizer suele deshabilitar). Esa parte es la que añade Windows a tu grub

Buscando opciones desinstalé, reinstalé grub, os-probe, antes via gui y consola desinstalé y reistalé kernels (linux-511, 510) y desesperé asi que terminé apenas instalando grub-customizer el cual procedo a desinstalar porque tampoco funcionó sólo apareció el wallpaper que desde alli seleccioné, sigue sin cargar menú ni reconocer la partición de windows, intentaré reinstalarlo desde mi usb tal como si fuese lo opuesto, ó sea cuando desde windows pierdes el grub y lo recuperas reinstalándolo desde el usb booteable de manjaro -debo repasar procedimiento ya que hace tiempo que no lo hago y no soy usuario experimentado- gracias!

Si ya lo hice desde la consola y via gui, ocurre igual sigue entrando directo mi último kernel el del linux511 =(

Manjaro ha dejado de soportar grub-customizer ya que no es compatible con él.

Es posible recuperar la configuración original:

# Desinstalar grub-customizer si no se había desinstalado antes
sudo pacman -Rcns grub-customizer

# Borrar todas las configuraciones de grub:
sudo rm /etc/default/grub
sudo rm /etc/grub.d/*

# Reinstalar grub
sudo pacman -S grub

# Volver a crear la configuración de grub
sudo update-grub

Esto evidentemente eliminará cualquier personalización que tengas hecha al grub, pero deberías recuperar Windows

os-prober has been disabled in the latest unstable branch grub update (2.04-18). To reenable it, uncomment the GRUB_DISABLE_OS_PROBER=false line in /etc/default/grub. Then run sudo update-grub.

Hecho, incluso desinstalé os-prober e instalé la versión más reciente de éste desde aur, utilicé sudo update-grub y sudo grub-mkconfig -o /boot/grub/grub.cfg sin que me detecte la partición de windows, lo que si pude lograr es que ya aparezca al menos el menú de grub en el inicio del boot.

Acá el os-prober:

sudo os-prober
[sudo] password for connected:
/dev/sda1:Windows 10:Windows:chain

Done, but without results, even I made an update from aur repo for the last os-probe version and it doesn’t show my win partition on sudo update-grub or sudo grub-mkconfig -o /boot/grub/grub.cfg.

Perhaps shoud I missin’ something on the /etc/default/grub file?

GRUB_DEFAULT=saved
GRUB_TIMEOUT=7
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter 
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" 
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper 
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true

#GRUB_DISABLE_OS_PROBER=false line

Any hint will be appreciated, thanks!

Edita el comentario y pon el texto entre estas marcas: ```

Así:
```
Texto de prueba
```

Para que se vea así:

Texto de prueba
1 Like

Por estar seguros. Muestra el contenido del directorio /etc/grub.d:

ls -al /etc/grub.d

En ese directorio están los scripts que se ejecutan para crear el fichero de configuración de arranque de grub /boot/grub/grub.cfg

1 Like

You need

GRUB_DISABLE_OS_PROBER=false

. No #, no line.

1 Like

Removing the line will be like this:

Eso no tiene sentido. Muestra cómo has dejado el archivo después de modificarlo.

1 Like

Aqui el /etc/default/grub:

GRUB_DEFAULT=saved
GRUB_TIMEOUT=7
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet udev.log_priority=3"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter 
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" 
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper 
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO=true

GRUB_DISABLE_OS_PROBER=false line

Tienes que quitar la palabra line.

La línea tiene que quedar de esta manera:

GRUB_DISABLE_OS_PROBER=false

Y nada más.

De todas formas. ¿Usas la rama unstable?

PD: vuelve a hacer lo de las marcas ```

1 Like

Parece que al colárseme esa “line” era lo que faltaba para solucionar el problema:
‘’’
sudo grub-mkconfig -o /boot/grub/grub.cfg
Generando un fichero de configuración de grub…
Encontrado tema: /usr/share/grub/themes/manjaro/theme.txt
Encontrada imagen de linux: /boot/vmlinuz-5.11-x86_64
Encontrada imagen de memoria inicial: /boot/intel-ucode.img /boot/initramfs-5.11-x86_64.img
Found initrd fallback image: /boot/initramfs-5.11-x86_64-fallback.img
Aviso: os-prober was executed to detect other bootable partitions.
It’s output will be used to detect bootable binaries on them and create new boot entries.
Encontrado Windows 10 en /dev/sda1
hecho
‘’’
Te lo confirmo en unos minutos, doy reboot!

¿Usas la rama unstable? Porque la rama estable no necesita esa línea (todavía)

1 Like

Si, me pasé a la unstable porque quería probar la nueva versión de KDE plasma y no salía todavía ni en la testing en dias pasados, aparte me actualiza Opera y otros programas que ocupo más rápido que estando en testing, problema resuelto, navego ya en la partición de win10 -la cual por razones de trabajo debo mantener- te agradezco infinitamente la paciencia y el tiempo invertidos me ahorraste varias horas con tu ayuda y seguimiento del caso, un cordial saludo! :relaxed: