Bonjour,
je viens de tenter une installation de Debian 12, depuis un live USB, sur un ordinateur portable précédemment sous Windows 10 (en UEFI, avec « Secure Boot »). Installation assistée, sur tout le disque, avec /home séparé. L’installation se déroule sans erreur annoncée. Mais au démarrage, aucun disque d’amorçage n’est détecté. En redémarrant sur live USB, voici le retour de fdisk -l (je ne copie pas ce qui concerne la clef usb) :
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5000LPCX-2
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: F9AADF39-0F30-4F5A-88E7-CD68E1522657
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 59643903 58593280 27.9G Linux filesystem
/dev/sda3 59643904 61644799 2000896 977M Linux swap
/dev/sda4 61644800 976771071 915126272 436.4G Linux filesystem
Et le retour de bootinfoscript :
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No known boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/debian/fbx64.efi /efi/debian/grubx64.efi
/efi/debian/mmx64.efi /efi/debian/shimx64.efi
/efi/debian/grub.cfg
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 12 (bookworm)
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
sdb2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT16
Boot sector info: According to the info in the boot sector, sdb2 starts
at sector 0. But according to the info from fdisk,
sdb2 starts at sector 6804. According to the info in
the boot sector, sdb2 has 0 sectors.
Operating System:
Boot files: /boot/grub/grub.cfg /efi/boot/bootx64.efi
/efi/boot/grubx64.efi
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WD5000LPCX-2
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 976,773,167 976,773,167 ee GPT
GUID Partition Table detected.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sda1 2,048 1,050,623 1,048,576 EFI System partition
/dev/sda2 1,050,624 59,643,903 58,593,280 Data partition (Linux)
/dev/sda3 59,643,904 61,644,799 2,000,896 Swap partition (Linux)
/dev/sda4 61,644,800 976,771,071 915,126,272 Data partition (Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk model: USB Flash Drive
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 64 6,201,599 6,201,536 0 Empty
/dev/sdb2 6,804 16,275 9,472 ef EFI (FAT-12/16/32)
/dev/sdb1 overlaps with /dev/sdb2
GUID Partition Table detected, but does not seem to be used.
Partition Attrs Start Sector End Sector # of Sectors System
/dev/sdb1 + R 64 6,201,543 6,201,480 Data partition (Windows/Linux)
/dev/sdb2 + R 6,804 16,275 9,472 Data partition (Windows/Linux)
Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 97CA-2C61 vfat
/dev/sda2 0fd27285-9a31-449d-9f24-f7e5ae735525 ext4
/dev/sda3 41016410-60d2-46eb-bc56-c08d93e5dfd3 swap
/dev/sda4 753698bb-d48b-4981-bb77-6d6f53385c71 ext4
/dev/sdb1 2024-06-29-09-06-14-00 iso9660 d-live 12.6.0 xf amd64
/dev/sdb2 667F-CE86 vfat
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Jul 17 20:50 ata-Slimtype_DVD_A_DA8A6SH_0080F00860207B2AF101 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jul 17 20:50 ata-WDC_WD5000LPCX-21VHAT0_WD-WXQ1E75A813F -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 17 20:50 ata-WDC_WD5000LPCX-21VHAT0_WD-WXQ1E75A813F-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 17 20:50 ata-WDC_WD5000LPCX-21VHAT0_WD-WXQ1E75A813F-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 17 20:50 ata-WDC_WD5000LPCX-21VHAT0_WD-WXQ1E75A813F-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 17 20:50 ata-WDC_WD5000LPCX-21VHAT0_WD-WXQ1E75A813F-part4 -> ../../sda4
lrwxrwxrwx 1 root root 9 Jul 17 20:50 usb-Lexar_USB_Flash_Drive_54021D0E708A583E-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 17 20:50 usb-Lexar_USB_Flash_Drive_54021D0E708A583E-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jul 17 20:50 usb-Lexar_USB_Flash_Drive_54021D0E708A583E-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Jul 17 20:50 wwn-0x50014ee65bc088dd -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 17 20:50 wwn-0x50014ee65bc088dd-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 17 20:50 wwn-0x50014ee65bc088dd-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 17 20:50 wwn-0x50014ee65bc088dd-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 17 20:50 wwn-0x50014ee65bc088dd-part4 -> ../../sda4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /run/live/rootfs/filesystem.squashfs squashfs (ro,noatime,errors=continue)
/dev/loop0 /usr/lib/live/mount/rootfs/filesystem.squashfs squashfs (ro,noatime,errors=continue)
/dev/sda1 /mnt vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
/dev/sdb1 /run/live/medium iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
/dev/sdb1 /usr/lib/live/mount/medium iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
========================== sda1/efi/debian/grub.cfg: ===========================
--------------------------------------------------------------------------------
search.fs_uuid 0fd27285-9a31-449d-9f24-f7e5ae735525 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------
=========================== sda2/boot/grub/grub.cfg: ===========================
J’ai tenté de comprendre un peu des tutoriels et/ou discussion de forum sur le thème « installer grub », mais sans succès. Une aide sera bienvenue, merci d’avance.