Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 04/01/2024, à 09:00

netchaiev

[Résolu] Disparition du Grub depuis 23.10

Bonjour à tous,

Depuis mon passage à la 23.10 depuis la 23.04, je n'ai accès au Grub lors du démarrage de l'ordinateur.
J'ai ajouté et modifié les deux lignes suivantes dans /etc/default/grub, comme le dit la doc mais rien n'y fait.

GRUB_DISABLE_OS_PROBER=false
GRUB_TERMINAL=console

pourtant le "truc" pour revoir grub en appuyant sur shift pendant le démarrage fonctionne... et je peux alors booter sur W10

Auriez vous une idée de quoi faire pour retrouver mon grub ?

Merci a tous et bonne journée

Dernière modification par netchaiev (Le 04/01/2024, à 11:37)


CM : MSI P55-GD65 ; 8 G° de Ram ; Processeur  : Intel I5 750
Carte son : intégrée à la CM. Du 7.1
Carte graphique : Geforce GT730
Ubuntu 23.10 64 bits

Hors ligne

#2 Le 04/01/2024, à 09:18

Watael

Re : [Résolu] Disparition du Grub depuis 23.10

salut,

tu pourrais aussi bien nous demander combien tu as de doigts en te mettant bien en face de l'écran et en gardant la main dans le dos. roll
big_smile

montre-nous tout ton /etc/default/grub, stp. wink


Connected \o/
Welcome to sHell. · eval is evil.

Hors ligne

#3 Le 04/01/2024, à 09:33

netchaiev

Re : [Résolu] Disparition du Grub depuis 23.10

Bonjour Watael,

Je pensais que les membres émérites de ce forum connaissaient mon ordinateur sur le bout des doigts ....... lol

Désolé, voici le fichier

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
# 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 bien évidemment mis à jour le grub via

sudo update-grub 

et redémarré mon PC

Dernière modification par netchaiev (Le 04/01/2024, à 09:36)


CM : MSI P55-GD65 ; 8 G° de Ram ; Processeur  : Intel I5 750
Carte son : intégrée à la CM. Du 7.1
Carte graphique : Geforce GT730
Ubuntu 23.10 64 bits

Hors ligne

#4 Le 04/01/2024, à 09:57

Watael

Re : [Résolu] Disparition du Grub depuis 23.10

qu'affiche

grep -i timeout /boot/grub/grub.cfg

?


Connected \o/
Welcome to sHell. · eval is evil.

Hors ligne

#5 Le 04/01/2024, à 10:00

netchaiev

Re : [Résolu] Disparition du Grub depuis 23.10

voici ce que cela affiche :

  set timeout=30
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
    set timeout=0

CM : MSI P55-GD65 ; 8 G° de Ram ; Processeur  : Intel I5 750
Carte son : intégrée à la CM. Du 7.1
Carte graphique : Geforce GT730
Ubuntu 23.10 64 bits

Hors ligne

#6 Le 04/01/2024, à 10:53

FrancisFDZ

Re : [Résolu] Disparition du Grub depuis 23.10

Bonjour, (et bonne année à tous)

netchaiev a écrit :

voici ce que cela affiche :

  set timeout=30
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
    set timeout=0

D'après la dernière ligne, le timeout est à 0


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#7 Le 04/01/2024, à 10:57

netchaiev

Re : [Résolu] Disparition du Grub depuis 23.10

BOnjour FrancisFDZ,

Le timeOut est à 30 de base, mais modifié lorsque je rendre dans la conditiion. Là OK mais que représente la variable :

x$feature_timeout_style = xy 

?


CM : MSI P55-GD65 ; 8 G° de Ram ; Processeur  : Intel I5 750
Carte son : intégrée à la CM. Du 7.1
Carte graphique : Geforce GT730
Ubuntu 23.10 64 bits

Hors ligne

#8 Le 04/01/2024, à 10:58

nany

Re : [Résolu] Disparition du Grub depuis 23.10

Bonjour et bonne année,



netchaiev a écrit :

Désolé, voici le fichier

Il manque le début. hmm


FrancisFDZ a écrit :

D'après la dernière ligne, le timeout est à 0

On ne peut pas être aussi affirmatif car la commande manque de contextualisation.

Dernière modification par nany (Le 04/01/2024, à 11:00)

Hors ligne

#9 Le 04/01/2024, à 11:09

netchaiev

Re : [Résolu] Disparition du Grub depuis 23.10

JE pense avoir trouvé dans la doc de GRUB2

Faut il que je change dans /etc/default/grub la ligne

GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10

en

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10

Avant de faire des modifs sur le grub, je préfère avoir votre avis....


CM : MSI P55-GD65 ; 8 G° de Ram ; Processeur  : Intel I5 750
Carte son : intégrée à la CM. Du 7.1
Carte graphique : Geforce GT730
Ubuntu 23.10 64 bits

Hors ligne

#10 Le 04/01/2024, à 11:12

netchaiev

Re : [Résolu] Disparition du Grub depuis 23.10

Bonjour Nany et bonne année à toi aussi,

Je vous mets mes deux fichiers en entier
/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_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
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
# 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"

et /boot/grub/grub.cfg

#
# 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 [ "${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=
   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 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$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
    insmod video_cirrus
  fi
}

terminal_input console
terminal_output console
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; 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 ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
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-95be8c56-6da2-4250-a450-480c51325f27' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  95be8c56-6da2-4250-a450-480c51325f27
	else
	  search --no-floppy --fs-uuid --set=root 95be8c56-6da2-4250-a450-480c51325f27
	fi
	linux	/boot/vmlinuz-6.5.0-14-generic root=UUID=95be8c56-6da2-4250-a450-480c51325f27 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-6.5.0-14-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-95be8c56-6da2-4250-a450-480c51325f27' {
	menuentry 'Ubuntu, with Linux 6.5.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-14-generic-advanced-95be8c56-6da2-4250-a450-480c51325f27' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  95be8c56-6da2-4250-a450-480c51325f27
		else
		  search --no-floppy --fs-uuid --set=root 95be8c56-6da2-4250-a450-480c51325f27
		fi
		echo	'Loading Linux 6.5.0-14-generic ...'
		linux	/boot/vmlinuz-6.5.0-14-generic root=UUID=95be8c56-6da2-4250-a450-480c51325f27 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.5.0-14-generic
	}
	menuentry 'Ubuntu, with Linux 6.5.0-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-14-generic-recovery-95be8c56-6da2-4250-a450-480c51325f27' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  95be8c56-6da2-4250-a450-480c51325f27
		else
		  search --no-floppy --fs-uuid --set=root 95be8c56-6da2-4250-a450-480c51325f27
		fi
		echo	'Loading Linux 6.5.0-14-generic ...'
		linux	/boot/vmlinuz-6.5.0-14-generic root=UUID=95be8c56-6da2-4250-a450-480c51325f27 ro single recovery nomodeset dis_ucode_ldr 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.5.0-14-generic
	}
	menuentry 'Ubuntu, with Linux 6.5.0-13-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-13-generic-advanced-95be8c56-6da2-4250-a450-480c51325f27' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  95be8c56-6da2-4250-a450-480c51325f27
		else
		  search --no-floppy --fs-uuid --set=root 95be8c56-6da2-4250-a450-480c51325f27
		fi
		echo	'Loading Linux 6.5.0-13-generic ...'
		linux	/boot/vmlinuz-6.5.0-13-generic root=UUID=95be8c56-6da2-4250-a450-480c51325f27 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.5.0-13-generic
	}
	menuentry 'Ubuntu, with Linux 6.5.0-13-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-13-generic-recovery-95be8c56-6da2-4250-a450-480c51325f27' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  95be8c56-6da2-4250-a450-480c51325f27
		else
		  search --no-floppy --fs-uuid --set=root 95be8c56-6da2-4250-a450-480c51325f27
		fi
		echo	'Loading Linux 6.5.0-13-generic ...'
		linux	/boot/vmlinuz-6.5.0-13-generic root=UUID=95be8c56-6da2-4250-a450-480c51325f27 ro single recovery nomodeset dis_ucode_ldr 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-6.5.0-13-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+ ###
menuentry "Memory test (memtest86+x64.bin)" --class memtest $menuentry_id_option 'memtest86+' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  95be8c56-6da2-4250-a450-480c51325f27
	else
	  search --no-floppy --fs-uuid --set=root 95be8c56-6da2-4250-a450-480c51325f27
	fi
        linux    /boot/memtest86+x64.bin
}
menuentry 'Memory test (memtest86+x64.bin, serial console)' --class memtest $menuentry_id_option 'memtest86+-serial' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  95be8c56-6da2-4250-a450-480c51325f27
	else
	  search --no-floppy --fs-uuid --set=root 95be8c56-6da2-4250-a450-480c51325f27
	fi
        linux    /boot/memtest86+x64.bin console=ttyS0,115200
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/25_bli ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-0428B5660E8A3E99' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  0428B5660E8A3E99
	else
	  search --no-floppy --fs-uuid --set=root 0428B5660E8A3E99
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
### 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 ###

CM : MSI P55-GD65 ; 8 G° de Ram ; Processeur  : Intel I5 750
Carte son : intégrée à la CM. Du 7.1
Carte graphique : Geforce GT730
Ubuntu 23.10 64 bits

Hors ligne

#11 Le 04/01/2024, à 11:15

FrancisFDZ

Re : [Résolu] Disparition du Grub depuis 23.10

  set timeout=30
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
    set timeout=0

Si j'ai bien compris la commande, le timeout devrait rester à 30 si la condition "x$feature_style = xy" est à "false", sinon il passe à 10 puis tout de suite après à 0. J'ai du mal à comprendre cette procédure.


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#12 Le 04/01/2024, à 11:20

nany

Re : [Résolu] Disparition du Grub depuis 23.10

netchaiev a écrit :

JE pense avoir trouvé dans la doc de GRUB2

Faut il que je change dans /etc/default/grub la ligne

GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10

en

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10

Avant de faire des modifs sur le grub, je préfère avoir votre avis....

Oui, tu peux le faire et aussi re-commenter la ligne « GRUB_TERMINAL=console ».

Hors ligne

#13 Le 04/01/2024, à 11:22

netchaiev

Re : [Résolu] Disparition du Grub depuis 23.10

je teste et je reviens vers vous pour vous dire le résultat


CM : MSI P55-GD65 ; 8 G° de Ram ; Processeur  : Intel I5 750
Carte son : intégrée à la CM. Du 7.1
Carte graphique : Geforce GT730
Ubuntu 23.10 64 bits

Hors ligne

#14 Le 04/01/2024, à 11:27

nany

Re : [Résolu] Disparition du Grub depuis 23.10

FrancisFDZ a écrit :
  set timeout=30
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
    set timeout=0

Si j'ai bien compris la commande, le timeout devrait rester à 30 si la condition "x$feature_style = xy" est à "false", sinon il passe à 10 puis tout de suite après à 0. J'ai du mal à comprendre cette procédure.

La séquence complète est :

if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; then
    set timeout=0
  fi
fi

Il faudrait éplucher /etc/grub.d/00_header pour bien comprendre le mécanisme.

Hors ligne

#15 Le 04/01/2024, à 11:28

netchaiev

Re : [Résolu] Disparition du Grub depuis 23.10

Bon je viens de faire les changements et j'ai redémarré mon ordi.

Le grub est bien revenu au démarrage.
Il fallait donc tout simplement modifier le paramètre  "GRUB_TIMEOUT_STYLE" et évidemment recommenter "GRUB_TERMINAL".

Je n'avais pas lu la bonne doc de grub.

Merci à tous pour votre aide.
Et bonne et joyeuse année.


CM : MSI P55-GD65 ; 8 G° de Ram ; Processeur  : Intel I5 750
Carte son : intégrée à la CM. Du 7.1
Carte graphique : Geforce GT730
Ubuntu 23.10 64 bits

Hors ligne