Résolu le 3-11-25 Garder mon home

Postez ici toutes vos demandes d’assistance générale concernant le fonctionnement de Linux Mint, qui n'entrent pas dans les autres rubriques.
nabi3003l
Messages : 101
Enregistré le : mar. 6 févr. 2018 19:53

Re: Garder mon home

Message par nabi3003l »

Dernier message de la page précédente :

ok pour ouvrir le fichier grub mais tu crois que je dois copié ton grub ; bizarre ! :cry:
Nabilux
Distrib : Linux Mint 22 Desktop : X-Cinnamon
Kernel : 6.8.0-38-generic CPU : Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz RAM : 15Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev cf)
Avatar du membre
Jennatux
Messages : 3191
Enregistré le : mer. 1 nov. 2017 01:59

Re: Garder mon home

Message par Jennatux »

Non tu ne copies que la ligne

Code : Tout sélectionner

GRUB_TIMEOUT_STYLE=menu
Je t'ai mis le mien juste pour te guider

Quand tu modifies un fichier et que tu as peur de faire une bêtise, tu sauvegardes ce fichier avant par un simple copier-coller
Fujitsu : Ubuntu 26.04 - Xubuntu 26.04 - Ubuntu Cosmic 24.04
Clevo : Ubuntu 26.04 _Xubuntu et Lubuntu 26.04 - Linux Mint 22.3 Cinnamon et xfce

Avec partition data ..................... Partition data en Multiboot EFI

Une fraction de seconde
nabi3003l
Messages : 101
Enregistré le : mar. 6 févr. 2018 19:53

Re: Garder mon home

Message par nabi3003l »

Code : 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.
Nabilux
Distrib : Linux Mint 22 Desktop : X-Cinnamon
Kernel : 6.8.0-38-generic CPU : Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz RAM : 15Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev cf)
Avatar du membre
Jennatux
Messages : 3191
Enregistré le : mer. 1 nov. 2017 01:59

Re: Garder mon home

Message par Jennatux »

Donne le retour de

Code : Tout sélectionner

cat /etc/default/grub
je n'ai jamais vu ça non plus GRUB_DEFAULT="Debian GNU/Linux" normalement c'est GRUB_DEFAULT=0
Fujitsu : Ubuntu 26.04 - Xubuntu 26.04 - Ubuntu Cosmic 24.04
Clevo : Ubuntu 26.04 _Xubuntu et Lubuntu 26.04 - Linux Mint 22.3 Cinnamon et xfce

Avec partition data ..................... Partition data en Multiboot EFI

Une fraction de seconde
nabi3003l
Messages : 101
Enregistré le : mar. 6 févr. 2018 19:53

Re: Garder mon home

Message par nabi3003l »

bonjour.

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="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]
Nabilux
Distrib : Linux Mint 22 Desktop : X-Cinnamon
Kernel : 6.8.0-38-generic CPU : Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz RAM : 15Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev cf)
Avatar du membre
Jennatux
Messages : 3191
Enregistré le : mer. 1 nov. 2017 01:59

Re: Garder mon home

Message par Jennatux »

Essaie peut-être de mettre GRUB_DEFAULT=0 à la place de GRUB_DEFAULT="Debian GNU/Linux"

Avec la commande

Code : Tout sélectionner

sudo sed -i 's/GRUB_DEFAULT="Debian GNU\/Linux"/GRUB_DEFAULT=0/' /etc/default/grub   
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...

Dans ce fichier, je ne vois que ça qui m'interpelle

Apres modification il faut repasser la commande

Code : Tout sélectionner

sudo update-grub
Modifié en dernier par Jennatux le sam. 1 nov. 2025 21:08, modifié 3 fois.
Fujitsu : Ubuntu 26.04 - Xubuntu 26.04 - Ubuntu Cosmic 24.04
Clevo : Ubuntu 26.04 _Xubuntu et Lubuntu 26.04 - Linux Mint 22.3 Cinnamon et xfce

Avec partition data ..................... Partition data en Multiboot EFI

Une fraction de seconde
Avatar du membre
alain
Administrateur du site
Messages : 17286
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: Garder mon home

Message par alain »

Salut Jennatux
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...
Je 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 .
Слава Україні _ слава героям махновщини
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: GTX 1080TI-11 Go | OS : LM 22 Xfce 4.18 | K: 6.8
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 22 Wilma Xfce 4.18| K: 6.8
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 12.8 | K: 6.1
In a world without walls and fences, who needs windows and gates?
Avatar du membre
Jennatux
Messages : 3191
Enregistré le : mer. 1 nov. 2017 01:59

Re: Garder mon home

Message par Jennatux »

Merci alain ;)
Fujitsu : Ubuntu 26.04 - Xubuntu 26.04 - Ubuntu Cosmic 24.04
Clevo : Ubuntu 26.04 _Xubuntu et Lubuntu 26.04 - Linux Mint 22.3 Cinnamon et xfce

Avec partition data ..................... Partition data en Multiboot EFI

Une fraction de seconde
nabi3003l
Messages : 101
Enregistré le : mar. 6 févr. 2018 19:53

Re: Garder mon home

Message par nabi3003l »

bonjour jennatux et alain.

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.
Nabilux
Distrib : Linux Mint 22 Desktop : X-Cinnamon
Kernel : 6.8.0-38-generic CPU : Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz RAM : 15Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev cf)
nabi3003l
Messages : 101
Enregistré le : mar. 6 févr. 2018 19:53

Re: Garder mon home

Message par nabi3003l »

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]
Nabilux
Distrib : Linux Mint 22 Desktop : X-Cinnamon
Kernel : 6.8.0-38-generic CPU : Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz RAM : 15Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev cf)
Avatar du membre
Jennatux
Messages : 3191
Enregistré le : mer. 1 nov. 2017 01:59

Re: Garder mon home

Message par Jennatux »

Ben là, je ne vois pas :?:
Fujitsu : Ubuntu 26.04 - Xubuntu 26.04 - Ubuntu Cosmic 24.04
Clevo : Ubuntu 26.04 _Xubuntu et Lubuntu 26.04 - Linux Mint 22.3 Cinnamon et xfce

Avec partition data ..................... Partition data en Multiboot EFI

Une fraction de seconde
Répondre