Re: Garder mon home
Posté : ven. 31 oct. 2025 12:25
Dernier message de la page précédente :
ok pour ouvrir le fichier grub mais tu crois que je dois copié ton grub ; bizarre !
https://forum-francophone-linuxmint.fr/
https://forum-francophone-linuxmint.fr/viewtopic.php?t=24600
Dernier message de la page précédente :
ok pour ouvrir le fichier grub mais tu crois que je dois copié ton grub ; bizarre !Code : Tout sélectionner
GRUB_TIMEOUT_STYLE=menuCode : Tout sélectionner
onté
** (xed:43077): CRITICAL **: 16:42:18.621: xed_conversion_error_info_bar_get_encoding: assertion 'menu' failed
kiki@kiki:~$ sudo update-grub
[sudo] Mot de passe de kiki :
Generating grub configuration file ...
Le script « /boot/grub/grub.cfg.new » ne contient aucune commande et ne fera rien
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
kiki@kiki:~$ sudo update-grub
Generating grub configuration file ...
Le script « /boot/grub/grub.cfg.new » ne contient aucune commande et ne fera rien
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
kiki@kiki:~$
jai eu çà comme erreur après update-grub.
Code : Tout sélectionner
cat /etc/default/grubCode : Tout sélectionner
[kiki@kiki:~$ cat /etc/default/grub
# 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="Debian GNU/Linux"
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="`( . /etc/os-release && echo ${NAME} )`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
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"
GRUB_THEME="/media/grub-customizer_recovery_root_mountpoint/boot/grub/themes/linuxmint/theme.txt"
GRUB_SAVEDEFAULT="false"
/code]Code : Tout sélectionner
sudo sed -i 's/GRUB_DEFAULT="Debian GNU\/Linux"/GRUB_DEFAULT=0/' /etc/default/grub Code : Tout sélectionner
sudo update-grubJe viens de regarder sur les 2 debians que j'ai, c'est bien 0 sur les deux. Je n'ai jamais vu "Debian GNU/Linux" auparavant .Jennatux a écrit : sam. 1 nov. 2025 17:37 Ceux qui connaissent Debian ont peut-être déjà vu cela, moi jamais, normalement, c'est un chiffre, le dernier système installé est 0
ensuite les autres 1, 2, 3 etc...
Code : Tout sélectionner
kiki@kiki:~$ sudo sed -i 's/GRUB_DEFAULT="Debian GNU\/Linux"/GRUB_DEFAULT=0/' /etc/default/grub
[sudo] Mot de passe de kiki :
kiki@kiki:~$ sudo update-grub
Generating grub configuration file ...
Le script « /boot/grub/grub.cfg.new » ne contient aucune commande et ne fera rien
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
Code : Tout sélectionner
[kiki@kiki:~$ cat /etc/default/grub
# 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=10
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="`( . /etc/os-release && echo ${NAME} )`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
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"
GRUB_THEME="/media/grub-customizer_recovery_root_mountpoint/boot/grub/themes/linuxmint/theme.txt"
GRUB_SAVEDEFAULT="false"
kiki@kiki:~$
/code]