Pages : 1
#1 Le 30/10/2023, à 15:48
- fpbf
GRUB tout gris 2
Bonjour,
J'ai à peu près le meme problème : à la place du grub unécran gris avec une jolie bordure gris clair.
boot-info-4ppa2056 [20231029_1959]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Grub2 (v1.99-2.00) is installed in the MBR of /dev/sdb and looks at sector
986304 of the same hard drive for core.img, but core.img can not be found
at this location.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector
3846843280 of the same hard drive for core.img. core.img is at this
location and looks for (,gpt2)/boot/grub. It also embeds following
components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_gpt biosdisk
---------------------------------------------------------------------------
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
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
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sdb2
and looks at sector 1031192 of the same hard drive for
core.img. core.img is at this location and looks for
(,gpt2)/grub. It also embeds following components:
modules
-------------------------------------------------------
fshelp ext2 part_gpt biosdisk
-------------------------------------------------------
Operating System:
Boot files: /grub/grub.cfg /grub/i386-pc/core.img
sdb3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /Windows/System32/winload.exe
sdb4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 22.04.3 LTS
Boot files: /etc/fstab /etc/default/grub
sdc1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdd: ___________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: Ubuntu 22.04.3 LTS on sdb4
OS#2: Windows 10 or 11 on sdb3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GP108 [GeForce GT 1030] EFI VGA from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/vmlinuz-6.2.0-35-generic root=UUID=c595f12f-828a-44f9-a465-a3e2b79c2d59 ro quiet splash vt.handoff=7
df -Th / : /dev/sdb4 ext4 238G 14G 212G 6% /
===================================== UEFI =====================================
BIOS/UEFI firmware: V20.5(4.6) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0002,000A,000B,000C,000D,000E,000F,0010,0011,0000,0004
Boot0000* SATA: KINGSTON SKC600512G BBS(17,,0x0)
Boot0002* Windows Boot Manager HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0xf3800)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...M................
Boot0003* ubuntu HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0xf3800)/File(\EFI\ubuntu\shimx64.efi)
Boot0004 UEFI OS HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0xf3800)/File(\EFI\BOOT\BOOTX64.EFI)
Boot000A* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)AMBO
Boot000B* ubuntu HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0xf3800)/File(\EFI\Ubuntu\grubx64.efi)
Boot000C* Windows Boot Manager HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0xe4e1c)/File(\EFI\Microsoft\Boot\bootmgfw.efi)
Boot000D* ubuntu HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0xe4e1c)/File(\EFI\Ubuntu\grubx64.efi)
Boot000E* UEFI OS HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0xe4e1c)/File(\EFI\BOOT\BOOTX64.EFI)
Boot000F* Windows Boot Manager HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0x3d090)/File(\EFI\Microsoft\Boot\bootmgfw.efi)
Boot0010* ubuntu HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0x3d090)/File(\EFI\Ubuntu\grubx64.efi)
Boot0011* UEFI OS HD(1,GPT,6be9779d-994d-44a9-bb28-70726d410a01,0x800,0x3d090)/File(\EFI\BOOT\BOOTX64.EFI)
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
sdc : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 34 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb4 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, grubenv-ok, noupdategrub, not-far
sdb3 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda2 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sdb4 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb4 : not--sepboot, with-boot, fstab-has-goodBOOT, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
sdb2 : is---sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdb1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdc1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : 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: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk identifier: 9EE25E39-6D7F-11EC-8BBC-448A5B265515
Start End Sectors Size Type
sda2 264192 2147747839 2147483648 1T Microsoft basic data
sda3 3907149824 7748501503 3841351680 1.8T Microsoft basic data
sda4 7748501504 7814037134 65535631 31.2G Linux swap
Disk sdb: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 9D721142-F8A6-4013-AE68-3299CC974433
Start End Sectors Size Type
sdb1 2048 252047 250000 122.1M EFI System
sdb2 253952 1032191 778240 380M Linux filesystem
sdb3 1032192 492402687 491370496 234.3G Microsoft basic data
sdb4 492402688 1000215182 507812495 242.1G Linux filesystem
Disk sdc: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 3DF594E4-DD10-4598-A8F5-BFAAA494F2AE
Start End Sectors Size Type
sdc1 34 3907028991 3907028958 1.8T Linux filesystem
Disk sdd: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 9EE260C6-6D7F-11EC-8BBC-448A5B265515
parted -lm (filtered): _________________________________________________________
sda:4001GB:scsi:512:4096:gpt:ATA ST4000VX007-2DT1:;
2:135MB:1100GB:1100GB:ntfs:Basic data partition:msftdata;
3:2000GB:3967GB:1967GB:ntfs:Basic data partition:msftdata;
4:3967GB:4001GB:33.6GB:linux-swap(v1)::swap;
sdb:512GB:scsi:512:4096:gpt:ATA KINGSTON SKC6005:;
1:1049kB:129MB:128MB:fat16::boot, esp;
2:130MB:528MB:398MB:ext4::;
3:528MB:252GB:252GB:ntfs:Basic data partition:msftdata;
4:252GB:512GB:260GB:ext4:Budgie:;
sdc:2000GB:scsi:512:4096:gpt:ATA WDC WD20EFRX-68E:;
1:17.4kB:2000GB:2000GB:ext4:Home:;
sdd:2000GB:scsi:512:4096:gpt:ATA TOSHIBA HDWD120:;
Free space >10MiB: ______________________________________________________________
sda: 0.02MiB:129MiB:129MiB
sda: 1048705MiB:1907788MiB:859083MiB
sdd: 0.02MiB:1907729MiB:1907729MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda2 ntfs 0096369796368D62 0957d69e-593d-42e0-ba17-5cab13136dbf DATA Basic data partition
├─sda3 ntfs D26C98F16C98D219 042d4811-e9ac-4a04-95c9-1534d38c227f STOCK Basic data partition
└─sda4 swap 208e21d2-c6c6-4d6e-bcef-708dd0773434 5869ae92-7f75-4137-8443-6c39361320ba
sdb
├─sdb1 vfat CB85-101D 6be9779d-994d-44a9-bb28-70726d410a01
├─sdb2 ext4 1ad94bf6-b849-4f65-931a-0de336861061 50b5a2b3-9574-472e-a82b-d53cfd2ef9fe
├─sdb3 ntfs CA0A99660A995075 5d86b683-d4fc-4f57-9bc7-431addd67045 Basic data partition
└─sdb4 ext4 c595f12f-828a-44f9-a465-a3e2b79c2d59 fc928801-951b-493e-8ca4-9193f5eca439 Budgie
sdc
└─sdc1 ext4 7e68594a-1974-48ac-85f3-22bb227789a0 4a10986d-c18e-44d3-9574-322579338a6f SAUVEGARDE Home
sdd ext4 1726bef3-9696-4d5b-b1f2-6e232288ccb5 DATA
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda2 460.3G 55% /mnt/boot-sav/sda2
/dev/sda3 1.1T 38% /mnt/boot-sav/sda3
/dev/sdb2 120.2M 57% /boot
/dev/sdb3 149.6G 36% /mnt/boot-sav/sdb3
/dev/sdb4 211.7G 6% /
/dev/sdc1 6.2G 95% /mnt/boot-sav/sdc1
/dev/sdd 880.9G 47% /home
Mount options (filtered): ______________________________________________________
===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 1ad94bf6-b849-4f65-931a-0de336861061 root hd1,gpt2
set prefix=($root)'/grub'
configfile $prefix/grub.cfg
======================== sdb2/grub/grub.cfg (filtered) =========================
Ubuntu c595f12f-828a-44f9-a465-a3e2b79c2d59
Ubuntu, with Linux 6.2.0-35-generic c595f12f-828a-44f9-a465-a3e2b79c2d59
Ubuntu, with Linux 6.2.0-26-generic c595f12f-828a-44f9-a465-a3e2b79c2d59
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
==================== sdb2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0,491771698 = 0,528035840 grub/grub.cfg 1
0,491733551 = 0,527994880 grub/i386-pc/core.img 1
0,391750336 = 0,420638720 vmlinuz 1
0,290164948 = 0,311562240 vmlinuz-6.2.0-26-generic 1
0,391750336 = 0,420638720 vmlinuz-6.2.0-35-generic 1
0,290164948 = 0,311562240 vmlinuz.old 1
0,363277435 = 0,390066176 initrd.img 2
0,480464935 = 0,515895296 initrd.img-6.2.0-26-generic 4
0,363277435 = 0,390066176 initrd.img-6.2.0-35-generic 2
0,480464935 = 0,515895296 initrd.img.old 4
========================== sdb4/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb4 during installation
UUID=c595f12f-828a-44f9-a465-a3e2b79c2d59 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sdb2 during installation
UUID=1ad94bf6-b849-4f65-931a-0de336861061 /boot ext4 defaults 0 2
# /boot/efi was on /dev/sdb1 during installation
UUID=CB85-101D /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda4 during installation
UUID=208e21d2-c6c6-4d6e-bcef-708dd0773434 none swap sw 0 0
/dev/disk/by-uuid/1726bef3-9696-4d5b-b1f2-6e232288ccb5 /home auto nosuid,nodev,nofail,x-gvfs-show 0 0
======================= sdb4/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
===================== sdb4: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Dec 18 2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 May 17 07:35 35_fwupd
-rwxr-xr-x 1 root root 214 Dec 18 2022 40_custom
-rwxr-xr-x 1 root root 215 Dec 18 2022 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi of
sdb4,
using the following options: sdb2/boot sdb1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (sdb1/efi/****/grub****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\grub****.efi (**** will be updated in the final message)
Modération : votre message a été scindé pour créer une nouvelle discussion.
Dernière modification par Ayral (Le 30/10/2023, à 16:12)
Hors ligne
#2 Le 31/10/2023, à 10:42
- geole
Re : GRUB tout gris 2
Bonjour.
Je vois que ton boot lance bien ubuntu.
BIOS/UEFI firmware: V20.5(4.6) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disable
Je crois comprendre que le grub n'est pas affiché. Mais c'est normal puisque windows n'a pas été détecté.
======================= sdb2/grub/grub.cfg (filtered) =========================
Ubuntu c595f12f-828a-44f9-a465-a3e2b79c2d59
Ubuntu, with Linux 6.2.0-35-generic c595f12f-828a-44f9-a465-a3e2b79c2d59
Ubuntu, with Linux 6.2.0-26-generic c595f12f-828a-44f9-a465-a3e2b79c2d59
### END /etc/grub.d/30_os-prober ###
Pourtant, il est bien présent dans la partition de boot ESP!
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-b
sdb1:________________________________________________________________________
Boot sector type: FAT32
Boot files: .........
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
Peux-tu retenter sa recherche.
sudo update-grub
Dernière modification par geole (Le 31/10/2023, à 10:43)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
En ligne
#3 Le 09/11/2023, à 14:55
- fpbf
Re : GRUB tout gris 2
Bonjour,
Merci pour ta réponse, je ne l'avais pas vue.
Je m'en suis tiré avec :
- ce wiki : https://doc.ubuntu-fr.org/tutoriel/grub … par_defaut
- et ce tuto : https://www.baeldung.com/linux/grub-boo … add-new-os
J'ai d'abord modifié le /etc/default/grub en modifiant le temps de présentation de grub :
- avant : GRUB_TIMEOUT=0
- après : GRUB_TIMEOUT=5
ensuite on valide les modif et on teste en redémarrant :
$ sudo update-grub
$ sudo reboot -f
ça n'a pas changé grand chose (je n'ai pas chronométré le grub : toujours un cadre gris autour de gris...)
Ensuite j'ai testé, j'ai d'abord testé la détection d'OS avec os-prober :
~$ sudo os-prober
/dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
Mon Windows était détecté, mais pas présenté dans le grub.
J'ai regardé dans /etc/default/grub si il y avait une désactivation de OS-PROBER en y cherchant l'expression "GRUB_DISABLE_OS_PROBER=true"
et je ne l'y ai pas trouvé. J'ai tenté de forcer l'utilisation en lui précisant de NE PAS DESACTIVER os-prober en ajoutant dans mon /etc/default/grub pour qu'il ressemble à ça au final :
# On ne desactive pas os-propber
GRUB_DISABLE_OS_PROBER=false
...on valide les modif et on teste en redémarrant :
$ sudo update-grub
$ sudo reboot -f
Youpi ça marche !
mon /etc/default/grub/ pour info :
# 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_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
#
# CUSTOM
# reglage perso d'apres
# https://www.baeldung.com/linux/grub-bootloader-add-new-os
#
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-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"
Hors ligne
Pages : 1