Démarrage Windows 11 bloqué depuis installation Ubuntu 24.04

kennely Messages postés 24 Date d'inscription   Statut Membre Dernière intervention   -  
kennely Messages postés 24 Date d'inscription   Statut Membre Dernière intervention   -

Bonjour,

Je viens d'acheter un PC portable LENOVO IdeaPad3 sur lequel Windows 11 était déjà installé.

Modèle LENOVO

Je l'ai utilisé une journée, avant d'installer Ubuntu 24.04, à partir d'une clé USB bootable.

Au démarrage du PC, je vois bien le menu de Grub.

Grub

Et lorsque je choisi « Windows boot manager », j’atteins l'écran de récupération de Windows.

Aucune des options des paramètres de démarrage ne m'ont permis de redémarrer Windows.

La sortie de efibootmgr :

​efibootmgr

BootCurrent: 0004
Timeout: 10 seconds
BootOrder: 2001,0004,0005,2002,2003
Boot0000* EFI PXE 0 for IPv4 (FC-19-28-61-74-21)
PciRoot(0x0)/Pci(0xd,0x0)/USB(1,0)/USB(3,0)/MAC(fc1928617421,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0001* EFI PXE 0 for IPv6 (FC-19-28-61-74-21)
PciRoot(0x0)/Pci(0xd,0x0)/USB(1,0)/USB(3,0)/MAC(fc1928617421,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0004* ubuntu HD(2,GPT,f80054e6-da1d-407a-b7a1-ca1ecc4730d5,0x40800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* Windows Boot Manager HD(2,GPT,f80054e6-da1d-407a-b7a1-ca1ecc4730d5,0x40800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC

La sortie Boot-repair

boot-info-4ppa2081                                              [20251126_1549]

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

 => No boot loader is installed in the MBR of /dev/nvme0n1.

nvme0n1p1: _____________________________________________________________________

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

nvme0n1p2: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/fbx64.efi /efi/Boot/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/SecureBootRecovery.efi

nvme0n1p3: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

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

nvme0n1p5: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

nvme0n1p7: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

nvme0n1p8: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 24.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


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

OS#1 (linux):   L'OS actuellement utilisé - Ubuntu 24.04.3 LTS on nvme0n1p8
OS#2 (windows):   Windows 8 or 10 on nvme0n1p3

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

CPU architecture: 64-bit
Video: Alder Lake-UP3 GT2 [Iris Xe Graphics] from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.14.0-36-generic root=UUID=eb9e74eb-2e84-479a-9f67-aea6528af10c ro quiet splash vt.handoff=7
df -Th / : /dev/nvme0n1p8   ext4   394G     24G  350G   7% /

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

BIOS/UEFI firmware: JKCN47WW(1.47) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0004
Timeout: 10 seconds
BootOrder: 2001,0004,0002,2002,2003
Boot0000* EFI PXE 0 for IPv4 (FC-19-28-61-74-21) 	PciRoot(0x0)/Pci(0xd,0x0)/USB(1,0)/USB(3,0)/MAC(fc1928617421,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0001* EFI PXE 0 for IPv6 (FC-19-28-61-74-21) 	PciRoot(0x0)/Pci(0xd,0x0)/USB(1,0)/USB(3,0)/MAC(fc1928617421,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0002* Windows Boot Manager	HD(2,GPT,f80054e6-da1d-407a-b7a1-ca1ecc4730d5,0x40800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0004* ubuntu	HD(2,GPT,f80054e6-da1d-407a-b7a1-ca1ecc4730d5,0x40800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

nvme0n1p8	: is-os,	64, apt-get,	signed grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
nvme0n1p7	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
nvme0n1p5	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
nvme0n1p3	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
nvme0n1p4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
nvme0n1p2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

nvme0n1p8	: isnotESP,	fstab-has-bad-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
nvme0n1p7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
nvme0n1p5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
nvme0n1p2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, vfat

Partitions info (3/3): _________________________________________________________

nvme0n1p8	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p7	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p5	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 1.86 TiB, 2048408248320 bytes, 4000797360 sectors
Disk identifier: AA961C67-7F8F-464A-A360-FD272301E3C4
              Start        End    Sectors   Size Type
nvme0n1p1         34     262177     262144   128M Microsoft reserved
nvme0n1p2     264192     468991     204800   100M EFI System
nvme0n1p3     468992 1001453567 1000984576 477.3G Linux filesystem
nvme0n1p4 2157762560 3250905087 1093142528 521.3G Linux filesystem
nvme0n1p5 1001453568 1317867519  316413952 150.9G Linux filesystem
nvme0n1p7 3250905088 4000796671  749891584 357.6G Linux filesystem
nvme0n1p8 1317867520 2157762559  839895040 400.5G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

nvme0n1:2048GB:nvme:512:512:gpt:DIF2T0GIMAI298:;
1:17.4kB:134MB:134MB:::msftres;
2:135MB:240MB:105MB:fat32::boot, esp;
3:240MB:513GB:513GB:ntfs:windows11:;
5:513GB:675GB:162GB:ext4:Linux:;
8:675GB:1105GB:430GB:ext4::;
4:1105GB:1664GB:560GB:ntfs:Basic data partition:;
7:1664GB:2048GB:384GB:ext4:datas-linux:;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL   PARTLABEL
nvme0n1                                                                                                
├─nvme0n1p1                                               b3d544a6-e7e0-4454-bc18-5ce559030342         
├─nvme0n1p2 vfat     CACC-46FE                            f80054e6-da1d-407a-b7a1-ca1ecc4730d5         
├─nvme0n1p3 ntfs     1ED2CCE8D2CCC56D                     47e3d7ea-32bd-4a5b-86b8-cecd89cbcb23 Win11   windows11
├─nvme0n1p4 ntfs     4ADE8CA5DE8C8AC1                     f1e26616-d6f0-4adc-b862-530a7bb589af Données Basic data partition
├─nvme0n1p5 ext4     dde622ef-0da5-4242-8f19-b9000864a3ec e727e27a-dcd2-4b49-92dc-3062d4e04b6e         Linux
├─nvme0n1p7 ext4     73826577-4005-447f-a5f5-c77010893dd9 a2bf1d78-bc88-4c35-a9eb-a26d86ddcfcf         datas-linux
└─nvme0n1p8 ext4     eb9e74eb-2e84-479a-9f67-aea6528af10c af0c450b-74c1-4050-b64f-3a0069f65b22         

Mount points (filtered): _______________________________________________________

                                     Avail Use% Mounted on
/dev/nvme0n1p3                      367.2G  23% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4                      436.9G  16% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5                      139.9G   0% /mnt/boot-sav/nvme0n1p5
/dev/nvme0n1p7                        333G   0% /mnt/boot-sav/nvme0n1p7
/dev/nvme0n1p8                      349.2G   6% /
efivarfs                            170.4K  35% /sys/firmware/efi/efivars

Mount options (filtered): ______________________________________________________

/dev/nvme0n1p3                      fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4                      fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p5                      ext4            rw,relatime
/dev/nvme0n1p7                      ext4            rw,relatime
/dev/nvme0n1p8                      ext4            rw,relatime

=================== nvme0n1p2/efi/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid eb9e74eb-2e84-479a-9f67-aea6528af10c root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   eb9e74eb-2e84-479a-9f67-aea6528af10c
Windows Boot Manager (on nvme0n1p2)   osprober-efi-CACC-46FE
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p8/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p8 during curtin installation
/dev/disk/by-uuid/eb9e74eb-2e84-479a-9f67-aea6528af10c / ext4 defaults 0 1
# /boot/efi was on /dev/nvme0n1p2 during curtin installation
/dev/disk/by-uuid/CACC-46FE /boot/efi vfat defaults 0 1
/swap.img	none	swap	sw	0	0

==================== nvme0n1p8/etc/default/grub (filtered) =====================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
 632,559700012 = 679,205806080  boot/grub/grub.cfg                             1
 869,352386475 = 933,460017152  boot/vmlinuz                                   1
 869,352386475 = 933,460017152  boot/vmlinuz-6.14.0-36-generic                 1
 657,640853882 = 706,136489984  boot/vmlinuz-6.8.0-31-generic                  1
 657,640853882 = 706,136489984  boot/vmlinuz.old                               1
1004,775272369 = 1078,869233664 boot/initrd.img                                1
1004,775272369 = 1078,869233664 boot/initrd.img-6.14.0-36-generic              1
 868,867061615 = 932,938903552  boot/initrd.img-6.8.0-31-generic               1
 868,867061615 = 932,938903552  boot/initrd.img.old                            1

=================== nvme0n1p8: ls -l /etc/grub.d/ (filtered) ===================

-rwxr-xr-x 1 root root 18133 Apr  4  2024 10_linux
-rwxr-xr-x 1 root root 43202 Apr  4  2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr  4  2024 20_linux_xen
-rwxr-xr-x 1 root root   786 Apr  4  2024 25_bli
-rwxr-xr-x 1 root root 13120 Apr  4  2024 30_os-prober
-rwxr-xr-x 1 root root  1174 Apr  4  2024 30_uefi-firmware
-rwxr-xr-x 1 root root   722 Apr  5  2024 35_fwupd
-rwxr-xr-x 1 root root   214 Apr  4  2024 40_custom
-rwxr-xr-x 1 root root   215 Apr  4  2024 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
nvme0n1p8,
using the following options:  nvme0n1p2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 24.04.3 LTS entry (nvme0n1p2/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)

Pouvez-vous m'aider, SVP ?

A voir également:

1 réponse

Bruno83200_6929 Messages postés 664 Date d'inscription   Statut Membre Dernière intervention   155
 

Salut,

La partition nvme0n1p3 (déclarée comme “Windows11”) est en réalité formatée en NTFS mais maintenant renseignée comme “Linux filesystem” dans la table GPT.

Tu as accidentellement installé Ubuntu sur la partition où Windows 11 était pré-installé.

Tu n’as perdu que le système, pas tes fichiers personnels.

Réinstaller Windows en gardant Ubuntu (dual-boot propre)

C’est la meilleure option.

Étapes :

Télécharger l’ISO Windows 11
https://www.microsoft.com/software-download/windows11

Créer une clé bootable (Rufus sous Linux/Windows)

Démarrer sur la clé USB → Installer Windows

Choisir la partition nvme0n1p3 (≈ 513 Go) pour installer Windows dessus.
→ Pas p4 ! Elle contient tes données
→ Pas p8 ! C’est Ubuntu

Après installation → Windows va écraser l’entrée EFI ubuntu

Redémarrer sous Ubuntu live USB et faire :

sudo mount /dev/nvme0n1p8 /mnt
sudo mount /dev/nvme0n1p2 /mnt/boot/efi
sudo grub-install --boot-directory=/mnt/boot /dev/nvme0n1
sudo update-grub

Tu retrouveras un dual-boot propre.


0
kennely Messages postés 24 Date d'inscription   Statut Membre Dernière intervention   3
 

Peux-tu m'expliquer ou tu détectes l'erreur ?

car lsblk et GParted me disent bien que la partition nvme0n1p3 contient Windows 11

lsblk -fe7
NAME        FSTYPE FSVER LABEL   UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1                                                                              
├─nvme0n1p1                                                                          
├─nvme0n1p2 vfat   FAT32         CACC-46FE                                 4K   100% /boot/efi
├─nvme0n1p3 ntfs         Win11   1ED2CCE8D2CCC56D                                    
├─nvme0n1p4 ntfs         Données 4ADE8CA5DE8C8AC1                                    
├─nvme0n1p7 ext4   1.0           73826577-4005-447f-a5f5-c77010893dd9                
└─nvme0n1p8 ext4   1.0           eb9e74eb-2e84-479a-9f67-aea6528af10c  331,4G    11% /var/snap/firefox/common/host-hunspell

et là on voit que nvme0n1p3 est une partition ntfs, de même que nvme0n1p4.

Gparted

Je mettrais un 3ème OS dans la partition non allouée.Pourquoi fdisk -l ne voit que des système de fichier Linux ?

Disque /dev/nvme0n1 : 1,86 TiB, 2048408248320 octets, 4000797360 secteurs
Disk model: DIF2T0GIMAI298                          
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : gpt
Identifiant de disque : AA961C67-7F8F-464A-A360-FD272301E3C4

Périphérique        Début        Fin   Secteurs Taille Type
/dev/nvme0n1p1         34     262177     262144   128M Réservé Microsoft
/dev/nvme0n1p2     264192     468991     204800   100M Système EFI
/dev/nvme0n1p3     468992  819668991  819200000 390,6G Système de fichiers Linux
/dev/nvme0n1p4 2157762560 3250905087 1093142528 521,3G Système de fichiers Linux
/dev/nvme0n1p7 3250905088 4000796671  749891584 357,6G Système de fichiers Linux
/dev/nvme0n1p8 1317867520 2157762559  839895040 400,5G Système de fichiers Linux
0