Pages : 1
#1 Le 30/04/2026, à 21:07
- mickbef59
Grub apparaît a chaque démarrage
Bonjour, je suis nouveau sur Ubuntu. J’ai installé Ubuntu 26.04, mais je suis gêné par le menu GRUB qui s’affiche à chaque démarrage.
J’ai cherché un peu partout pour résoudre ce problème, mais sans succès. La seule chose que j’ai faite pendant l’installation, c’est de placer mon dossier home sur mon disque dur mécanique, puis d’ajouter une ligne dans GRUB pour que la mise en veille ne plante plus lors du réveil.
Hors ligne
#2 Le 01/05/2026, à 10:53
- Baltus

Re : Grub apparaît a chaque démarrage
Bonjour, regarde la doc https://doc.ubuntu-fr.org/grub-pc, en particulier le point 3.3 qui explique comment faire apparaître le menu, comme tu veux le faire disparaître, il te faut la ligne :
GRUB_TIMEOUT_STYLE=hiddenHors ligne
#3 Le 01/05/2026, à 11:36
- mickbef59
Re : Grub apparaît a chaque démarrage
Merci, mais apparemment cette ligne est déjà présente dans mon GRUB
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_TemporaryFilePath="/var/tmp" nvidia.NVreg_PreserveVideoMemoryAllocations=1"
GRUB_CMDLINE_LINUX=""Dernière modification par mickbef59 (Le 01/05/2026, à 11:55)
Hors ligne
#4 Le 01/05/2026, à 12:04
- nany

Re : Grub apparaît a chaque démarrage
Bonjour,
cette ligne et déjà présente
Alors donne les retours de :
sudo update-grubsudo cat /boot/grub/grub.cfgcat /boot/grub/grubenvHors ligne
#5 Le 01/05/2026, à 12:38
- geole
Re : Grub apparaît a chaque démarrage
Bonjour
Droles d’options
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_TemporaryFilePath="/var/tmp" nvidia.NVreg_PreserveVideoMemoryAllocations=1"Essaie avec moins de quotes.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_TemporaryFilePath=/var/tmp nvidia.NVreg_PreserveVideoMemoryAllocations=1"Dernière modification par geole (Le 01/05/2026, à 15:38)
Les écrans de l'installateur 26.04 https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#6 Le 01/05/2026, à 15:24
- mickbef59
Re : Grub apparaît a chaque démarrage
Bonjour,
mickbef59 a écrit :cette ligne et déjà présente
Alors donne les retours de :
sudo update-grubsudo cat /boot/grub/grub.cfgcat /boot/grub/grubenv
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/kdump-tools.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.0-15-generic
Found initrd image: /boot/initrd.img-7.0.0-15-generic
Found linux image: /boot/vmlinuz-7.0.0-14-generic
Found initrd image: /boot/initrd.img-7.0.0-14-generic
Found memtest86+ 64bit EFI image: /boot/mt86+x64
Found memtest86+ 32bit EFI image: /boot/mt86+ia32
Found memtest86+ 64bit image: /boot/mt86+x64
Found memtest86+ 32bit image: /boot/mt86+ia32
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.
Adding boot menu entry for UEFI Firmware Settings ...
done#
# 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 [ "${env_block}" ] ; then
set env_block="(${root})${env_block}"
export env_block
load_env -f "${env_block}"
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
if [ "${env_block}" ] ; then
save_env -f "${env_block}" next_entry
else
save_env next_entry
fi
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}"
if [ "${env_block}" ] ; then
save_env -f "${env_block}" saved_entry
else
save_env saved_entry
fi
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$grub_platform = xefi ]; then
insmod efi_gop
elif [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9b457fd6-7a35-4e01-8f92-bae462466fac' {
recordfail
load_video
set gfxpayload=$linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
linux /boot/vmlinuz-7.0.0-15-generic root=UUID=9b457fd6-7a35-4e01-8f92-bae462466fac ro quiet splash nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_TemporaryFilePath=/var/tmp nvidia.NVreg_PreserveVideoMemoryAllocations=1 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
initrd /boot/initrd.img-7.0.0-15-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-9b457fd6-7a35-4e01-8f92-bae462466fac' {
menuentry 'Ubuntu, with Linux 7.0.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-7.0.0-15-generic-advanced-9b457fd6-7a35-4e01-8f92-bae462466fac' {
recordfail
load_video
set gfxpayload=$linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
echo 'Loading Linux 7.0.0-15-generic ...'
linux /boot/vmlinuz-7.0.0-15-generic root=UUID=9b457fd6-7a35-4e01-8f92-bae462466fac ro quiet splash nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_TemporaryFilePath=/var/tmp nvidia.NVreg_PreserveVideoMemoryAllocations=1 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-7.0.0-15-generic
}
menuentry 'Ubuntu, with Linux 7.0.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-7.0.0-15-generic-recovery-9b457fd6-7a35-4e01-8f92-bae462466fac' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
echo 'Loading Linux 7.0.0-15-generic ...'
linux /boot/vmlinuz-7.0.0-15-generic root=UUID=9b457fd6-7a35-4e01-8f92-bae462466fac ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-7.0.0-15-generic
}
menuentry 'Ubuntu, with Linux 7.0.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-7.0.0-14-generic-advanced-9b457fd6-7a35-4e01-8f92-bae462466fac' {
recordfail
load_video
set gfxpayload=$linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
echo 'Loading Linux 7.0.0-14-generic ...'
linux /boot/vmlinuz-7.0.0-14-generic root=UUID=9b457fd6-7a35-4e01-8f92-bae462466fac ro quiet splash nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_TemporaryFilePath=/var/tmp nvidia.NVreg_PreserveVideoMemoryAllocations=1 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-7.0.0-14-generic
}
menuentry 'Ubuntu, with Linux 7.0.0-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-7.0.0-14-generic-recovery-9b457fd6-7a35-4e01-8f92-bae462466fac' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
echo 'Loading Linux 7.0.0-14-generic ...'
linux /boot/vmlinuz-7.0.0-14-generic root=UUID=9b457fd6-7a35-4e01-8f92-bae462466fac ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-7.0.0-14-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
if [ "$grub_platform" = efi -a "$grub_cpu" = x86_64 ]; then
menuentry "Memory test (mt86+x64)" --class memtest $menuentry_id_option "memtest86+" {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
linux /boot/mt86+x64
}
menuentry "Memory test (mt86+x64, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
linux /boot/mt86+x64 console=ttyS0,115200
}
fi
if [ "$grub_platform" = efi -a "$grub_cpu" = i386 ]; then
menuentry "Memory test (mt86+ia32)" --class memtest $menuentry_id_option "memtest86+" {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
linux /boot/mt86+ia32
}
menuentry "Memory test (mt86+ia32, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
linux /boot/mt86+ia32 console=ttyS0,115200
}
fi
if [ "$grub_platform" = pc ]; then if cpuid -l ; then
menuentry "Memory test (mt86+x64)" --class memtest $menuentry_id_option "memtest86+" {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
linux /boot/mt86+x64
}
menuentry "Memory test (mt86+x64, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
linux /boot/mt86+x64 console=ttyS0,115200
}
fi ; fi
if [ "$grub_platform" = pc ]; then if ! cpuid -l ; then
menuentry "Memory test (mt86+ia32)" --class memtest $menuentry_id_option "memtest86+" {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
linux /boot/mt86+ia32
}
menuentry "Memory test (mt86+ia32, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 9b457fd6-7a35-4e01-8f92-bae462466fac
else
search --no-floppy --fs-uuid --set=root 9b457fd6-7a35-4e01-8f92-bae462466fac
fi
linux /boot/mt86+ia32 console=ttyS0,115200
}
fi ; fi
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
fi
fi
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom #### GRUB Environment Block
# WARNING: Do not edit this file by tools other than grub-editenv!!!
recordfail=1Voilà
Dernière modification par mickbef59 (Le 01/05/2026, à 15:51)
Hors ligne
#7 Le 01/05/2026, à 15:49
- nany

Re : Grub apparaît a chaque démarrage
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.
Étrange qu’os-prober soit activé.
Donne le retour de :
grep "GRUB_DISABLE_OS_PROBER" /etc/default/grub
# GRUB Environment Block # WARNING: Do not edit this file by tools other than grub-editenv!!! recordfail=1
La présence de recordfail=1 induit l’affichage du menu pendant trente secondes.
Donne le retour de :
sudo grub-editenv -v - unset recordfailHors ligne
#8 Le 01/05/2026, à 17:04
- ylag
Re : Grub apparaît a chaque démarrage
Bonjour,
Une manière de contourner le délai généré par la variable recordfail pourrait être l'ajout de cette ligne au fichier /etc/default/grub :
GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT... ne pas oublier de faire ensuite :
sudo update-grubSans garantie, je n'ai jamais testé chez-moi ...
La configuration GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT dans le fichier /etc/default/grub force GRUB à utiliser le même délai d'attente (timeout) en cas d'échec de démarrage précédent qu'en temps normal.
Contexte (recordfail) : Par défaut, si Linux s'éteint incorrectement (coupure de courant, crash), GRUB considère que le démarrage précédent a échoué. Il entre alors en mode "recordfail" et affiche le menu pendant une longue période (souvent 30 secondes ou plus) pour vous permettre de choisir un mode de récupération, ignorant la valeur classique GRUB_TIMEOUT.
A+
Dernière modification par ylag (Le 01/05/2026, à 17:18)
Hors ligne
#9 Le 01/05/2026, à 18:37
- mickbef59
Re : Grub apparaît a chaque démarrage
mickbef59 a écrit :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.Étrange qu’os-prober soit activé.
Donne le retour de :grep "GRUB_DISABLE_OS_PROBER" /etc/default/grub
mickbef59 a écrit :# GRUB Environment Block # WARNING: Do not edit this file by tools other than grub-editenv!!! recordfail=1La présence de recordfail=1 induit l’affichage du menu pendant trente secondes.
Donne le retour de :sudo grub-editenv -v - unset recordfail
grep "GRUB_DISABLE_OS_PROBER" /etc/default/grub
GRUB_DISABLE_OS_PROBER=FALSEgrub-editenv : information : impossible d'ouvrir « /boot/grub/device.map » : Aucun fichier ou dossier de ce nom.
grub-editenv : information : /dev/sdb1 is not present.
grub-editenv : information : Looking for /dev/sdb1.
grub-editenv : information : /dev/sdb is a parent of /dev/sdb1.
grub-editenv : information : /dev/sdb1 starts from 2203648.
grub-editenv : information : opening the device hostdisk//dev/sdb.
grub-editenv : information : drive = 0.
grub-editenv : information : the size of hostdisk//dev/sdb is 488397168.
grub-editenv : information : drive = 0.
grub-editenv : information : the size of hostdisk//dev/sdb is 488397168.
grub-editenv : information : Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-editenv : information : scanning hostdisk//dev/sdb for LDM.
grub-editenv : information : no LDM signature found.
grub-editenv : information : Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-editenv : information : no LVM signature found.
grub-editenv : information : Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-editenv : information : scanning hostdisk//dev/sdb for LDM.
grub-editenv : information : no LDM signature found.
grub-editenv : information : Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-editenv : information : no LVM signature found.
grub-editenv : information : Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-editenv : information : scanning hostdisk//dev/sdb for LDM.
grub-editenv : information : no LDM signature found.
grub-editenv : information : Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-editenv : information : no LVM signature found.
grub-editenv : information : Partition 0 starts from 2203648.
grub-editenv : information : /dev/sdb1 is present.
grub-editenv : information : Looking for /dev/sdb1.
grub-editenv : information : /dev/sdb is a parent of /dev/sdb1.
grub-editenv : information : /dev/sdb1 starts from 2203648.
grub-editenv : information : opening the device hostdisk//dev/sdb.
grub-editenv : information : drive = 0.
grub-editenv : information : the size of hostdisk//dev/sdb is 488397168.
grub-editenv : information : drive = 0.
grub-editenv : information : the size of hostdisk//dev/sdb is 488397168.
grub-editenv : information : Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-editenv : information : scanning hostdisk//dev/sdb for LDM.
grub-editenv : information : no LDM signature found.
grub-editenv : information : Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-editenv : information : no LVM signature found.
grub-editenv : information : Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-editenv : information : scanning hostdisk//dev/sdb for LDM.
grub-editenv : information : no LDM signature found.
grub-editenv : information : Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-editenv : information : no LVM signature found.
grub-editenv : information : Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-editenv : information : scanning hostdisk//dev/sdb for LDM.
grub-editenv : information : no LDM signature found.
grub-editenv : information : Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-editenv : information : no LVM signature found.
grub-editenv : information : Partition 0 starts from 2203648.
grub-editenv : information : /dev/sdb1 is present.
grub-editenv : information : Looking for /dev/sdb1.
grub-editenv : information : /dev/sdb is a parent of /dev/sdb1.
grub-editenv : information : /dev/sdb1 starts from 2203648.
grub-editenv : information : opening the device hostdisk//dev/sdb.
grub-editenv : information : drive = 0.
grub-editenv : information : the size of hostdisk//dev/sdb is 488397168.
grub-editenv : information : drive = 0.
grub-editenv : information : the size of hostdisk//dev/sdb is 488397168.
grub-editenv : information : Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-editenv : information : scanning hostdisk//dev/sdb for LDM.
grub-editenv : information : no LDM signature found.
grub-editenv : information : Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-editenv : information : no LVM signature found.
grub-editenv : information : Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-editenv : information : scanning hostdisk//dev/sdb for LDM.
grub-editenv : information : no LDM signature found.
grub-editenv : information : Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-editenv : information : no LVM signature found.
grub-editenv : information : Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid1x devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09 devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for mdraid09_be devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for dmraid_nv devices on disk hostdisk//dev/sdb.
grub-editenv : information : Scanning for ldm devices on disk hostdisk//dev/sdb.
grub-editenv : information : scanning hostdisk//dev/sdb for LDM.
grub-editenv : information : no LDM signature found.
grub-editenv : information : Scanning for lvm devices on disk hostdisk//dev/sdb.
grub-editenv : information : no LVM signature found.
grub-editenv : information : Partition 0 starts from 2203648.
grub-editenv : information : drive = 0.
grub-editenv : information : the size of hostdisk//dev/sdb is 488397168.Hors ligne
#10 Le 01/05/2026, à 19:19
- mickbef59
Re : Grub apparaît a chaque démarrage
Bonjour,
Une manière de contourner le délai généré par la variable recordfail pourrait être l'ajout de cette ligne au fichier /etc/default/grub :
GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT... ne pas oublier de faire ensuite :
sudo update-grubSans garantie, je n'ai jamais testé chez-moi ...
Une IA a écrit :La configuration GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT dans le fichier /etc/default/grub force GRUB à utiliser le même délai d'attente (timeout) en cas d'échec de démarrage précédent qu'en temps normal.
Contexte (recordfail) : Par défaut, si Linux s'éteint incorrectement (coupure de courant, crash), GRUB considère que le démarrage précédent a échoué. Il entre alors en mode "recordfail" et affiche le menu pendant une longue période (souvent 30 secondes ou plus) pour vous permettre de choisir un mode de récupération, ignorant la valeur classique GRUB_TIMEOUT.A+
alors la ligne a l'air de fonctionne mais j’attends de voir le retour de nany pour voir probers os il vient de ou pourquoi sachant que je n'ai pas de dual boot
Hors ligne
#11 Le 01/05/2026, à 19:44
- nany

Re : Grub apparaît a chaque démarrage
j’attends de voir le retour de nany
Me revoilà.
Pour os-prober, je ne sais pas pourquoi il est activé mais donne le retour de :
sudo sed -i 's/^GRUB_DISABLE_OS_PROBER/#GRUB_DISABLE_OS_PROBER/' /etc/default/grub && cat /etc/default/grub
Pour la deuxième commande, je ne m’attendais pas à autant de littérature mais je viens de vérifier sur une 26.04 et c’est normal.
Pour vérifier, redonne tout de même le retour de :
cat /boot/grub/grubenvHors ligne
#12 Le 01/05/2026, à 19:59
- mickbef59
Re : Grub apparaît a chaque démarrage
mickbef59 a écrit :j’attends de voir le retour de nany
Me revoilà.
Pour os-prober, je ne sais pas pourquoi il est activé mais donne le retour de :
sudo sed -i 's/^GRUB_DISABLE_OS_PROBER/#GRUB_DISABLE_OS_PROBER/' /etc/default/grub && cat /etc/default/grub
Pour la deuxième commande, je ne m’attendais pas à autant de littérature mais je viens de vérifier sur une 26.04 et c’est normal.
Pour vérifier, redonne tout de même le retour de :cat /boot/grub/grubenv
# If you change this file or any /etc/default/grub.d/*.cfg file,
# run 'update-grub' afterwards to update /boot/grub/grub.cfg.
# For full documentation of the options in these files, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT
GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_TemporaryFilePath="/var/tmp" nvidia.NVreg_PreserveVideoMemoryAllocations=1"
GRUB_CMDLINE_LINUX=""
# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#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_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE/GOP/UGA
# you can see them in real GRUB with the command `videoinfo'
#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"# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
root@befumo-MS-7C51:/home/mick# cat /boot/grub/grubenv
# GRUB Environment Block
# WARNING: Do not edit this file by tools other than grub-editenv!!!
##################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################root@befumo-MS-7C51:/home/mick# Dernière modification par mickbef59 (Le 01/05/2026, à 20:09)
Hors ligne
#13 Le 01/05/2026, à 20:01
- xubu1957

Re : Grub apparaît a chaque démarrage
Bonsoir,
Détail pratique :
(...)
3.. Les abus de formatage (citations plus longues que le message y répondant ; ...) sont cependant à éviter.
(...)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [ Résolu ] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#14 Le 01/05/2026, à 20:02
- nany

Re : Grub apparaît a chaque démarrage
Impeccable. Redonne maintenant le retour de :
sudo update-grubHors ligne
#15 Le 01/05/2026, à 20:14
- mickbef59
Re : Grub apparaît a chaque démarrage
voila si il sert a rien dans mon cas on le retire du grub non ? pour désactiver
merci en tout cas
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/kdump-tools.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.0-15-generic
Found initrd image: /boot/initrd.img-7.0.0-15-generic
Found linux image: /boot/vmlinuz-7.0.0-14-generic
Found initrd image: /boot/initrd.img-7.0.0-14-generic
Found memtest86+ 64bit EFI image: /boot/mt86+x64
Found memtest86+ 32bit EFI image: /boot/mt86+ia32
Found memtest86+ 64bit image: /boot/mt86+x64
Found memtest86+ 32bit image: /boot/mt86+ia32
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 ...
doneHors ligne
#16 Le 01/05/2026, à 20:22
- nany

Re : Grub apparaît a chaque démarrage
si il sert a rien dans mon cas on le retire du grub non ? pour désactiver
C’est bon, la mise en commentaire l’a désactivé.
Redémarre pour vérifier que le menu de GRUB ne s’affiche plus. A priori ça devrait être le cas.
Hors ligne
#17 Le 01/05/2026, à 20:32
- mickbef59
Re : Grub apparaît a chaque démarrage
oui c'est le cas merci a tous bon week-end
Hors ligne
#18 Le 01/05/2026, à 20:37
- nany

Re : Grub apparaît a chaque démarrage
Bon week-end à toi aussi. ![]()
Hors ligne
Pages : 1