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 10/11/2023, à 22:59

baj

Problème dual boot Windows 11 / Ubuntu 22.04 LTS

Bonjour,

J'ai installé Ubuntu 22.04 en dual boot sur un PC livré avec W11. Depuis, j'arrive sans problème à lancer W11 mais quand j'essaie de démarrer sous Ubuntu cela me donne une ligne du type:

/dev/nvme0n1p5: clean, 314698/19202048 files, 15092241/768000000 blocks

sur quoi le système gèle.

En revanche, Ubuntu démarre sans problème quand je passe par le recovery mode (sans rien faire de spécial : j'en serais bien incapable !)

J'ai fait un boot-info mais je ne suis bien incapable d' identifier ce qui cloche :

boot-info-4ppa2056                                              [20231110_2235]

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

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/nvme0n1.
 => libparted MBR boot code is installed in the MBR of /dev/nvme1n1.

nvme0n1p1: _____________________________________________________________________

    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/bkpbootx64.efi /efi/Boot/bootx64.efi 
                       /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/cbmr_driver.efi

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

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

nvme0n1p4: _____________________________________________________________________

    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:        

nvme0n1p5: _____________________________________________________________________

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

nvme1n1p1: _____________________________________________________________________

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

nvme1n1p2: _____________________________________________________________________

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

nvme1n1p3: _____________________________________________________________________

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


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

OS#1:   Ubuntu 22.04.3 LTS on nvme0n1p5
OS#2:   Windows 10 or 11 on nvme0n1p3

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

CPU architecture: 64-bit
Video: Intel Corporation EFI VGA from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-88-generic root=UUID=747adb6f-9cd8-425c-9187-8d501dae8275 ro recovery nomodeset dis_ucode_ldr
df -Th / : /dev/nvme0n1p5   ext4   288G     53G  221G  20% /

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

BIOS/UEFI firmware: F6(5.27) from American Megatrends International, LLC.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0002
Boot0000* Windows Boot Manager	HD(1,GPT,0015faae-2f79-46b4-8c26-6870ff386b85,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................
Boot0002* ubuntu	HD(1,GPT,0015faae-2f79-46b4-8c26-6870ff386b85,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)

64349b3622c65f495a99dbf6102496e3   nvme0n1p1/Boot/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   nvme0n1p1/Boot/fbx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p1/Boot/mmx64.efi
a1da253696a304dce6b4668b70151c0e   nvme0n1p1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p1/ubuntu/shimx64.efi
a84ccbe331b4a57c408ef9b4d34bea97   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
364c30b1bfed886aeda2947c02ee9072   nvme0n1p1/Microsoft/Boot/bootmgr.efi
b8796e68099026aabcebb8fcf75b21f6   nvme0n1p1/Microsoft/Boot/cbmr_driver.efi

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

Disks info: ____________________________________________________________________

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
nvme1n1	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
nvme0n1p3	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme1n1p2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme1n1p3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme1n1p1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme1n1p2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme1n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme1n1p1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p3	: not--sepboot,	no-kernel,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p1	: 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
nvme1n1p2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme1n1
nvme1n1p3	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme1n1
nvme1n1p1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme1n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 026991D6-9E32-4BFB-8EF6-9D1AD8182173
               Start        End    Sectors   Size Type
nvme0n1p1       2048     206847     204800   100M EFI System
nvme0n1p2     206848     239615      32768    16M Microsoft reserved
nvme0n1p3     239616 1337648929 1337409314 637.7G Microsoft basic data
nvme0n1p4 1952049152 1953519615    1470464   718M Windows recovery environment
nvme0n1p5 1337649152 1952049151  614400000   293G Linux filesystem
Partition table entries are not in disk order.
Disk nvme1n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xb6ae5d3f
          Boot      Start        End   Sectors   Size Id Type
nvme1n1p1            2048  721385471 721383424   344G  7 HPFS/NTFS/exFAT
nvme1n1p2      1532264448 1953519615 421255168 200.9G  7 HPFS/NTFS/exFAT
nvme1n1p3       721385472 1532264447 810878976 386.7G 83 Linux
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

nvme0n1:1000GB:nvme:512:512:gpt:WD Green SN350 1TB:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:685GB:685GB:ntfs:Basic data partition:msftdata;
5:685GB:999GB:315GB:ext4::;
4:999GB:1000GB:753MB:ntfs::hidden, diag;
nvme1n1:1000GB:nvme:512:512:msdos:WD Green SN350 1TB:;
1:1049kB:369GB:369GB:ntfs::;
3:369GB:785GB:415GB:ext4::;
2:785GB:1000GB:216GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL            PARTLABEL
nvme0n1                                                                                                         
├─nvme0n1p1 vfat     ECFD-5BD1                            0015faae-2f79-46b4-8c26-6870ff386b85                  EFI system partition
├─nvme0n1p2                                               232ac311-ca76-4893-aec2-7a879852519a                  Microsoft reserved partition
├─nvme0n1p3 ntfs     129AFE019AFDE0E1                     9093063e-420c-438c-8607-1995fde7a306                  Basic data partition
├─nvme0n1p4 ntfs     F0FA49D3FA49972E                     18026b18-d36f-437f-a060-47465b0c80ed                  
└─nvme0n1p5 ext4     747adb6f-9cd8-425c-9187-8d501dae8275 546cb171-ab9b-4119-89bc-474123865a05                  
nvme1n1                                                                                                         
├─nvme1n1p1 ntfs     4F2782943F9AFD8C                     b6ae5d3f-01                          Partage          
├─nvme1n1p2 ntfs     01D9FB81A60022C0                     b6ae5d3f-02                          Backups          
└─nvme1n1p3 ext4     fdb4afba-010d-4815-864b-2632dca8c192 b6ae5d3f-03                          Sauvegardes-Linu 

Mount points (filtered): _______________________________________________________

                                     Avail Use% Mounted on
/dev/nvme0n1p1                       62.6M  35% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3                      562.5G  12% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4                       88.8M  88% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5                      220.2G  18% /
/dev/nvme1n1p1                      343.9G   0% /mnt/boot-sav/nvme1n1p1
/dev/nvme1n1p2                      186.9G   7% /mnt/boot-sav/nvme1n1p2
/dev/nvme1n1p3                        331G   8% /mnt/boot-sav/nvme1n1p3

Mount options (filtered): ______________________________________________________


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

search.fs_uuid 747adb6f-9cd8-425c-9187-8d501dae8275 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   747adb6f-9cd8-425c-9187-8d501dae8275
Ubuntu, with Linux 5.15.0-88-generic   747adb6f-9cd8-425c-9187-8d501dae8275
Ubuntu, with Linux 5.15.0-87-generic   747adb6f-9cd8-425c-9187-8d501dae8275
Windows Boot Manager (on nvme0n1p1)   osprober-efi-ECFD-5BD1
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p5/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=747adb6f-9cd8-425c-9187-8d501dae8275 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=ECFD-5BD1  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
 758,597343445 = 814,537695232  boot/grub/grub.cfg                             1
 762,898513794 = 819,156041728  boot/vmlinuz                                   1
 722,406330109 = 775,677890560  boot/vmlinuz-5.15.0-87-generic                 2
 762,898513794 = 819,156041728  boot/vmlinuz-5.15.0-88-generic                 1
 722,406330109 = 775,677890560  boot/vmlinuz.old                               2
 776,917625427 = 834,208948224  boot/initrd.img                                1
 777,167617798 = 834,477375488  boot/initrd.img-5.15.0-87-generic              1
 776,917625427 = 834,208948224  boot/initrd.img-5.15.0-88-generic              1
 777,167617798 = 834,477375488  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 11  2023 35_fwupd
-rwxr-xr-x 1 root root   214 Jul 17  2018 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom



Suggested repair: ______________________________________________________________

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

Final advice in case of suggested repair: ______________________________________

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

Je suis preneur de toute aide…

Dernière modification par baj (Le 10/11/2023, à 23:01)

Hors ligne

#2 Le 10/11/2023, à 23:28

geole

Re : Problème dual boot Windows 11 / Ubuntu 22.04 LTS

Bonsoir.
Rien ne cloche dans le boot. Il a fait son travail en affichant l' écran de boot.
L'essentiel est que cela fonctionne en mode recovery. Le problème est donc diagostiqué.
Il faut regarder du coté des pilotes propriétaires. Chapitre trois.

Je n'ai pas compris pour quelle raison ce disque n'avait pas une seule partition.

dev/nvme1n1p1                      343.9G   0% /mnt/boot-sav/nvme1n1p1
/dev/nvme1n1p2                      186.9G   7% /mnt/boot-sav/nvme1n1p2
/dev/nvme1n1p3                        331G   8% /mnt/boot-sav/nvme1n1p3

Dernière modification par geole (Le 10/11/2023, à 23:45)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#3 Le 13/11/2023, à 20:15

baj

Re : Problème dual boot Windows 11 / Ubuntu 22.04 LTS

Un grand merci pour ce retour très rapide, geole.
J’ai regardé la page sur les pilotes propriétaires, ubuntu-drivers n’a pas trouvé de pilote à ajouter.
L’autre disque, je ne m’en sers pas (encore). Est-ce que le fait qu’il ait une partition ext4 peut être à l’origine de mon problème au démarrage?

Hors ligne