Trouvez ici les démarches courantes à faire en cas d'écran noir.
Répondre

Grub ko après démarrage sous Windows 10

#1Messageil y a 6 mois

Bonjour,

J’aimerais de l’aide pour regagner accès mon système.

Je garde un Windows en dual boot pour un jeu et un programme non disponible sur Linux malheureusement.
Après un redémarrage, je me retrouve avec grub ko, j’ai essayé de corriger cela et y suis partiellement parvenu. :tetu!

J’ai accès à présent à un menu grub, mais à la sélection de manjaro, je finis par arriver à grub en mode emergency.
Avec aucune information sur la cause :saispas:

Au niveau contexte : c’est une installation en btrfs sur un disque ssd en dual boot avec un Windows sur un autre disk lui en nvme.

J’ai essayé une réinstallation de grub en mode bios ayant eu pas mal de déboires avec l’uefi par le passé, je supposais avoir fait ce type d’installation... Avec ce que je trouve dans /boot je pense que c’était plus une installation de type uefi, j’ai donc recommencé pour ce type.

J’ai essayé de voir la cause avec les commandes dmesg et journal -xe mais je n’ai pas plus d’idées :sos:

Grub ko après démarrage sous Windows 10

#2Messageil y a 6 mois

bonsoir

il y a 3 choses a vérifier avant ce faire une quelconque action:
créer des profils windows & linux au niveau UEFI si c'est possible

- pour linux ,
pas de Secureboot
pas de CSM
pas de legacy
UEFI ( non windows ) ou autre
tous les disques en AHCI

windows re modifie des options UEFI ( secureboot / disque non AHCI / voir suppression entrée efibootmgr )

et effectuer une premiere vérification avec la clé Iso USB

inxi -Fza
test -d /sys/firmware/efi && echo efi || echo bios
sudo fdisk -l
sudo blkid -fs
sudo efibootmgr -v

Grub ko après démarrage sous Windows 10

#3Messageil y a 6 mois

J’ai vérifié mes paramètres efi ils semblent correcte.

Voici le retour de ces commandes:

lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME

PATH PTTYPE PARTTYPE FSTYPE PARTTYPENAME
/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/sda gpt
/dev/sda1 gpt c12a7328-f81f-11d2-ba4b-00a0c93ec93b vfat EFI System
/dev/sda2 gpt 0fc63daf-8483-4772-8e79-3d69d8477de4 btrfs Linux filesystem
/dev/sdb dos
/dev/sdb1 dos 0x83 btrfs Linux
/dev/sdc dos iso9660
/dev/sdc1 dos 0x0 iso9660 Empty
/dev/sdc2 dos 0xef vfat EFI (FAT-12/16/32)
/dev/nvme0n1 gpt
/dev/nvme0n1p1 gpt c12a7328-f81f-11d2-ba4b-00a0c93ec93b vfat EFI System
/dev/nvme0n1p2 gpt e3c9e316-0b5c-4db8-817d-f92df00215ae Microsoft reserved
/dev/nvme0n1p3 gpt ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 ntfs Microsoft basic data
/dev/nvme0n1p4 gpt de94bba4-06d1-4d40-a16a-bfd50179d6ac ntfs Windows recovery environment

inxi -Fza

System:
Kernel: 6.1.30-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=fr_FR keytable=fr
tz=Europe/Paris misobasedir=manjaro misolabel=MANJARO_GNOME_2213 quiet
systemd.show_status=1 splash driver=nonfree nouveau.modeset=0
i915.modeset=1 radeon.modeset=1
Desktop: GNOME v: 43.5 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 44.0
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: Z590 GAMING X v: N/A
serial: <superuser required>
Mobo: Gigabyte model: Z590 GAMING X v: x.x serial: <superuser required>
UEFI: American Megatrends LLC. v: F2 date: 01/06/2021
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M345
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: 11th Gen Intel Core i9-11900 bits: 64 type: MT MCP
arch: Rocket Lake gen: core 11 level: v4 note: check built: 2021+
process: Intel 14nm family: 6 model-id: 0xA7 (167) stepping: 1
microcode: 0x57
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 2500 min/max: 800/5000:5200 scaling:
driver: intel_pstate governor: powersave cores: 1: 2500 2: 2500 3: 2500
4: 2500 5: 2500 6: 2500 7: 2500 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500
13: 2500 14: 2500 15: 2500 16: 2500 bogomips: 79888
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: Enhanced IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
filling, PBRSB-eIBRS: SW sequence
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA102 [GeForce RTX 3080 Ti] vendor: eVga.com.
driver: nvidia v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
status: current (as of 2023-05) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s
lanes: 4 link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 02:00.0
chip-ID: 10de:2208 class-ID: 0300
Device-2: Logitech BRIO 4K Stream Edition
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 3.1
speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 2-8:3 chip-ID: 046d:086b
class-ID: 0300 serial: <filter>
Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia display-ID: :0
screens: 1
Screen-1: 0 s-res: 5360x1440 s-size: <missing: xdpyinfo>
Monitor-1: DP-4 pos: primary,top-left res: 3440x1440 hz: 60 dpi: 110
size: 797x334mm (31.38x13.15") diag: 864mm (34.02") modes: N/A
Monitor-2: HDMI-0 pos: bottom-r res: 1920x1200 hz: 60 dpi: 89
size: 550x344mm (21.65x13.54") diag: 649mm (25.54") modes: N/A
API: OpenGL v: 4.6.0 NVIDIA 530.41.03 renderer: NVIDIA GeForce RTX 3080
Ti/PCIe/SSE2 direct-render: Yes
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: Gigabyte driver: snd_hda_intel
v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:43c8 class-ID: 0403
Device-2: NVIDIA GA102 High Definition Audio vendor: eVga.com.
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 4
link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 02:00.1
chip-ID: 10de:1aef class-ID: 0403
Device-3: DisplayLink Dell Universal Dock D6000
driver: cdc_ncm,snd-usb-audio type: USB rev: 3.2 speed: 5 Gb/s lanes: 1
mode: 3.2 gen-1x1 bus-ID: 2-1.1:4 chip-ID: 17e9:6006 class-ID: 0a00
serial: <filter>
Device-4: Logitech BRIO 4K Stream Edition
driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 3.1
speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 2-8:3 chip-ID: 046d:086b
class-ID: 0300 serial: <filter>
API: ALSA v: k6.1.30-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 0.3.70 status: off tools: pw-cli
Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: enp0s20f0u1u1i5 state: down mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.1
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:5 chip-ID: 0bda:8771
class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
Local Storage: total: 3.37 TiB used: 0 KiB (0.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: Force MP510
size: 894.25 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: ECFM13.3 temp: 42.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT1000MX500SSD1
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 033 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1500DL003-9VT16L
size: 1.36 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 5900 serial: <filter> fw-rev: CC4A scheme: MBR
ID-4: /dev/sdc maj-min: 8:32 vendor: SanDisk model: USB 3.2Gen1
size: 232.88 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
fw-rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
Message: No partition data found.
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 40.0 C mobo: N/A gpu: nvidia temp: 49 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 323 Uptime: 25m wakeups: 2 Memory: available: 125.67 GiB
used: 5.26 GiB (4.2%) Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
pkgs: 1225 libs: 302 tools: gnome-software,pamac pm: flatpak pkgs: 0
Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.27

test -d /sys/firmware/efi && echo efi || echo bios
=> efi


fdisk -l


Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: CT1000MX500SSD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: CC879895-637B-CF43-9ECB-5BA2BE582654

Device Start End Sectors Size Type
/dev/sda1 4096 618495 614400 300M EFI System
/dev/sda2 618496 1953520064 1952901569 931.2G Linux filesystem


Disk /dev/sdb: 1.36 TiB, 1500301910016 bytes, 2930277168 sectors
Disk model: ST1500DL003-9VT1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xddb07112

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 2930276351 2930274304 1.4T 83 Linux


Disk /dev/nvme0n1: 894.25 GiB, 960197124096 bytes, 1875385008 sectors
Disk model: Force MP510
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9341F02D-DA1A-4685-A4DD-F065B1253BE4

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 206847 204800 100M EFI System
/dev/nvme0n1p2 206848 239615 32768 16M Microsoft reserved
/dev/nvme0n1p3 239616 1874312032 1874072417 893.6G Microsoft basic data
/dev/nvme0n1p4 1874313216 1875382271 1069056 522M Windows recovery environment


Disk /dev/sdc: 232.88 GiB, 250047627264 bytes, 488374272 sectors
Disk model: SanDisk 3.2Gen1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 64 7236127 7236064 3.5G 0 Empty
/dev/sdc2 7236128 7244319 8192 4M ef EFI (FAT-12/16/32)


Disk /dev/loop0: 146.82 MiB, 153948160 bytes, 300680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 1.24 GiB, 1331376128 bytes, 2600344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 1.36 GiB, 1454956544 bytes, 2841712 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 653.71 MiB, 685465600 bytes, 1338800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

efibootmgr -v

BootCurrent: 0009
Timeout: 1 seconds
BootOrder: 0001,0000,0005,0009,000A,0006,0007,0008,000B
Boot0000* Windows Boot Manager HD(1,GPT,f2bbabf4-1fcf-4105-9bc0-51ff17e8fc92,0x800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d0000004d000100000010000000040000007fff0400
dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 20 03 00 00 00 00 00 f4 ab bb f2 cf 1f 05 41 9b c0 51 ff 17 e8 fc 92 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 49 00 43 00 52 00 4f 00 53 00 4f 00 46 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 46 00 57 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 4d 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0001* manjaro HD(1,GPT,207b807b-7635-8442-966f-755a32762f20,0x1000,0x96000)/File(\EFI\MANJARO\GRUBX64.EFI)
dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 7b 80 7b 20 35 76 42 84 96 6f 75 5a 32 76 2f 20 02 02 / 04 04 36 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 41 00 4e 00 4a 00 41 00 52 00 4f 00 5c 00 47 00 52 00 55 00 42 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
Boot0005* UEFI OS HD(1,GPT,207b807b-7635-8442-966f-755a32762f20,0x1000,0x96000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 7b 80 7b 20 35 76 42 84 96 6f 75 5a 32 76 2f 20 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0006* CT1000MX500SSD1 BBS(HD,,0x0)0000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0007* ST1500DL003-9VT16L BBS(HD,,0x0)0000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0008* Force MP510 BBS(HD,,0x0)0000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0009* UEFI: USB PciRoot(0x0)/Pci(0x14,0x0)/USB(25,0)/CDROM(1,0x6e6a20,0x8000)0000424f
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 19 00 / 04 02 18 00 01 00 00 00 20 6a 6e 00 00 00 00 00 00 80 00 00 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot000A* UEFI: USB, Partition 2 PciRoot(0x0)/Pci(0x14,0x0)/USB(25,0)/HD(2,MBR,0x0,0x6e6a20,0x2000)0000424f
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 19 00 / 04 01 2a 00 02 00 00 00 20 6a 6e 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
data: 00 00 42 4f
Boot000B* USB BBS(HD,,0x0)0000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f

Grub ko après démarrage sous Windows 10

#4Messageil y a 6 mois

J'ai fait une réinstallation/reconfiguration de grub depuis un chroot, à présent, j'ai le système qui démarre jusqu'à grub et passe ensuite au mode emergency (de systemd si je ne me trompe pas).

J'ai ensuite regardé dans le journal pour des erreurs, systemctl --failed me retourner l'échec d'un mount snap.
En mode brute, mais pas trop, j'ai désactivé le service en question pour tester :Rouleau: .
Ensuite un redémarrage m'a permis de voir qu'à présent, le blocage venait de ma configuration dans /etc/fstab de la ligne concernant windows. Je regarderai si son uuid a changé. En tout cas commenter cette ligne ma permis de démarrer enfin :fetard:
Répondre