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 21/09/2022, à 14:53

ScribeHM

[Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Bonjour à toutes et tous,

J'ai acheté un portable Dell Latitude 5590 reconditionné. J'ai choisi précisément ce modèle parce que Dell le proposait en version Ubuntu au lieu de Windows, ce qui me garantit la compatibilité : Documentation Dell
Ce que je cherche à faire, c'est une double installation Windows 11/Kubuntu, avec une partition partagée en NTFS pour les documents auxquels je veux accéder depuis les deux systèmes d'exploitation, le tout avec chiffrement de cette partition partagée et des deux partitions systèmes, et un démarrage en Secureboot. En théorie, rien d'insurmontable d'après ces tutoriels :
doc.ubuntu-fr.org
www.mikekasberg.com
itsfoss.com
Sauf qu'au moment d'installer Kubuntu, l'installateur plante, disant simplement qu'il a "rencontré un erreur" (merci pour les explications... roll). J'ai cherché un bon moment ce qui coinçait, avant de recourir à Boot-info (merci @Yannubuntu ! big_smile), qui m'a révélé que la NVram était bloquée et empêchait la création de l'entrée boot Ubuntu (si j'ai bien tout compris, tout ça est nouveau pour moi) : paste.ubuntu.com. Malheureusement Boot-repair ne sait pas non plus surmonter le problème.
J'ai de mon côté la possibilité d'ajouter des entrées boot depuis l'interface UEFI. Lorsque j'essaie je trouve bien un dossier "Ubuntu" sur la partition EFI, mais il est vide.
Le reste de l'installation semble s'être bien déroulé, et Kubuntu semble lui être bien installé sur sa partition. Je n'ai pas pu le tester en le démarrant avec le grub d'une clé USB, parce que je ne connais pas la procédure pour un système chiffré avec Luks. Cependant je peux y accèder depuis une session live et j'ai effectué quelques commandes en chroot qui ont fonctionné sans problème.

J'ai essayé de trouver comment résoudre mon problème en consultant des articles en ligne et les articles du forum sur le sujet (dont notamment ceux ci-dessous). Difficile cependant de se faire une opinion fiable, sans être certain que la situation est la même, et comme des avis contradactoires sont parfois donnés :
Problème d'installation en dual boot avec Win10
Problème de DUAL BOOT avec Windows 10
Je pense donc qu'il me faut créer les fichier manquants sur la partition EFI, puis créer manuellement l'entrée boot correspondante. Tout d'abord est-ce que vous êtes d'accord avec ce diagnostic ?
Si oui, j'ai trouvé dans ces articles plusieurs pistes sur la manière de faire, mais j'aimerais de la part d'habitués une confirmation de la bonne méthode à suivre. Est-ce que l'un d'entre vous pourrait m'aider ?
(Résolu)--Impossible d'installer Ubuntu sur Acer ES1-533-C80R EUFI (#13)
Unable to install Ubuntu on Acer Aspire ES1-533

Merci !!

±+++++++
Le problème venait en fait d'avoir procédé dans partition boot séparée. Voir en fin de fil les recommandations à suivre.

Dernière modification par ScribeHM (Le 06/10/2022, à 08:38)

Hors ligne

#2 Le 21/09/2022, à 15:07

xubu1957

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Bonjour,

Collage du Boot-repair, pour les spécialistes :

boot-repair-4ppa200                                              [20220919_1916]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

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:  Windows 7
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

    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:        

sda6: __________________________________________________________________________

    File system:       crypto_LUKS
    Boot sector type:  Unknown
    Boot sector info: 

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 8216 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /ldlinux.sys


================================ 2 OS detected =================================

OS#1:   Ubuntu 22.04.1 LTS on mapper/ubuntu--vg-root
OS#2:   Windows 7 on sda3

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

CPU architecture: 64-bit
Video: UHD Graphics 620 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: 1.24.0 from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled - Please report this message to boot.repair@gmail.com.
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* Windows Boot Manager	HD(1,GPT,70bde28e-f435-43b0-8254-e059073a574f,0x800,0x32000)/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.}...a................
Boot0001* UEFI: MultipleCard Reader 1.00, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0xfcd7767,0x800,0x1e5400)..BO

8059dea463802af4a57ae85af262520f   sda1/Boot/bootx64.efi
8059dea463802af4a57ae85af262520f   sda1/Microsoft/Boot/bootmgfw.efi
13e60e65f1d1f8c642a61ed9be8e65bb   sda1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
mapper/ubuntu--vg-root	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
mapper/ubuntu--vg-root	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: 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
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
mapper/ubuntu--vg-root	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda4	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 8B26CE2A-0F4A-4CAA-9CDF-DF9D2CEB0CF7
          Start        End   Sectors   Size Type
sda1       2048     206847    204800   100M EFI System
sda2     206848     239615     32768    16M Microsoft reserved
sda3     239616  409841023 409601408 195.3G Microsoft basic data
sda4  409841664  588955647 179113984  85.4G Microsoft basic data
sda5  998557696 1000210431   1652736   807M Windows recovery environment
sda6  588955648  998557695 409602048 195.3G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 971.5 MiB, 1018691584 bytes, 1989632 sectors
Disk identifier: 0x0fcd7767
      Boot Start     End Sectors   Size Id Type
sdb1  *     2048 1989631 1987584 970.5M  c W95 FAT32 (LBA)
Disk zram0: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram1: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram2: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram3: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram4: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram5: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram6: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram7: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk mapper/myvolume: 195.3 GiB, 209714151424 bytes, 409597952 sectors
Disk mapper/ubuntu--vg-root: 195.3 GiB, 209711005696 bytes, 409591808 sectors

parted -lm (filtered): _________________________________________________________

sda:512GB:scsi:512:4096:gpt:ATA SanDisk SD7SN6S-:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:210GB:210GB:ntfs:Basic data partition:msftdata;
4:210GB:302GB:91.7GB::Basic data partition:msftdata;
6:302GB:511GB:210GB:::;
5:511GB:512GB:846MB:ntfs::hidden, diag;
sdb:1019MB:scsi:512:512:msdos:Multiple Card Reader:;
1:1049kB:1019MB:1018MB:fat32::boot, lba;
mapper/ubuntu--vg-root:210GB:dm:512:4096:loop:Linux device-mapper (linear):;
1:0.00B:210GB:210GB:ext4::;
mapper/myvolume:210GB:dm:512:4096:unknown:Linux device-mapper (crypt):;

blkid (filtered): ______________________________________________________________

NAME                  FSTYPE      UUID                                   PARTUUID                             LABEL       PARTLABEL
sda                                                                                                                       
├─sda1                vfat        526F-06D5                              70bde28e-f435-43b0-8254-e059073a574f             EFI system partition
├─sda2                                                                   31827f92-4913-4380-aeff-fcea883a127a             Microsoft reserved partition
├─sda3                ntfs        E07670C97670A248                       311b1ca3-3014-4541-936e-db9901bb0df2 Windows     Basic data partition
├─sda4                                                                   76255dbd-7bd8-4ba5-b720-3ca62aba9301             Basic data partition
├─sda5                ntfs        1494A65A94A63E5C                       391819e6-96f9-44bc-b429-4044a2ae3ab7             
└─sda6                crypto_LUKS 25ca5b63-9a48-44d1-931e-d55a61a5f553   3e3a983b-46fd-4aa1-8767-332770632058             
  └─myvolume          LVM2_member JliyC1-2jNW-Q5iH-bvIi-PDi4-whQN-sUBfG0                                                  
    └─ubuntu--vg-root ext4        cf501631-a26c-401a-9b01-6df0ce632a33                                                    
sdb                                                                                                                       
└─sdb1                vfat        907D-9B6D                              0fcd7767-01                          BOOT-REPAIR 

Mount points (filtered): _______________________________________________________

                             Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 172.2G   4% /mnt/boot-sav/mapper/ubuntu--vg-root
/dev/sda1                    47.5M  51% /mnt/boot-sav/sda1
/dev/sda3                   145.1G  26% /mnt/boot-sav/sda3
/dev/sda5                    86.5M  89% /mnt/boot-sav/sda5
/dev/sdb1                    86.5M  91% /cdrom

Mount options (filtered): ______________________________________________________

/dev/mapper/ubuntu--vg-root ext4            rw,relatime
/dev/sda1                   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3                   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5                   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1                   vfat            ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

============================== ls -R /dev/mapper/ ==============================

/dev/mapper:
control
myvolume
ubuntu--vg-root

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

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdb1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

================================= User choice ==================================

Is there RAID on this computer? no


==================== blkid (filtered) before lvm activation ====================

/dev/sda1: UUID="526F-06D5" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="70bde28e-f435-43b0-8254-e059073a574f"
/dev/sda3: LABEL="Windows" UUID="E07670C97670A248" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="311b1ca3-3014-4541-936e-db9901bb0df2"
/dev/sda5: UUID="1494A65A94A63E5C" TYPE="ntfs" PARTUUID="391819e6-96f9-44bc-b429-4044a2ae3ab7"
/dev/sdb1: LABEL="BOOT-REPAIR" UUID="907D-9B6D" TYPE="vfat" PARTUUID="0fcd7767-01"
/dev/sda6: UUID="25ca5b63-9a48-44d1-931e-d55a61a5f553" TYPE="crypto_LUKS" PARTUUID="3e3a983b-46fd-4aa1-8767-332770632058"
/dev/zram0: UUID="4896dd8b-b52f-4e94-8a59-f316a2a79568" TYPE="swap"
/dev/zram1: UUID="736d5f5c-ca18-4677-9e1a-24bf57320775" TYPE="swap"
/dev/zram2: UUID="25689de1-4947-4316-b6c9-644a27ef14ff" TYPE="swap"
/dev/zram3: UUID="e92add72-69b2-4a46-8b7e-c72d2ea87a85" TYPE="swap"
/dev/zram4: UUID="0f3b8bad-e99b-4413-ac18-3c494c0c4375" TYPE="swap"
/dev/zram5: UUID="0dc8c38d-a2be-4219-946d-50ea8aa6f4f5" TYPE="swap"
/dev/zram6: UUID="bd2d2967-49e4-496a-a770-ce2e68e238cf" TYPE="swap"
/dev/zram7: UUID="5c591ad8-b8ad-4e47-9263-247741064e26" TYPE="swap"
/dev/mapper/myvolume: UUID="JliyC1-2jNW-Q5iH-bvIi-PDi4-whQN-sUBfG0" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="cf501631-a26c-401a-9b01-6df0ce632a33" TYPE="ext4"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="31827f92-4913-4380-aeff-fcea883a127a"
/dev/sda4: PARTLABEL="Basic data partition" PARTUUID="76255dbd-7bd8-4ba5-b720-3ca62aba9301"


================================ LVM activation ================================

modprobe dm-mod  
vgscan --mknodes
  Reading volume groups from cache.
  Found volume group "ubuntu-vg" using metadata type lvm2
vgchange -ay
  1 logical volume(s) in volume group "ubuntu-vg" now active
lvscan
  ACTIVE            '/dev/ubuntu-vg/root' [<195.31 GiB] inherit
blkid -g

Successfully activated LVM.


==================== blkid (filtered) after lvm activation =====================

/dev/sda1: UUID="526F-06D5" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="70bde28e-f435-43b0-8254-e059073a574f"
/dev/sda3: LABEL="Windows" UUID="E07670C97670A248" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="311b1ca3-3014-4541-936e-db9901bb0df2"
/dev/sda5: UUID="1494A65A94A63E5C" TYPE="ntfs" PARTUUID="391819e6-96f9-44bc-b429-4044a2ae3ab7"
/dev/sdb1: LABEL="BOOT-REPAIR" UUID="907D-9B6D" TYPE="vfat" PARTUUID="0fcd7767-01"
/dev/sda6: UUID="25ca5b63-9a48-44d1-931e-d55a61a5f553" TYPE="crypto_LUKS" PARTUUID="3e3a983b-46fd-4aa1-8767-332770632058"
/dev/zram0: UUID="4896dd8b-b52f-4e94-8a59-f316a2a79568" TYPE="swap"
/dev/zram1: UUID="736d5f5c-ca18-4677-9e1a-24bf57320775" TYPE="swap"
/dev/zram2: UUID="25689de1-4947-4316-b6c9-644a27ef14ff" TYPE="swap"
/dev/zram3: UUID="e92add72-69b2-4a46-8b7e-c72d2ea87a85" TYPE="swap"
/dev/zram4: UUID="0f3b8bad-e99b-4413-ac18-3c494c0c4375" TYPE="swap"
/dev/zram5: UUID="0dc8c38d-a2be-4219-946d-50ea8aa6f4f5" TYPE="swap"
/dev/zram6: UUID="bd2d2967-49e4-496a-a770-ce2e68e238cf" TYPE="swap"
/dev/zram7: UUID="5c591ad8-b8ad-4e47-9263-247741064e26" TYPE="swap"
/dev/mapper/myvolume: UUID="JliyC1-2jNW-Q5iH-bvIi-PDi4-whQN-sUBfG0" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="cf501631-a26c-401a-9b01-6df0ce632a33" TYPE="ext4"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="31827f92-4913-4380-aeff-fcea883a127a"
/dev/sda4: PARTLABEL="Basic data partition" PARTUUID="76255dbd-7bd8-4ba5-b720-3ca62aba9301"


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to enable-lvm) and reinstall the grub-efi of
mapper/ubuntu--vg-root,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Confirmation request before suggested repair: __________________________________

You may want to retry after mounting your encrypted partitions so that the tool can verify their contents. (sudo cryptsetup luksOpen /dev/sda6 myvolume)
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (sda1/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)

Pour ton modèle, je vois cette réponse de HPIR40.


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

#3 Le 21/09/2022, à 15:08

geole

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Bonjour
Réponse rapide: Comme tu dis que la NVRAM refuse d'être modifiée et que tu veux maintenant un dual  boot, je te conseille de le gérer par refind au lieu du grub
Donc un peu de lecture pour toi https://doc.ubuntu-fr.org/refind

==================================== UEFI =====================================
BIOS/UEFI firmware: 1.24.0 from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled - Please report this message to boot.repair@gmail.com.

BootOrder: 0000,0001
Boot0000* Windows Boot Manager    HD(1,GPT,70bde28e-f435-43b0-8254-e059073a574f,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS..

Donc   il faudrait déjà activer le secure boot puisque c'est ton choix . Bien que cela ne semble pas nécessaire.
[quotes=https://support.microsoft.com/fr-fr/windows/windows-11-et-d%C3%A9marrage-s%C3%A9curis%C3%A9-a8ff1202-c0d9-42f5-940f-843abef64fad]Bien que seule la fonctionnalité de démarrage sécurisé soit requise pour la mise à niveau dʼun appareil Windows 10 vers Windows 11, via lʼactivation du mode UEFI/BIOS, vous pouvez également envisager dʼactiver le démarrage sécurisé pour une meilleure sécurité.[/quotes]

On va vérifier tout de suite  le problème que tu dis  " nvram non modifiable"   avec cette commande que tu peux faire avec le support d'installation

sudo efibootmgr --create --disk /dev/sda --part 1 --label "grububuntu" --loader "\EFI\Boot\bootx64.efi" 

On fait déjà le point avec cette commande et le passage en mode sécure


Si la mise à jour ne se fait pas. Cela va être un peu  plus compliqué car refind  ne sait pas détecter  un  ubuntu chiffré mais seulement la structure de boot qu'il faudra installer dans un fichier dédié au boot qui sera alors reconnu.
Mais je sais que boot-repair traite ce probablement correctement

IL faudra aussi que tu regardes  dans ton bios,  si après avoir mis le mode secure actif, tu peux choisir un fichier de boot pour qu'il soit autorisé à booter comme pour les ACER. Tu pourras essayer avec celui-ci /efi/Boot/bootx64.efi

Si cela fonctionne, on n'aura pas besoin de refind, il suffira de lancer boot-repair

Dernière modification par geole (Le 21/09/2022, à 15:58)


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

Hors ligne

#4 Le 21/09/2022, à 15:56

geole

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

ScribeHM a écrit :

Je pense donc qu'il me faut créer les fichier manquants sur la partition EFI, puis créer manuellement l'entrée boot correspondante. Tout d'abord est-ce que vous êtes d'accord avec ce diagnostic ?

Passe ton bios en mode sécure_boot et lance la réparation recommandée de boot-repair et surtout fourni son rapport d'exécution.
==> boot-repair  teste si le secure  est positionné pour installer shimx64.efi sinon, il installe grubx64.efi

S'il foire, on fera un chroot à adapter au chiffrement  puis cette commande de réparation

sudo grub-install --no-nvram --efi-directory=/boot/efi 

Mais, comme je te l'ai dit,  boot-repair utilise cette option (--no-nvram)  si le bios daigne correctement répondre.

Puis après tu définiras le bon  fichier de boot  autorisé a booter.
Si c'est pris en compte, il n'y aura pas besoin de refind

Dernière modification par geole (Le 21/09/2022, à 16:07)


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

Hors ligne

#5 Le 21/09/2022, à 16:24

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

xubu1957 a écrit :

Pour ton modèle, je vois cette réponse de HPIR40.

Merci, mais ça ne me dit pas vraiment comment procéder. Ce n'est pas non plus un dual boot, mais peut-être que ça ne change rien à la procédure ?

Hors ligne

#6 Le 21/09/2022, à 16:45

xubu1957

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

En matière d'installation, je ne suis pas compétent.

@geole

Si tu vois une piste > [Résolu] dell lattitude 5590 aucune version ne fonctionne


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

#7 Le 21/09/2022, à 17:03

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

geole a écrit :

Passe ton bios en mode sécure_boot et lance la réparation recommandée de boot-repair et surtout fourni son rapport d'exécution.
==> boot-repair  teste si le secure  est positionné pour installer shimx64.efi sinon, il installe grubx64.efi

Bonjour geole. Si j'active le Secure Boot, impossible de démarrer sur la clé Boot-repair. Elle est apparemment dans la liste des exclusions.

Hors ligne

#8 Le 21/09/2022, à 17:13

geole

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Tu veux dire la clé du support d'installation de ubuntu?
Si c'est le cas, refais un support d'installation avec ventoy en précisant bien que tu veux installer la structure sécure boot. https://doc.ubuntu-fr.org/ventoy

Ajout. Je viens de voir que les dernières versions de ventoy sont automatiquement prévues pour le secure boot. Il n'y a donc rien à faire de particulier.

Dernière modification par geole (Le 06/10/2022, à 09:44)


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

Hors ligne

#9 Le 21/09/2022, à 17:30

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

xubu1957 a écrit :

J'ai regardé ce fil, merci. Par contre on parle là de modifier les paramètres de grub. Je ne pense pas que ça puisse m'aider, comme mon problème c'est justement d'installer grub. Ou ai-je mal compris ?
Sinon le PC fonctionne à partir de la clé d'installation en mode "Try Ubuntu". C'est à partir de là que je chroot en général (ou bien à partir de la clé où j'ai installé Boot-repair).

Hors ligne

#10 Le 21/09/2022, à 22:50

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

geole a écrit :

Tu veux dire la clé du support d'installation de ubuntu?
Si c'est le cas, refais un support d'installation avec ventoy en précisant bien que tu veux installer la structure sécure boot. https://doc.ubuntu-fr.org/ventoy

J'avais fait une clé USB spéciale pour Boot-repair, séparée de ma clé d'installation de Kubuntu 22.04.
J'ai du coup recréé une clé avec Ventoy (ça a l'air bien pratique !) en activant le support Secure Boot. Mon boot manager reconnait la partition EFI de la clé Ventoy, mais lorsque j'essaie de booter dessus, j'ai toujours le même message d'erreur : "Operating System Loader signature found in SecureBoot exclusion database ('dbx')". Je n'arrive pas sur l'écran bleu annoncé par Ventoy dans la documentation Secure boot.
J'ai du coup essayé d'ajouter moi-même la clé ENROLL_THIS_KEY_IN_MOK_MANAGER.cer créée par Ventoy depuis le BIOS en mode Custom, en essayant de reproduire les étapes du GIF animé de la documentation Ventoy. Je ne dois pas m'y prendre comme il faut, parce que j'obtiens le message "Error appending key. Please make sure the new key is signed and formatted properly." Sans doute que je n'ai pas sélectionné les bonnes options. J'ai choisi le mode de gestion des clés dbx parce c'est ce qui était mentionné dans le message d'erreur, sans trop savoir. Les autres choix sont PK, KEK et db. Je me suis arrêté là avant de faire une bêtise, en attendant vos conseils.

Hors ligne

#11 Le 21/09/2022, à 23:12

geole

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Je ne connais pas trop la procédure manuelle de certification mais tu peux essayer avec les trois autres choix. Je ne sais pas quelle version de shim ils ont mis , certainement la plus récente.


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

Hors ligne

#12 Le 22/09/2022, à 00:06

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

J'ai aussi le message d'erreur "Error appending key. Please make sure the new key is signed and formatted properly." avec les modes KEK et db. Pour le mode PK il ne propose pas de faire Append, je ne vais pas me lancer dans un remplacement sans savoir !

Sinon j'ai essayé la clé en mode non Secure Boot, juste pour vérifier qu'elle fonctionne bien, et c'est le cas.
Une dernière précision : pour l'instant je n'ai pas activé de mot de passe administrateur dans le BIOS. Ce n'est donc pas ça qui bloque.

Hors ligne

#13 Le 22/09/2022, à 08:18

geole

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Bonjour.
Tu peux toujours continuer en mode non secure pour voir le comportement de boot-repair.
Il mettra  grubx64   mais plus tard on refera.

Puis tu lances boot-repair et tu donnes son retour afin de voir si cela répare.
Autrement, on fera en chroot. Il y aura un peu de tatonnement au montage de la partition chiffrée mais normalement, je maitrise.

Tu devrais lancer une mise à jour de windows10 en windows11 histoire de vérifier que le matériel est compatible notamment la puce de chiffrement qui doit être en version 2 et pas 1.2

Dernière modification par geole (Le 22/09/2022, à 08:20)


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

Hors ligne

#14 Le 22/09/2022, à 15:21

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Bonjour geole,

Le PC est déjà sous Windows 11, c'est bon.
J'ai mis le Secure Boot en mode Audit. Il vérifie les signatures mais ne bloque pas l'exécution des drivers et bootloaders, ce que Boot-repair identifie comme "SecureBoot disabled". Voici le résultat de Boot-repair : https://paste.ubuntu.com/p/MyxgyZp3Nj/

Hors ligne

#15 Le 22/09/2022, à 15:23

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

(Au fait, il y a moyen de paramétrer le forum pour ne pas se faire déconnecter automatiquement ? C'est assez pénible mad)

Hors ligne

#16 Le 22/09/2022, à 15:24

xubu1957

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Bonjour,

Collage du Boot-repair, pour les spécialistes :

boot-repair-4ppa200                                              [20220922_1302]

============================= Boot Repair Summary ==============================

User choice:

Is there RAID on this computer? no


==================== blkid (filtered) before lvm activation ====================

/dev/sda1: UUID="526F-06D5" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="70bde28e-f435-43b0-8254-e059073a574f"
/dev/sda3: LABEL="Windows" UUID="E07670C97670A248" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="311b1ca3-3014-4541-936e-db9901bb0df2"
/dev/sda5: UUID="1494A65A94A63E5C" TYPE="ntfs" PARTUUID="391819e6-96f9-44bc-b429-4044a2ae3ab7"
/dev/sda6: UUID="25ca5b63-9a48-44d1-931e-d55a61a5f553" TYPE="crypto_LUKS" PARTUUID="3e3a983b-46fd-4aa1-8767-332770632058"
/dev/sdb1: LABEL="MICROSCAN" UUID="C4FB-68C3" TYPE="vfat" PARTUUID="057558d5-01"
/dev/sdc1: LABEL="Ventoy" UUID="6804-C01E" TYPE="exfat" PTTYPE="dos" PARTUUID="3ffa5599-01"
/dev/mapper/ventoy: UUID="2020-06-13-00-42-55-00" LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660" PTUUID="2c534026" PTTYPE="dos"
/dev/zram0: UUID="a2945f47-d9b4-4241-a7db-928623a0be76" TYPE="swap"
/dev/zram1: UUID="6a6caa3a-0dd6-4b54-9983-a64c538b05d0" TYPE="swap"
/dev/zram2: UUID="1543a6e0-36af-4eae-a92d-1208ddf0eecb" TYPE="swap"
/dev/zram3: UUID="86a455d5-4a02-47f8-bea9-b0d318455e7d" TYPE="swap"
/dev/zram4: UUID="62de3ef8-1388-44ce-a186-6aaf0c3cbaa5" TYPE="swap"
/dev/zram5: UUID="4f68e49b-e61d-448d-8e21-4a040a036d6e" TYPE="swap"
/dev/zram6: UUID="fd354cbd-d0ac-4b45-a433-a3b41ff0093d" TYPE="swap"
/dev/zram7: UUID="bfa78c09-a5e9-4e4a-9304-1ad659465c14" TYPE="swap"
/dev/mapper/myvolume: UUID="JliyC1-2jNW-Q5iH-bvIi-PDi4-whQN-sUBfG0" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="cf501631-a26c-401a-9b01-6df0ce632a33" TYPE="ext4"
/dev/sdc2: UUID="2020-06-13-00-42-55-00" LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660" PTUUID="2c534026" PTTYPE="dos"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="31827f92-4913-4380-aeff-fcea883a127a"
/dev/sda4: PARTLABEL="Basic data partition" PARTUUID="76255dbd-7bd8-4ba5-b720-3ca62aba9301"


================================ LVM activation ================================

modprobe dm-mod  
vgscan --mknodes
  Reading volume groups from cache.
  Found volume group "ubuntu-vg" using metadata type lvm2
vgchange -ay
  1 logical volume(s) in volume group "ubuntu-vg" now active
lvscan
  ACTIVE            '/dev/ubuntu-vg/root' [<195.31 GiB] inherit
blkid -g



Default settings: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to enable-lvm) and reinstall the grub-efi of
mapper/ubuntu--vg-root,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Confirmation request before suggested repair: __________________________________

You may want to retry after mounting your encrypted partitions so that the tool can verify their contents. (sudo cryptsetup luksOpen /dev/sda6 myvolume)
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (sda1/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)

User settings: _________________________________________________________________

[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
The settings chosen by the user will purge (in order to enable-lvm) and reinstall the grub-efi of
mapper/ubuntu--vg-root,
using the following options:  sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file


Mount sda1 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi
chroot /mnt/boot-sav/mapper/ubuntu--vg-root apt-get -y update
Purge the GRUB of mapper/ubuntu--vg-root
grub-efi available

The following packages were automatically installed and are no longer required:
libdevmapper1.02.1:i386 libefiboot1:i386 libefivar1:i386 libudev1:i386
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 192 not upgraded.
DEBCHECK debOK, grub-efi
DEBCHECK debOK
Please type: sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -ansudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -fynsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y lvm2nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get purge --allow-remove-essential -y grub-com*nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get purge --allow-remove-essential -y grub2-com*nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get purge --allow-remove-essential -y shim-signednsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get purge --allow-remove-essential -y grub-common:*nsudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get purge --allow-remove-essential -y grub2-common:*n
Then type: sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y grub-efi

Unhide GRUB boot menu in mapper/ubuntu--vg-root/etc/default/grub

=============== Reinstall the grub-efi of mapper/ubuntu--vg-root ===============

chroot /mnt/boot-sav/mapper/ubuntu--vg-root grub-install --version
grub-install (GRUB) 2.06-2ubuntu7
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.3.0-28-generic
chroot /mnt/boot-sav/mapper/ubuntu--vg-root modprobe efivars

chroot /mnt/boot-sav/mapper/ubuntu--vg-root efibootmgr -v before grub install
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* Windows Boot Manager	HD(1,GPT,70bde28e-f435-43b0-8254-e059073a574f,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.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.}...a................
Boot0001* UEFI: MultipleCard Reader 1.00, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(8,0)/HD(2,MBR,0x3ffa5599,0xcc3000,0x10000)..BO

chroot /mnt/boot-sav/mapper/ubuntu--vg-root uname -r
5.3.0-28-generic

chroot /mnt/boot-sav/mapper/ubuntu--vg-root grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 21950: grub-install
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 21950: grub-install
grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'.
Exit code: 1
Error: no grub*.efi generated for Ubuntu 22.04.1 LTS. Please report this message to boot.repair@gmail.com

chroot /mnt/boot-sav/mapper/ubuntu--vg-root /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --recheck
Installing for x86_64-efi platform.
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22145: /sbin/grub-install
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22145: /sbin/grub-install
/sbin/grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'.

chroot /mnt/boot-sav/mapper/ubuntu--vg-root /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-nvram
Installing for x86_64-efi platform.
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22193: /sbin/grub-install
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22193: /sbin/grub-install
/sbin/grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'.
--no-nvram exit code: 1 Please report this message to boot.repair@gmail.com

chroot /mnt/boot-sav/mapper/ubuntu--vg-root efibootmgr -v after grub install
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* Windows Boot Manager	HD(1,GPT,70bde28e-f435-43b0-8254-e059073a574f,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.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.}...a................
Boot0001* UEFI: MultipleCard Reader 1.00, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(8,0)/HD(2,MBR,0x3ffa5599,0xcc3000,0x10000)..BO
Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com

chroot /mnt/boot-sav/mapper/ubuntu--vg-root update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22427: grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22427: grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22868: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22868: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.15.0-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22997: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22997: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 23035: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 23035: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 23072: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 23072: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 23109: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 23109: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 23346: /usr/sbin/grub-probe
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 23346: /usr/sbin/grub-probe
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdc2.  Check your device.map.
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi

Unhide GRUB boot menu in mapper/ubuntu--vg-root/boot/grub/grub.cfg

An error occurred during the repair.
Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com

Locked-NVram detected.


============================ Boot Info After Repair ============================

 => No boot loader is installed in the MBR of /dev/sda.
 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sdb.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,2)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    offsetio extcmd macho elf file setkey gettext boot bufio verifiers crypto 
    terminal normal datetime date mmap drivemap blocklist regexp archelp newc 
    vga_text relocator video chain ntldr search_label search_fs_file 
    search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5 
    hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi iso9660 
    gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy read 
    halt video_fb vbe linux linux16 test true sleep reboot echo bitmap 
    bitmap_scale gfxterm trig video_colors gfxmenu videotest videoinfo 
    functional_test videotest_checksum video_cirrus video_bochs vga minicmd 
    help configfile tr biosdisk disk ls tar zfs squash4 pbkdf2 gcry_sha512 
    password_pbkdf2 all_video png jpeg part_gpt part_msdos fat ntfs loopback 
    gfxterm_background procfs gfxterm_menu smbios
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

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:  Windows 7
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

    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:        

sda6: __________________________________________________________________________

    File system:       crypto_LUKS
    Boot sector type:  Unknown
    Boot sector info: 

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       exfat
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   fuse: mount failed: Device or resource busy

sdc2: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 2 OS detected =================================

OS#1:   Ubuntu 22.04.1 LTS on mapper/ubuntu--vg-root
OS#2:   Windows 7 on sda3

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

CPU architecture: 64-bit
Video: UHD Graphics 620 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: 1.24.0 from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Please report this message to boot.repair@gmail.com.
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* Windows Boot Manager	HD(1,GPT,70bde28e-f435-43b0-8254-e059073a574f,0x800,0x32000)/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.}...a................
Boot0001* UEFI: MultipleCard Reader 1.00, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(8,0)/HD(2,MBR,0x3ffa5599,0xcc3000,0x10000)..BO

8059dea463802af4a57ae85af262520f   sda1/Boot/bootx64.efi
8059dea463802af4a57ae85af262520f   sda1/Microsoft/Boot/bootmgfw.efi
13e60e65f1d1f8c642a61ed9be8e65bb   sda1/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/ubuntu--vg-root	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/ubuntu--vg-root	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: 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
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
mapper/ubuntu--vg-root	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda4	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 8B26CE2A-0F4A-4CAA-9CDF-DF9D2CEB0CF7
          Start        End   Sectors   Size Type
sda1       2048     206847    204800   100M EFI System
sda2     206848     239615     32768    16M Microsoft reserved
sda3     239616  409841023 409601408 195.3G Microsoft basic data
sda4  409841664  588955647 179113984  85.4G Microsoft basic data
sda5  998557696 1000210431   1652736   807M Windows recovery environment
sda6  588955648  998557695 409602048 195.3G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 998 MiB, 1046478848 bytes, 2043904 sectors
Disk identifier: 0x057558d5
      Boot Start     End Sectors  Size Id Type
sdb1  *     2048 2043903 2041856  997M  c W95 FAT32 (LBA)
Disk sdc: 7.4 GiB, 7958691840 bytes, 15544320 sectors
Disk identifier: 0x3ffa5599
      Boot    Start      End  Sectors  Size Id Type
sdc1  *        2048 13381631 13379584  6.4G  7 HPFS/NTFS/exFAT
sdc2       13381632 13447167    65536   32M ef EFI (FAT-12/16/32)
Disk mapper/ventoy: 880 MiB, 922746880 bytes, 1802240 sectors
Disk identifier: 0x2c534026
                    Boot Start     End Sectors  Size Id Type
mapper/ventoy-part1 *        0 1802239 1802240  880M  0 Empty
mapper/ventoy-part2        964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram1: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram2: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram3: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram4: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram5: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram6: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram7: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk mapper/myvolume: 195.3 GiB, 209714151424 bytes, 409597952 sectors
Disk mapper/ubuntu--vg-root: 195.3 GiB, 209711005696 bytes, 409591808 sectors

parted -lm (filtered): _________________________________________________________

sda:512GB:scsi:512:4096:gpt:ATA SanDisk SD7SN6S-:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:210GB:210GB:ntfs:Basic data partition:msftdata;
4:210GB:302GB:91.7GB::Basic data partition:msftdata;
6:302GB:511GB:210GB:::;
5:511GB:512GB:846MB:ntfs::hidden, diag;
sdb:1046MB:scsi:512:512:msdos:USB 2.0 :;
1:1049kB:1046MB:1045MB:fat32::boot, lba;
sdc:7959MB:scsi:512:512:msdos:Multiple Card Reader:;
1:1049kB:6851MB:6850MB:::boot;
2:6851MB:6885MB:33.6MB:fat16::esp;
mapper/ventoy:923MB:dm:512:512:msdos:Linux device-mapper (linear):;
2:494kB:3017kB:2523kB:::esp;
mapper/ubuntu--vg-root:210GB:dm:512:4096:loop:Linux device-mapper (linear):;
1:0.00B:210GB:210GB:ext4::;
mapper/myvolume:210GB:dm:512:4096:unknown:Linux device-mapper (crypt):;

Free space >10MiB: ______________________________________________________________

sdc: 6566MiB:7590MiB:1024MiB

blkid (filtered): ______________________________________________________________

NAME                  FSTYPE      UUID                                   PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                                                  
├─sda1                vfat        526F-06D5                              70bde28e-f435-43b0-8254-e059073a574f                        EFI system partition
├─sda2                                                                   31827f92-4913-4380-aeff-fcea883a127a                        Microsoft reserved partition
├─sda3                ntfs        E07670C97670A248                       311b1ca3-3014-4541-936e-db9901bb0df2 Windows                Basic data partition
├─sda4                                                                   76255dbd-7bd8-4ba5-b720-3ca62aba9301                        Basic data partition
├─sda5                ntfs        1494A65A94A63E5C                       391819e6-96f9-44bc-b429-4044a2ae3ab7                        
└─sda6                crypto_LUKS 25ca5b63-9a48-44d1-931e-d55a61a5f553   3e3a983b-46fd-4aa1-8767-332770632058                        
  └─myvolume          LVM2_member JliyC1-2jNW-Q5iH-bvIi-PDi4-whQN-sUBfG0                                                             
    └─ubuntu--vg-root ext4        cf501631-a26c-401a-9b01-6df0ce632a33                                                               
sdb                                                                                                                                  
└─sdb1                vfat        C4FB-68C3                              057558d5-01                          MICROSCAN              
sdc                                                                                                                                  
├─sdc1                exfat       6804-C01E                              3ffa5599-01                          Ventoy                 
│ └─ventoy                                                                                                                           
└─sdc2                iso9660     2020-06-13-00-42-55-00                                                      Boot-Repair-Disk 64bit 

Mount points (filtered): _______________________________________________________

                             Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 172.2G   4% /mnt/boot-sav/mapper/ubuntu--vg-root
/dev/mapper/ventoy               0 100% /cdrom
/dev/sda1                    47.5M  51% /mnt/boot-sav/sda1
/dev/sda3                   130.6G  33% /mnt/boot-sav/sda3
/dev/sda5                    86.5M  89% /mnt/boot-sav/sda5
/dev/sdb1                   678.1M  32% /media/lubuntu/MICROSCAN
/dev/sdc2                        0 100% /media/lubuntu/Boot-Repair-Disk 64bit
/dev/sdc2                        0 100% /media/lubuntu/Boot-Repair-Disk 64bit1

Mount options (filtered): ______________________________________________________

/dev/mapper/ubuntu--vg-root ext4            rw,relatime
/dev/mapper/ventoy          iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sda1                   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3                   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5                   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1                   vfat            rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
/dev/sdc2                   iso9660         ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sdc2                   iso9660         ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048

============================== ls -R /dev/mapper/ ==============================

/dev/mapper:
control
myvolume
ubuntu--vg-root
ventoy

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


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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

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

#17 Le 22/09/2022, à 16:43

geole

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Extraits du boot-repair
La commande demandée

The settings chosen by the user will purge (in order to enable-lvm) and reinstall the grub-efi of
mapper/ubuntu--vg-root,
using the following options:  sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file

La commande de montage et de chroot au cas où il faudrait refaire manuellement

Mount sda1 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi
chroot /mnt/boot-sav/mapper/ubuntu--vg-root apt-get -y update

La première commande de réparation qui  n'est pas réussie

=============== Reinstall the grub-efi of mapper/ubuntu--vg-root ===============
chroot /mnt/boot-sav/mapper/ubuntu--vg-root grub-install --version
grub-install (GRUB) 2.06-2ubuntu7
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.3.0-28-generic

Donc, normalement, on doit retenter d'une autre manière qui foire aussi

chroot /mnt/boot-sav/mapper/ubuntu--vg-root grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 21950: grub-install
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 21950: grub-install
grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'.
Exit code: 1

et celle qui aurait du être bonne en disant de ne pas modifier la NVRAM

chroot /mnt/boot-sav/mapper/ubuntu--vg-root /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-nvram
Installing for x86_64-efi platform.
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22193: /sbin/grub-install
File descriptor 63 (pipe:[73244]) leaked on vgs invocation. Parent PID 22193: /sbin/grub-install
/sbin/grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'.


Je pense que ce message "Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'
qu'il faudrait mettre l'option et que boot-repair ne le fait pas

Je recherche un peu car elle n'est pas dans la documentation https://doc.ubuntu-fr.org/tutoriel/grub … age_manuel

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1813126 a écrit :

I did try to add GRUB_ENABLE_CRYPTODISK=y in /etc/default/grub and successfully run update-grub in a chroot, but



Vu tes connaissances, je pense que tu peux  réussir sans trop de difficultés à mettre à jour  ce fichier . Une aide est donnée

You may want to retry after mounting your encrypted partitions so that the tool can verify their contents. (sudo cryptsetup luksOpen /dev/sda6 myvolume)
Are you sure you want to continue anyway?

   et relancer un boot-repair voir lancer directement la commande de réparation.

Un exemple de chroot   https://askubuntu.com/questions/857028/ … -partition

sudo -i
cryptsetup open /dev/sda5 my_encrypted_device
mount /dev/mapper/my_encrypted_device /mnt
mount --bind /dev/ /mnt/dev && mount --bind /dev/pts /mnt/dev/pts && mount --bind /proc /mnt/proc && mount --bind /sys /mnt/sys
mount /dev/<YOUR_BOOT_PARTITION> /mnt/boot
chroot /mnt

Dernière modification par geole (Le 22/09/2022, à 16:58)


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

Hors ligne

#18 Le 22/09/2022, à 17:11

geole

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

ScribeHM a écrit :

Bonjour à toutes et tous,
Ce que je cherche à faire, c'est une double installation Windows 11/Kubuntu, avec une partition partagée en NTFS pour les documents auxquels je veux accéder depuis les deux systèmes d'exploitation, le tout avec chiffrement de cette partition partagée

Tandis que j'y pense.
Tu devrais pouvoir accéder  à la partition chiffrée par windows en installant dislocker


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

Hors ligne

#19 Le 22/09/2022, à 18:53

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

geole a écrit :

Je pense que ce message "Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'
qu'il faudrait mettre l'option et que boot-repair ne le fait pas

J'étais persuadé l'avoir fait... sauf que j'avais oublié de faire update-grub après roll C'est maintenant corrigé.

geole a écrit :

et celle qui aurait du être bonne en disant de ne pas modifier la NVRAM

chroot /mnt/boot-sav/mapper/ubuntu--vg-root /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-nvram

J'ai ensuite lancé la commande avec l'option --no-nvram que tu m'as donnée et j'ai pu installer grub. On progresse ! Merci !! smile
Voici le boot-info mis à jour : https://paste.ubuntu.com/p/SjZshtGR6v/

Dans un élan d'optimisme j'ai créé une entrée boot en sélectionnant le fichier \EFI\EFI\ubuntu\grubx64.efi, mais j'arrive juste une une invite grub, c'est tout. C'était trop beau pour être vrai ! big_smile

Hors ligne

#20 Le 22/09/2022, à 18:57

xubu1957

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Troisième mouture :

boot-repair-4ppa200                                              [20220922_1636]

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

 => No boot loader is installed in the MBR of /dev/sda.
 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sdb.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdc and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,2)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    offsetio extcmd macho elf file setkey gettext boot bufio verifiers crypto 
    terminal normal datetime date mmap drivemap blocklist regexp archelp newc 
    vga_text relocator video chain ntldr search_label search_fs_file 
    search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5 
    hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi iso9660 
    gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy read 
    halt video_fb vbe linux linux16 test true sleep reboot echo bitmap 
    bitmap_scale gfxterm trig video_colors gfxmenu videotest videoinfo 
    functional_test videotest_checksum video_cirrus video_bochs vga minicmd 
    help configfile tr biosdisk disk ls tar zfs squash4 pbkdf2 gcry_sha512 
    password_pbkdf2 all_video png jpeg part_gpt part_msdos fat ntfs loopback 
    gfxterm_background procfs gfxterm_menu smbios
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /grub/grub.cfg /efi/Boot/bootx64.efi 
                       /efi/EFI/ubuntu/grubx64.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/EFI/ubuntu/grub.cfg

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

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:  Windows 7
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

    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:        

sda6: __________________________________________________________________________

    File system:       crypto_LUKS
    Boot sector type:  Unknown
    Boot sector info: 

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       exfat
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   fuse: mount failed: Device or resource busy

sdc2: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 2 OS detected =================================

OS#1:   Ubuntu 22.04.1 LTS on mapper/ubuntu--vg-root
OS#2:   Windows 7 on sda3

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

CPU architecture: 64-bit
Video: UHD Graphics 620 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: 1.24.0 from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Please report this message to boot.repair@gmail.com.
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* Windows Boot Manager	HD(1,GPT,70bde28e-f435-43b0-8254-e059073a574f,0x800,0x32000)/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.}...a................
Boot0001* UEFI: MultipleCard Reader 1.00, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(8,0)/HD(2,MBR,0x3ffa5599,0xcc3000,0x10000)..BO

8059dea463802af4a57ae85af262520f   sda1/Boot/bootx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   sda1/ubuntu/grubx64.efi
8059dea463802af4a57ae85af262520f   sda1/Microsoft/Boot/bootmgfw.efi
13e60e65f1d1f8c642a61ed9be8e65bb   sda1/Microsoft/Boot/bootmgr.efi
f62c28d9b477b6a1a7b1c991b2b6637d   sda1/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	grubenv-ok,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
mapper/ubuntu--vg-root	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
mapper/ubuntu--vg-root	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: 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
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
mapper/ubuntu--vg-root	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda4	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 8B26CE2A-0F4A-4CAA-9CDF-DF9D2CEB0CF7
          Start        End   Sectors   Size Type
sda1       2048     206847    204800   100M EFI System
sda2     206848     239615     32768    16M Microsoft reserved
sda3     239616  409841023 409601408 195.3G Microsoft basic data
sda4  409841664  588955647 179113984  85.4G Microsoft basic data
sda5  998557696 1000210431   1652736   807M Windows recovery environment
sda6  588955648  998557695 409602048 195.3G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 998 MiB, 1046478848 bytes, 2043904 sectors
Disk identifier: 0x057558d5
      Boot Start     End Sectors  Size Id Type
sdb1  *     2048 2043903 2041856  997M  c W95 FAT32 (LBA)
Disk sdc: 7.4 GiB, 7958691840 bytes, 15544320 sectors
Disk identifier: 0x3ffa5599
      Boot    Start      End  Sectors  Size Id Type
sdc1  *        2048 13381631 13379584  6.4G  7 HPFS/NTFS/exFAT
sdc2       13381632 13447167    65536   32M ef EFI (FAT-12/16/32)
Disk mapper/ventoy: 880 MiB, 922746880 bytes, 1802240 sectors
Disk identifier: 0x2c534026
                    Boot Start     End Sectors  Size Id Type
mapper/ventoy-part1 *        0 1802239 1802240  880M  0 Empty
mapper/ventoy-part2        964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram1: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram2: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram3: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram4: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram5: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram6: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk zram7: 488.7 MiB, 512434176 bytes, 125106 sectors
Disk mapper/myvolume: 195.3 GiB, 209714151424 bytes, 409597952 sectors
Disk mapper/ubuntu--vg-root: 195.3 GiB, 209711005696 bytes, 409591808 sectors

parted -lm (filtered): _________________________________________________________

sda:512GB:scsi:512:4096:gpt:ATA SanDisk SD7SN6S-:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:210GB:210GB:ntfs:Basic data partition:msftdata;
4:210GB:302GB:91.7GB::Basic data partition:msftdata;
6:302GB:511GB:210GB:::;
5:511GB:512GB:846MB:ntfs::hidden, diag;
sdb:1046MB:scsi:512:512:msdos:USB 2.0 :;
1:1049kB:1046MB:1045MB:fat32::boot, lba;
sdc:7959MB:scsi:512:512:msdos:Multiple Card Reader:;
1:1049kB:6851MB:6850MB:::boot;
2:6851MB:6885MB:33.6MB:fat16::esp;
mapper/ventoy:923MB:dm:512:512:msdos:Linux device-mapper (linear):;
2:494kB:3017kB:2523kB:::esp;
mapper/ubuntu--vg-root:210GB:dm:512:4096:loop:Linux device-mapper (linear):;
1:0.00B:210GB:210GB:ext4::;
mapper/myvolume:210GB:dm:512:4096:unknown:Linux device-mapper (crypt):;

Free space >10MiB: ______________________________________________________________

sdc: 6566MiB:7590MiB:1024MiB

blkid (filtered): ______________________________________________________________

NAME                  FSTYPE      UUID                                   PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                                                  
├─sda1                vfat        526F-06D5                              70bde28e-f435-43b0-8254-e059073a574f                        EFI system partition
├─sda2                                                                   31827f92-4913-4380-aeff-fcea883a127a                        Microsoft reserved partition
├─sda3                ntfs        E07670C97670A248                       311b1ca3-3014-4541-936e-db9901bb0df2 Windows                Basic data partition
├─sda4                                                                   76255dbd-7bd8-4ba5-b720-3ca62aba9301                        Basic data partition
├─sda5                ntfs        1494A65A94A63E5C                       391819e6-96f9-44bc-b429-4044a2ae3ab7                        
└─sda6                crypto_LUKS 25ca5b63-9a48-44d1-931e-d55a61a5f553   3e3a983b-46fd-4aa1-8767-332770632058                        
  └─myvolume          LVM2_member JliyC1-2jNW-Q5iH-bvIi-PDi4-whQN-sUBfG0                                                             
    └─ubuntu--vg-root ext4        cf501631-a26c-401a-9b01-6df0ce632a33                                                               
sdb                                                                                                                                  
└─sdb1                vfat        C4FB-68C3                              057558d5-01                          MICROSCAN              
sdc                                                                                                                                  
├─sdc1                exfat       6804-C01E                              3ffa5599-01                          Ventoy                 
│ └─ventoy                                                                                                                           
└─sdc2                iso9660     2020-06-13-00-42-55-00                                                      Boot-Repair-Disk 64bit 

Mount points (filtered): _______________________________________________________

                             Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 172.2G   4% /mnt/boot-sav/mapper/ubuntu--vg-root
/dev/mapper/ventoy               0 100% /cdrom
/dev/sda1                    38.7M  60% /mnt/boot-sav/sda1
/dev/sda3                   130.6G  33% /mnt/boot-sav/sda3
/dev/sda5                    86.5M  89% /mnt/boot-sav/sda5
/dev/sdb1                     678M  32% /media/lubuntu/MICROSCAN
/dev/sdc2                        0 100% /media/lubuntu/Boot-Repair-Disk 64bit

Mount options (filtered): ______________________________________________________

/dev/mapper/ubuntu--vg-root ext4            rw,relatime
/dev/mapper/ventoy          iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048
/dev/sda1                   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3                   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5                   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1                   vfat            rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro
/dev/sdc2                   iso9660         ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048

============================== ls -R /dev/mapper/ ==============================

/dev/mapper:
control
myvolume
ubuntu--vg-root
ventoy

======================== sda1/grub/grub.cfg (filtered) =========================

### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

=================== sda1/efi/EFI/ubuntu/grub.cfg (filtered) ====================

search.fs_uuid 526F-06D5 root hd0,gpt1 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             grub/grub.cfg                                  1

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


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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================================= User choice ==================================

Is there RAID on this computer? no


==================== blkid (filtered) before lvm activation ====================

/dev/sda1: UUID="526F-06D5" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="70bde28e-f435-43b0-8254-e059073a574f"
/dev/sda3: LABEL="Windows" UUID="E07670C97670A248" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="311b1ca3-3014-4541-936e-db9901bb0df2"
/dev/sda5: UUID="1494A65A94A63E5C" TYPE="ntfs" PARTUUID="391819e6-96f9-44bc-b429-4044a2ae3ab7"
/dev/sda6: UUID="25ca5b63-9a48-44d1-931e-d55a61a5f553" TYPE="crypto_LUKS" PARTUUID="3e3a983b-46fd-4aa1-8767-332770632058"
/dev/sdb1: LABEL="MICROSCAN" UUID="C4FB-68C3" TYPE="vfat" PARTUUID="057558d5-01"
/dev/sdc1: LABEL="Ventoy" UUID="6804-C01E" TYPE="exfat" PTTYPE="dos" PARTUUID="3ffa5599-01"
/dev/dm-0: UUID="2020-06-13-00-42-55-00" LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660" PTUUID="2c534026" PTTYPE="dos"
/dev/zram0: UUID="4a9f1b00-240b-4026-9f1f-7c26e67a2315" TYPE="swap"
/dev/zram1: UUID="6487eeda-f0b5-4bae-86e1-ad55088f12cc" TYPE="swap"
/dev/zram2: UUID="c3d833fc-e96c-4644-a014-16a50232f80e" TYPE="swap"
/dev/zram3: UUID="3af9c3fb-c66e-47b1-bfcd-4d483929a795" TYPE="swap"
/dev/zram4: UUID="ca4caab6-4987-4991-a356-e483f58c362e" TYPE="swap"
/dev/zram5: UUID="f65a73f3-04d4-4ada-8f3e-9da4af85e5ab" TYPE="swap"
/dev/zram6: UUID="549b59a2-ffa8-4689-8b47-46383a2e677b" TYPE="swap"
/dev/zram7: UUID="c049b47a-b0f2-46b0-8284-8395c4f1506e" TYPE="swap"
/dev/mapper/myvolume: UUID="JliyC1-2jNW-Q5iH-bvIi-PDi4-whQN-sUBfG0" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="cf501631-a26c-401a-9b01-6df0ce632a33" TYPE="ext4"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="31827f92-4913-4380-aeff-fcea883a127a"
/dev/sda4: PARTLABEL="Basic data partition" PARTUUID="76255dbd-7bd8-4ba5-b720-3ca62aba9301"


================================ LVM activation ================================

modprobe dm-mod  
vgscan --mknodes
  Reading volume groups from cache.
  Found volume group "ubuntu-vg" using metadata type lvm2
vgchange -ay
  1 logical volume(s) in volume group "ubuntu-vg" now active
lvscan
  ACTIVE            '/dev/ubuntu-vg/root' [<195.31 GiB] inherit
blkid -g

Successfully activated LVM.


==================== blkid (filtered) after lvm activation =====================

/dev/sda1: UUID="526F-06D5" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="70bde28e-f435-43b0-8254-e059073a574f"
/dev/sda3: LABEL="Windows" UUID="E07670C97670A248" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="311b1ca3-3014-4541-936e-db9901bb0df2"
/dev/sda5: UUID="1494A65A94A63E5C" TYPE="ntfs" PARTUUID="391819e6-96f9-44bc-b429-4044a2ae3ab7"
/dev/sda6: UUID="25ca5b63-9a48-44d1-931e-d55a61a5f553" TYPE="crypto_LUKS" PARTUUID="3e3a983b-46fd-4aa1-8767-332770632058"
/dev/sdb1: LABEL="MICROSCAN" UUID="C4FB-68C3" TYPE="vfat" PARTUUID="057558d5-01"
/dev/sdc1: LABEL="Ventoy" UUID="6804-C01E" TYPE="exfat" PTTYPE="dos" PARTUUID="3ffa5599-01"
/dev/mapper/ventoy: UUID="2020-06-13-00-42-55-00" LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660" PTUUID="2c534026" PTTYPE="dos"
/dev/zram0: UUID="4a9f1b00-240b-4026-9f1f-7c26e67a2315" TYPE="swap"
/dev/zram1: UUID="6487eeda-f0b5-4bae-86e1-ad55088f12cc" TYPE="swap"
/dev/zram2: UUID="c3d833fc-e96c-4644-a014-16a50232f80e" TYPE="swap"
/dev/zram3: UUID="3af9c3fb-c66e-47b1-bfcd-4d483929a795" TYPE="swap"
/dev/zram4: UUID="ca4caab6-4987-4991-a356-e483f58c362e" TYPE="swap"
/dev/zram5: UUID="f65a73f3-04d4-4ada-8f3e-9da4af85e5ab" TYPE="swap"
/dev/zram6: UUID="549b59a2-ffa8-4689-8b47-46383a2e677b" TYPE="swap"
/dev/zram7: UUID="c049b47a-b0f2-46b0-8284-8395c4f1506e" TYPE="swap"
/dev/mapper/myvolume: UUID="JliyC1-2jNW-Q5iH-bvIi-PDi4-whQN-sUBfG0" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="cf501631-a26c-401a-9b01-6df0ce632a33" TYPE="ext4"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="31827f92-4913-4380-aeff-fcea883a127a"
/dev/sda4: PARTLABEL="Basic data partition" PARTUUID="76255dbd-7bd8-4ba5-b720-3ca62aba9301"


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to enable-lvm) and reinstall the grub-efi of
mapper/ubuntu--vg-root,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Confirmation request before suggested repair: __________________________________

You may want to retry after mounting your encrypted partitions so that the tool can verify their contents. (sudo cryptsetup luksOpen /dev/sda6 myvolume)
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (sda1/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)

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

#21 Le 22/09/2022, à 21:45

geole

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

ScribeHM a écrit :

Dans un élan d'optimisme j'ai créé une entrée boot en sélectionnant le fichier \EFI\EFI\ubuntu\grubx64.efi, mais j'arrive juste une une invite grub, c'est tout. C'était trop beau pour être vrai ! big_smile

J'allais justement te proposer cet essai.

Voici déjà ce que je vois.

=================== sda1/efi/EFI/ubuntu/grub.cfg (filtered) ====================
search.fs_uuid 526F-06D5 root hd0,gpt1 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

et

blkid (filtered): ______________________________________________________________
NAME                  FSTYPE      UUID                                   PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                                                  
├─sda1                vfat        526F-06D5                              70bde28e-f435-43b0-8254-e059073a574f                        EFI system partition  

Donc cette réparation  semble boucler sur la partition de boot EFI.
ajout . Finalement c'est normal puisque le grub "standard" y est détecté.
Mais il est VIDE!

====================== sda1/grub/grub.cfg (filtered) =========================
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
=============
=================== sda1: Location of files loaded by Grub ====================
           GiB - GB             File                                 Fragment(s)
            ?? = ??             grub/grub.cfg                                  1
====================== sdc2/boot/grub/grub.cfg (filtered) ======================

Je ne sais pas traiter. Je te propose une alternative en créant une partition de boot classique en EXT4 de 2go soit en rétrécissant ta partition chiffrée soit en recommençant ton installation.

Dernière modification par geole (Le 23/09/2022, à 06:51)


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

Hors ligne

#22 Le 22/09/2022, à 23:42

alh54

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

geole a écrit :

Je te propose une alternative en créant une partition de boot classique en EXT4 de 2go soit en rétrécissant ta partition chiffrée soit en recommençant ton installation.

+1
Pour mettre toutes les chances de ton coté, il faudrait créer la partition /boot en dehors du LVM.

Hors ligne

#23 Le 23/09/2022, à 20:57

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Gros progrès !!! big_smile

geole a écrit :

Je ne sais pas traiter. Je te propose une alternative en créant une partition de boot classique en EXT4 de 2go soit en rétrécissant ta partition chiffrée soit en recommençant ton installation.

Tu as déjà fait beaucoup en m'expliquant les différentes étapes que suit Boot-repair, et en me donnamt la commande corrigée, @geole !
Et comme je le disais l'autre jour, je suis du genre têtu. Du coup j'ai repris le rapport Boot-repair. Je me suis dit : puisque Boot-repair se plaint que tout n'est pas carré (CRYPTODISK, efivars, nvram), on va l'aider un peu. Comme le script s'interrompt en attendant la confirmation de la réinstallation de grub (voir ci-dessous), j'en ai profité pour passer quelques commandes complémentaires.

sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" apt-get install -y grub-efi

J'ai commencé par remettre GRUB_ENABLE_CRYPTODISK=y' dans /etc/default/grub (puisque la première chose que fait Boot-repair c'est purger la configuration).
Ensuite j'ai résolu le problème de module efivars manquant en faisant un bind comme indiqué dans ce post SuperUser, et en faisant un deuxième bind sur le répertoire /lib/modules/5.3.0-28-generic où il le cherchait.
Enfin j'ai utilisé la commande que tu m'as donnée l'autre jour :

chroot /mnt/boot-sav/mapper/ubuntu--vg-root /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-nvram

Le tout en intercalant les autres commandes indiquées dans le rapport Boot-repair et en faisant les update-grub appropriés.

Une fois tout ça mis d'équerre, j'ai laissé Boot-repair continuer son script. Et là, joie : il dit avoir terminé la réparation sans erreur ! https://paste.ubuntu.com/p/8RJjJWjQpd/

J'ai testé, et j'ai bien une entrée ubuntu qui a été créé dans mes options de boot. Elle m'amène sur une invite pour rentrer ma passphrase Luks (je me suis fait avoir la première fois parce que le clavier reste en QWERTY), et le boot commence bien !
Bon, malheureusement il plante un peu plus loin et je reste bloqué sur une invite initramfs, mais je suis trop content des progrès réalisés pour me plaindre. A chaque jour suffit sa peine ! On verra demain pour ce nouveau point de blocage et pour le SecureBoot.

En attendant, merci beaucoup @geole (et @xubu1957 pour le support technique du forum) ! cool

Hors ligne

#24 Le 23/09/2022, à 21:03

ScribeHM

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Juste après avoir envoyé mon post, j'ai entré "exit" dans l'invite initramfs. Et voici le message qui s'est affiché :

Gave up waiting for root file system device. Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/moduls; ls /dev)
ALERT!    /dev/mapper/ubuntu--vg-root does not exist. Dropping to shell!

Finalement je ne suis peut-être un peu moins loin que je ne pensais. Tant pis. On verra ça demain.

Hors ligne

#25 Le 23/09/2022, à 21:29

geole

Re : [Résolu] Dual boot Windows 11 sur Dell Latitude 5590 - NVram bloquée

Merci de ton retour.
A mes moments perdus, je suis en train d'essayer de fabriquer un environnement qui ressemble un peu au tien mais avec un bios efi coopératif. Pour l'instant le boot se plante avec un message qui ressemble au tien..
Cela me change un peu d'une installation sur la totalité du disque.

Dernière modification par geole (Le 23/09/2022, à 21:32)


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

Hors ligne