logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 31-10-2022 12:46:27

mmarc
Membre
Inscription : 31-10-2022

Grub, Windows disparu [ Résolu ]

Bonjour,

En démarrant le PC ce matin, je remarque que Windows n'est plus dans la liste du menu Grub.

J'ai tenté la commande update-grub; sans résultat.


marc@sagittarius:~$ su -
Mot de passe :
root@sagittarius:~# os-prober
/dev/sdc1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
root@sagittarius:~# update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.0.0-2-amd64
Found initrd image: /boot/initrd.img-6.0.0-2-amd64
Found linux image: /boot/vmlinuz-5.17.0-1-amd64
Found initrd image: /boot/initrd.img-5.17.0-1-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
root@sagittarius:~#
 



Merci de votre aide

Dernière modification par mmarc (31-10-2022 15:37:28)

Hors ligne

#2 31-10-2022 13:09:33

vv222
Administrateur
Lieu : Bretagne
Distrib. : Debian Sid
(G)UI : sway
Inscription : 18-11-2013
Site Web

Re : Grub, Windows disparu [ Résolu ]

Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.



Tu peux modifier ce comportement en décommentant la ligne suivante de /etc/default/grub :

# Uncomment this to run os-prober to search for and add other OS
# installations to the grub boot menu
GRUB_DISABLE_OS_PROBER=false


Jouer sous Debian ? Facile !

Ceterum censeo Barum esse delendam

En ligne

#3 31-10-2022 13:18:50

mmarc
Membre
Inscription : 31-10-2022

Re : Grub, Windows disparu [ Résolu ]


root@sagittarius:~# nano /etc/default/grub

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Uncomment this to run os-prober to search for and add other OS
# installations to the grub boot menu
GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=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 `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

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

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



J'ai effectué le CTRL+O puis CTRL+W


root@sagittarius:~# update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.0.0-2-amd64
Found initrd image: /boot/initrd.img-6.0.0-2-amd64
Found linux image: /boot/vmlinuz-5.17.0-1-amd64
Found initrd image: /boot/initrd.img-5.17.0-1-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sdc1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
root@sagittarius:~#
 



roll

Je redémarre la machine et je dis quoi.

Hors ligne

#4 31-10-2022 13:24:01

mmarc
Membre
Inscription : 31-10-2022

Re : Grub, Windows disparu [ Résolu ]

Au top de chez top.
Grub à retrouvé Windows, et le tout est fonctionnel.

smile

Merci @ vv222

Hors ligne

#5 31-10-2022 13:26:50

mmarc
Membre
Inscription : 31-10-2022

Re : Grub, Windows disparu [ Résolu ]

Faut-il clôturer le post ? Et comment procéder ?

Hors ligne

#6 31-10-2022 14:16:41

Le PoissonClown
Membre
Distrib. : Linux Mint 20.3 (Una)
Noyau : Linux 5.4.0-91-generic
(G)UI : Cinnamon
Inscription : 12-03-2022

Re : Grub, Windows disparu [ Résolu ]

Bonjour,

mmarc a écrit :

Faut-il clôturer le post ? Et comment procéder ?


Il faut éditer le premier message, et ajouter [Résolu] au début du titre.

Hors ligne

#7 31-10-2022 15:39:04

mmarc
Membre
Inscription : 31-10-2022

Re : Grub, Windows disparu [ Résolu ]

Il faut éditer le premier message, et ajouter [Résolu] au début du titre.



yes.gif

Hors ligne

Pied de page des forums