Re: GRUB2: image de fond
Le 15/10/2024 à 21:41, Pierre ESTREM a écrit :
Bonsoir,
Sur une Debian construite par preseed, le retour de 'sudo update-grub'
montre 2 lignes presque identiques relatives à l'image de GRUB2 :
Generating grub configuration file ...
Found background: /usr/share/desktop-base/emerald-theme/grub/grub-4x3.png
Found background image:
/usr/share/desktop-base/emerald-theme/grub/grub-4x3.png
Found linux image: /boot/vmlinuz-6.1.0-26-amd64
Found initrd image: /boot/initrd.img-6.1.0-26-amd64
Found linux image: /boot/vmlinuz-6.1.0-25-amd64
Found initrd image: /boot/initrd.img-6.1.0-25-amd64
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
Et avec cela elle n'est pas affichée, puisque je démarre en GRUB type
terminal (mon /etc/default/grub désactive pourtant ce mode).
Que peut-on dire de ce cas ?
pierre estrem
Bonjour,
Avertissement: je ne connais rien à preseed et je ne suis pas expert grub
une possibilité (parmi d'autres, sûrement) serait que tu n'as pas les
modules grub nécessaires à un affichage graphique de l'écran d'accueil grub:
chez moi, parmi les modules qui pourraient avoir une incidence sur le
sujet, il ya ça:
didier@hp-notebook14:~$ ls /boot/grub*/x86*/*video*
/boot/grub/x86_64-efi/all_video.mod
/boot/grub/x86_64-efi/video_colors.mod /boot/grub/x86_64-efi/video.mod
/boot/grub/x86_64-efi/fixvideo.mod
/boot/grub/x86_64-efi/video_fb.mod
/boot/grub/x86_64-efi/videotest_checksum.mod
/boot/grub/x86_64-efi/video_bochs.mod
/boot/grub/x86_64-efi/videoinfo.mod /boot/grub/x86_64-efi/videotest.mod
/boot/grub/x86_64-efi/video_cirrus.mod /boot/grub/x86_64-efi/video.lst
didier@hp-notebook14:~$ ls /boot/grub*/x86*/*gfx*
/boot/grub/x86_64-efi/gfxmenu.mod
/boot/grub/x86_64-efi/gfxterm_menu.mod
/boot/grub/x86_64-efi/gfxterm_background.mod
/boot/grub/x86_64-efi/gfxterm.mod
didier@hp-notebook14:~$ ls /boot/grub*/x86*/*jp*
/boot/grub/x86_64-efi/jpeg.mod
Tu peux consulter la doc grub: installe le paquet info si ce n'est déjà
fait, la doc grub est au format info ($ info grub)
un autre piège potentiel serait la génération de l'initrd pendant
l'installation: si tu génères une initrd avec seulement les modules
nécessaires mais que tu exécutes ton install' sur un PC techniquement
différent de celui où l'initrd a été créée, il pourrait manquer des
choses (les modules grub cités ci-dessus pourraient ne pas être suffisants)
Mais bon, ton problème ne vient peut-être pas de là et je me fais
peut-être une idée fausse de la façon dont ça fonctionne, hein, je
formule tout ça juste pour amorcer ta démarche de résolution :-)
Reply to: