Il faut mettre 2 dans bookworm (ou 3 si Windows est en second et bullseye en troisième). 1 correspond à l’entrée de menu « options avancées pour bookworm ».
en fait ça n’a pas fonctionné, ça redémarre sur advanced option, donc je joins un copier coller du fichier, peut être plus simple.
NU nano 7.2 /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=1
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
root@debian12:~# nano /boot/grub/grub/.cfg ,ça me dit que le répertoire n’existe pas?