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 01/03/2023, à 20:33

Kroow75

[RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Bonsoir à tous wink

Ayant un petit bug au logo animé de chargement de mon Xubuntu 22.04.2, celui-ci est absent et j'ai des pointillées à la place . . . . roll
6LH0PIj.png
C'est juste une question esthétique, mon Xubuntu fonctionne du tonnerre, j’étais sur Ubuntu 22.04 juste avant mais mon vieux pc galérait trop. J'ai l'impression que ce bug est apparu une fois que je suis passé à grub2, c'est possible?
En recherchant un peu sur le net, semble t-il qu'il s'agit d'un bug au niveau de la résolution de l’écran de grud.
J'ai donc modifié le fichier grub qui se trouve /etc/default/grub en lançant du terminal mon gestionnaire de fichier Thumar en mode administrateur:

matrix@matrix-EasyNote-LJ71:~$ sudo thunar
# 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_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# 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-pc only)
#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"
GRUB_DISABLE_OS_PROBER="true" 

Et en voulant finaliser cette manip en faisant "sudo update-grub" j'ai ce message:

matrix@matrix-EasyNote-LJ71:~$ sudo update-grub
[sudo] Mot de passe de matrix : 
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 1: /etc/default/grub: #: not found
matrix@matrix-EasyNote-LJ71:~$ 

Du coup je ne pense pas que mes modifs soient prises en compte sad et aucun changement de grub lors du redémarrage.
Qu' en pensez vous? svp

Merci d'avance

Ps: je mets ici mon boot-info au cas ou:

boot-info-4ppa2056                                              [20230302_0928]

============================== Boot Info Summary ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt3)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.04.2 LTS on sda3

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: RS880M [Mobility Radeon HD 4225/4250] from Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.19.0-32-generic root=UUID=f1657b6b-bb6e-4983-ba3b-8035c10b7096 ro quiet splash vt.handoff=7
df -Th / : /dev/sda3        ext4    36G     20G   15G  59% /

===================================== UEFI =====================================

BIOS/UEFI firmware: V1.07 from Packard Bell    
This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda3	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sdb1	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 37.26 GiB, 40007761920 bytes, 78140160 sectors
Disk identifier: DCB627AE-B113-440C-9049-1366F38D1BAE
        Start      End  Sectors  Size Type
sda1     2048     4095     2048    1M BIOS boot
sda2     4096  1054719  1050624  513M EFI System
sda3  1054720 78139391 77084672 36.8G Linux filesystem
Disk sdb: 596.17 GiB, 640135028736 bytes, 1250263728 sectors
Disk identifier: 0xece94f32
      Boot Start        End    Sectors   Size Id Type
sdb1        2048 1250260991 1250258944 596.2G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:40.0GB:scsi:512:512:gpt:ATA ST940210AS:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:540MB:538MB:fat32:EFI System Partition:boot, esp;
3:540MB:40.0GB:39.5GB:ext4::;
sdb:640GB:scsi:512:512:msdos:ATA WDC WD6400BEVT-2:;
1:1049kB:640GB:640GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL    PARTLABEL
sda                                                                                                
├─sda1                                               ab48e028-c298-4853-a534-c753abca55d7          
├─sda2 vfat     0654-5C0C                            86efacbd-cc4d-49f5-9c92-38cc7e4490b6          EFI System Partition
└─sda3 ext4     f1657b6b-bb6e-4983-ba3b-8035c10b7096 f35922f6-4a83-4b49-8fd2-9cb69b55e8e6          
sdb                                                                                                
└─sdb1 ext4     dfd0c12e-f2d1-493e-aae1-b7dddb3f1b85 ece94f32-01                          Disque 2 

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda3                       14.2G  55% /
/dev/sdb1                      144.3G  70% /mnt/boot-sav/sdb1

Mount options (filtered): ______________________________________________________


===================== sda2/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid f1657b6b-bb6e-4983-ba3b-8035c10b7096 root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda3/boot/grub/grub.cfg (filtered) ======================

Ubuntu   f1657b6b-bb6e-4983-ba3b-8035c10b7096
Ubuntu, with Linux 5.19.0-32-generic   f1657b6b-bb6e-4983-ba3b-8035c10b7096
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda3 during installation
UUID=f1657b6b-bb6e-4983-ba3b-8035c10b7096 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=0654-5C0C  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda3/etc/default/grub (filtered) =======================

# If you change this file, run 'update-grub' afterwards to update
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_GFXMODE=640x480
GRUB_DISABLE_OS_PROBER="true" 

==================== sda3: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  12,958827972 = 13,914435584   boot/grub/grub.cfg                             1
  12,957038879 = 13,912514560   boot/grub/i386-pc/core.img                     1
  12,139278412 = 13,034450944   boot/vmlinuz                                   1
  12,139278412 = 13,034450944   boot/vmlinuz-5.19.0-32-generic                 1
  13,484889984 = 14,479290368   boot/initrd.img                                1
  13,484889984 = 14,479290368   boot/initrd.img-5.19.0-32-generic              1
  13,484889984 = 14,479290368   boot/initrd.img.old                            1

===================== sda3: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18683 Dec  2 16:18 10_linux
-rwxr-xr-x 1 root root 43031 Dec  2 16:18 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Dec  2 16:18 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec  2 16:18 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec  2 16:18 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Sep 20 05:18 35_fwupd
-rwxr-xr-x 1 root root   214 Dec  2 16:18 40_custom
-rwxr-xr-x 1 root root   215 Dec  2 16:18 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda3,
using the following options:  sda2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

 The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.2 LTS entry (sda2/efi/****/grub****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.

Dernière modification par Kroow75 (Le 03/03/2023, à 08:51)


Xubuntu 22.04.2 LTS

Hors ligne

#2 Le 01/03/2023, à 20:43

MicP

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Bonjour

Kroow75 a écrit :

… J'ai modifié le fichier Grub …

Lequel ?
Logiquement, il n'existe pas de fichier qui serait nommé Grub <=> dont la première lettre du nom serait une lettre en majuscule
et il faudrait que l'on puisse avoir le chemin absolu du fichier que tu as modifié pour savoir où il est situé dans l'arborescence du système de fichiers.
Il faudrait aussi connaître les modifications qui ont été appliquées à ce fichier.

=======

'sudo update-grub' a écrit :
…
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 1: /etc/default/grub: #: not found 
…

Donne le retour de la ligne de commande suivante :

ls -l /etc/default/grub

Dernière modification par MicP (Le 01/03/2023, à 20:46)

Hors ligne

#3 Le 01/03/2023, à 20:47

nany

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Bonjour,



Kroow75 a écrit :

J'ai modifié le fichier Grub et en voulant finaliser cette manip en faisant "sudo update-grub" j'ai ce message: " Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 1: /etc/default/grub: #: not found"

Le message dit que /etc/default/grub n’est pas trouvé.
Comment as-tu procédé pour modifier ce fichier ? L’aurais-tu déplacé ou renommé ?

Hors ligne

#4 Le 02/03/2023, à 09:06

xubu1957

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Bonjour,

MicP a écrit :

Donne le retour de la ligne de commande suivante :

ls -l /etc/default/grub

Lire le premier message du tutoriel Retour utilisable de commande.
        _ _ _

(edit=messages regroupés)
        _ _ _


Voir > [Tuto] Poster une image

Dernière modification par xubu1957 (Le 02/03/2023, à 09:51)


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

#5 Le 02/03/2023, à 09:15

Kroow75

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

xubu1957 a écrit :

Bonjour,

MicP a écrit :

Donne le retour de la ligne de commande suivante :

ls -l /etc/default/grub

Lire le premier message du tutoriel Retour utilisable de commande.

Désolé je rereformule mon post big_smile


Xubuntu 22.04.2 LTS

Hors ligne

#6 Le 02/03/2023, à 09:33

Kroow75

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

MicP a écrit :

Bonjour

Kroow75 a écrit :

… J'ai modifié le fichier Grub …

Lequel ?
Logiquement, il n'existe pas de fichier qui serait nommé Grub <=> dont la première lettre du nom serait une lettre en majuscule
et il faudrait que l'on puisse avoir le chemin absolu du fichier que tu as modifié pour savoir où il est situé dans l'arborescence du système de fichiers.
Il faudrait aussi connaître les modifications qui ont été appliquées à ce fichier.

=======

'sudo update-grub' a écrit :
…
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 1: /etc/default/grub: #: not found 
…

Donne le retour de la ligne de commande suivante :

ls -l /etc/default/grub

Voilà wink

matrix@matrix-EasyNote-LJ71:~$ ls -l /etc/default/grub
-rw-r--r-- 1 root root 1264 mar  1 19:58 /etc/default/grub

Xubuntu 22.04.2 LTS

Hors ligne

#7 Le 02/03/2023, à 10:17

Kroow75

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Voilà mon post est refait, j’espère ne rien avoir oublié lol

Dernière modification par Kroow75 (Le 02/03/2023, à 10:18)


Xubuntu 22.04.2 LTS

Hors ligne

#8 Le 02/03/2023, à 11:02

nany

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Kroow75 a écrit :

Ps: je mets ici mon boot-info au cas ou:

…
======================= sda3/etc/default/grub (filtered) =======================

# If you change this file, run 'update-grub' afterwards to update
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_GFXMODE=640x480
GRUB_DISABLE_OS_PROBER="true" 
…

On voit ici que la ligne 1 est affichée alors qu’elle ne devrait pas l’être car l’affichage est censé être filtré.
En effet le message d’erreur que j’ai interprété beaucoup trop vite hier indique que le croisillon de la ligne 1 n’est pas trouvé.
Il y a peut-être un caractère invisible et indésirable devant ce croisillon pour que la ligne ne soit pas interprétée comme un commentaire.
Pour essayer d’y voir plus clair, donne les retours de :

grep -Ev "^#|^$" /etc/default/grub
hd /etc/default/grub | head -1

Hors ligne

#9 Le 02/03/2023, à 11:24

Kroow75

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

nany a écrit :
Kroow75 a écrit :

Ps: je mets ici mon boot-info au cas ou:

…
======================= sda3/etc/default/grub (filtered) =======================

# If you change this file, run 'update-grub' afterwards to update
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_GFXMODE=640x480
GRUB_DISABLE_OS_PROBER="true" 
…

On voit ici que la ligne 1 est affichée alors qu’elle ne devrait pas l’être car l’affichage est censé être filtré.
En effet le message d’erreur que j’ai interprété beaucoup trop vite hier indique que le croisillon de la ligne 1 n’est pas trouvé.
Il y a peut-être un caractère invisible et indésirable devant ce croisillon pour que la ligne ne soit pas interprétée comme un commentaire.
Pour essayer d’y voir plus clair, donne les retours de :

grep -Ev "^#|^$" /etc/default/grub
hd /etc/default/grub | head -1


Voilà wink

matrix@matrix-EasyNote-LJ71:~$ grep -Ev "^#|^$" /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_GFXMODE=640x480
GRUB_DISABLE_OS_PROBER="true" 
matrix@matrix-EasyNote-LJ71:~$ hd /etc/default/grub | head -1
00000000  ef bb bf 23 20 49 66 20  79 6f 75 20 63 68 61 6e  |...# If you chan|
matrix@matrix-EasyNote-LJ71:~$ 

Merci pour tout de prendre de votre temps pour m'aider smile

Dernière modification par Kroow75 (Le 02/03/2023, à 11:28)


Xubuntu 22.04.2 LTS

Hors ligne

#10 Le 02/03/2023, à 11:36

nany

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

C’est bien ça, il y a effectivement un caractère spécial (EF BB BF) avant le croisillon.
On va tenter de l’enlever.
Donne les retours de :

sudo sed -i 's/^.#/#/' /etc/default/grub && grep -Ev "^#|^$" /etc/default/grub
hd /etc/default/grub | head -1

Hors ligne

#11 Le 02/03/2023, à 11:37

MicP

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Bonjour

L'application qui a été utilisée pour éditer le fichier /etc/default/grub a peut-être inséré un BOM (Byte Order Mark) au début de ce fichier.

Quel est le retour de la ligne de commande suivante :

hd -n6 /etc/default/grub

=======
Pour éditer un fichier de configuration, il vaut mieux utiliser l'éditeur de texte installé par défaut plutôt qu'une application de traitement de texte.

editor /etc/default/grub

NOTE : Par défaut, sur ubuntu, /usr/bin/editor est un lien vers un autre lien : /etc/alternatives/editor qui est lié à /usr/bin/nano
Voir :

man update-alternatives

Dernière modification par MicP (Le 02/03/2023, à 11:58)

Hors ligne

#12 Le 02/03/2023, à 11:51

Kroow75

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

nany a écrit :

C’est bien ça, il y a effectivement un caractère spécial (EF BB BF) avant le croisillon.
On va tenter de l’enlever.
Donne les retours de :

sudo sed -i 's/^.#/#/' /etc/default/grub && grep -Ev "^#|^$" /etc/default/grub
hd /etc/default/grub | head -1

Voilà smile

matrix@matrix-EasyNote-LJ71:~$ sudo sed -i 's/^.#/#/' /etc/default/grub && grep -Ev "^#|^$" /etc/default/grub
[sudo] Mot de passe de matrix : 
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_GFXMODE=640x480
GRUB_DISABLE_OS_PROBER="true" 
matrix@matrix-EasyNote-LJ71:~$ hd /etc/default/grub | head -1
00000000  23 20 49 66 20 79 6f 75  20 63 68 61 6e 67 65 20  |# If you change |
matrix@matrix-EasyNote-LJ71:~$ 

Xubuntu 22.04.2 LTS

Hors ligne

#13 Le 02/03/2023, à 11:53

nany

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Et que donne maintenant

sudo update-grub

?

Hors ligne

#14 Le 02/03/2023, à 11:55

Kroow75

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

MicP a écrit :

Bonjour

L'application qui a été utilisée pour éditer le fichier /etc/default/grub a peut-être inséré un BOM (Byte Order Mark) au début de ce fichier.

Quel est le retour de la ligne de commande suivante :

hd -n6 /etc/default/grub


Voili voilou big_smile

matrix@matrix-EasyNote-LJ71:~$ hd -n6 /etc/default/grub
00000000  23 20 49 66 20 79                                 |# If y|
00000006
matrix@matrix-EasyNote-LJ71:~$ 

Xubuntu 22.04.2 LTS

Hors ligne

#15 Le 02/03/2023, à 11:57

Kroow75

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

nany a écrit :

Et que donne maintenant

sudo update-grub

?

matrix@matrix-EasyNote-LJ71:~$ sudo update-grub
[sudo] Mot de passe de matrix : 
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-35-generic
Found initrd image: /boot/initrd.img-5.19.0-35-generic
Found linux image: /boot/vmlinuz-5.19.0-32-generic
Found initrd image: /boot/initrd.img-5.19.0-32-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
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.
done
matrix@matrix-EasyNote-LJ71:~$ 

Xubuntu 22.04.2 LTS

Hors ligne

#16 Le 02/03/2023, à 12:16

MicP

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Merci pour les retours de commande,
mais j'étais en train de créer mon message #11 pendant que les messages #8 #9 et #10 ont été postés lol

Dernière modification par MicP (Le 02/03/2023, à 12:17)

Hors ligne

#17 Le 02/03/2023, à 12:44

Kroow75

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

MicP a écrit :

Merci pour les retours de commande,
mais j'étais en train de créer mon message #11 pendant que les messages #8 #9 et #10 ont été postés lol


Merci à toi de prendre le temps de m'aider yikes


Xubuntu 22.04.2 LTS

Hors ligne

#18 Le 03/03/2023, à 08:50

Kroow75

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Merci super Nany, je peux enfin modifier mon fichier grub et m'amuser à chercher ce bug dans le logo xubuntu au démarrage lol


Xubuntu 22.04.2 LTS

Hors ligne

#19 Le 03/03/2023, à 08:53

xubu1957

Re : [RESOLU] Message inquietant suite a "sudo update-grub" sur le terminal

Bonjour,

Montre aussi d'éventuels paquets cassés :

dpkg -l | grep -v ^ii

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