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 24/09/2021, à 11:05

pifou.m

Installation Dual Boot sur HP Ryzen 5700

Bonjour,
Installation Dual-Boot W10 Ubuntu 21.04 (carte Wifi non reconnue par LTS 20.04) selon divers tutos
1°:    Deplacements Dossiers Win  Bureau,Documents,... sur HDD
    Reduction espace Windows sur SSD
    Installation à partir de clef USB "Créateur de Disque de démarrage" UBUNTU 18.04 LTS à coté de Windows
Tout fonctionne, mais problème (connu) avec les PCs HP,et le boot sur GRUB: pas de possibilité de booter sur Grub au redémarrage, obligation d'utiliser la touche F9 ou Esc.
2°: Réinstallation de W10, mêmes étapes que la première fois, puis réinstallation à partir de la cléf créee avec RUFUS sous Win. Le PC bootait sur Grub, à chaque redémarrage, jusqu'à ce que je boote à partir de Grub sur WIndows. Depuis, je suis obligé de passer par F9.
J'ai essayé la manip préconisée dans Boot-Info, shimmx64.efi n'est pas bloqué par Secure Boot, qu'il soit activé ou non, mais je ne peux pas mettre Ubuntu en tête. Je n'ai pas essayé de mise à jour du BIOS, ni les blocages ou désactivations des Secure Keys dans le Bios.
Malbo peut donc signaler ce PC comme compatible, à la restriction du Grub près, mais j'aimerais pouvoir démarrer sur Ubuntu directement.
Boot-Info: " https://paste.ubuntu.com/p/gNycRkBMHD/ "
Question subsidiaire: laisser le HDD en NTFS et accès Win-Linux ne risque t il pas de pb de sécurité?
Merci pour votre attention, et pardon pour ma longueur.

Materiel
HP Laptop 17-cp0268nf (472A0EA#ABF) SSD 128 HDD 1T
AMD Ryzen 7 5700U with Radeon Graphics
RAM 16 Giga: SODIMM DDR4 Synchrone Unbuffered (Unregistered) 3200 MHz (0,3 ns)
Wifi:Realtek Semiconductor RTL8821CE 802.11ac PCI

Dernière modification par pifou.m (Le 24/09/2021, à 11:12)

Hors ligne

#2 Le 24/09/2021, à 12:50

malbo

Re : Installation Dual Boot sur HP Ryzen 5700

Bonjour,
Je colle ci-dessous le contenu du Boot-info dont tu as donné le lien ( https://paste.ubuntu.com/p/gNycRkBMHD/ ) :

boot-info-4ppa130                                              [20210923_1829]

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

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

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /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/HP/BIOSUpdate/BiosMgmt.efi 
                       /efi/HP/BIOSUpdate/CryptRSA.efi 
                       /efi/HP/SystemDiags/CryptRSA.efi 
                       /efi/HP/SystemDiags/SysDiags.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: 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:  Windows 8/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 21.04
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sda1: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 21.04 CurrentSession on nvme0n1p5
OS#2:   Windows 8 or 10 on nvme0n1p3

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-36-generic root=UUID=7d5c5c1d-1f61-41a7-80d6-38a855a33b18 ro quiet splash vt.handoff=7


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

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,9999
Boot0002* ubuntu	HD(1,GPT,a9624519-e26f-4ff6-98c4-c7cb2f8ef3c7,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot9999* USB Drive (UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO

728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/Boot/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   nvme0n1p1/Boot/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/Boot/mmx64.efi
ce4cbbb3600d4dcd3914f6e97bbc46f1   nvme0n1p1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/ubuntu/shimx64.efi
44f07294f79cff3d214688b2b5b57d50   nvme0n1p1/HP/BIOSUpdate/BiosMgmt.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/BIOSUpdate/CryptRSA.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/SystemDiags/CryptRSA.efi
cb876dfe2261bc1297158f263c0ce012   nvme0n1p1/HP/SystemDiags/SysDiags.efi
3c080490d0eb8fdb738f298c3e44b3e0   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
da7c9088c9d0bff4ac469abdfc8f540e   nvme0n1p1/Microsoft/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: is-GPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	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
nvme0n1p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda1	: no-os,	32, 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
nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda1	: 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
nvme0n1p1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 119.24 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: C5A6DDED-5DE8-4ADC-86E3-C4CB3EF49E0A
              Start       End   Sectors  Size Type
nvme0n1p1      2048    534527    532480  260M EFI System
nvme0n1p2    534528    567295     32768   16M Microsoft reserved
nvme0n1p3    567296 178915327 178348032   85G Microsoft basic data
nvme0n1p4 248956928 250056703   1099776  537M Windows recovery environment
nvme0n1p5 178915328 248956927  70041600 33.4G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 56145018-6926-45B1-AC6F-D9EB2902A606
      Start        End    Sectors   Size Type
sda1   2048 1953523711 1953521664 931.5G Microsoft basic data

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
1:1049kB:1000GB:1000GB:ntfs:Basic data partition:msftdata;
nvme0n1:128GB:nvme:512:512:gpt:KBG40ZNV128G KIOXIA:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:91.6GB:91.3GB:ntfs:Basic data partition:msftdata;
5:91.6GB:127GB:35.9GB:ext4::;
4:127GB:128GB:563MB:ntfs:Basic data partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL            PARTLABEL
sda                                                                                                             
└─sda1      ntfs     AE3C9CC63C9C8B4B                     23dabde8-94fd-40c0-b9e1-1eea6f14059e DATA             Basic data partition
nvme0n1                                                                                                         
├─nvme0n1p1 vfat     C26B-5FD3                            a9624519-e26f-4ff6-98c4-c7cb2f8ef3c7 SYSTEM           EFI system partition
├─nvme0n1p2                                               dfa3b0a2-8ee9-40ce-8705-832896157df0                  Microsoft reserved partition
├─nvme0n1p3 ntfs     8058BE5258BE46A6                     64dc5e2f-9da8-4ccc-8730-51896c6c378e Windows          Basic data partition
├─nvme0n1p4 ntfs     36BC88B9BC8874E1                     685f7894-9195-40f4-83de-4f03090a3758 Windows RE tools Basic data partition
└─nvme0n1p5 ext4     7d5c5c1d-1f61-41a7-80d6-38a855a33b18 393e8c05-915e-44a0-b8f8-07352d1938bb                  

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
nvme0n1p3          37.8G  56% /mnt/boot-sav/nvme0n1p3
nvme0n1p4          66.7M  88% /mnt/boot-sav/nvme0n1p4
nvme0n1p5            23G  24% /
sda1              931.4G   0% /mnt/AE3C9CC63C9C8B4B

Mount options: __________________________________________________________________

nvme0n1p3         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p5         rw,relatime,errors=remount-ro
sda1              ro,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

search.fs_uuid 7d5c5c1d-1f61-41a7-80d6-38a855a33b18 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   7d5c5c1d-1f61-41a7-80d6-38a855a33b18
Ubuntu, avec Linux 5.11.0-36-generic   7d5c5c1d-1f61-41a7-80d6-38a855a33b18
Ubuntu, avec Linux 5.11.0-16-generic   7d5c5c1d-1f61-41a7-80d6-38a855a33b18
Windows Boot Manager (sur nvme0n1p1)   osprober-efi-C26B-5FD3
### 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=7d5c5c1d-1f61-41a7-80d6-38a855a33b18 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=C26B-5FD3  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-uuid/AE3C9CC63C9C8B4B /mnt/AE3C9CC63C9C8B4B auto nosuid,nodev,nofail,x-gvfs-show 0 0

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

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

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

           GiB - GB             File                                 Fragment(s)
 113,802303314 = 122,194292736  boot/grub/grub.cfg                             3
 116,991275787 = 125,618425856  boot/vmlinuz                                   1
  89,694381714 = 96,308609024   boot/vmlinuz-5.11.0-16-generic                 1
 116,991275787 = 125,618425856  boot/vmlinuz-5.11.0-36-generic                 1
  89,694381714 = 96,308609024   boot/vmlinuz.old                               1
  89,743160248 = 96,360984576   boot/initrd.img                                5
  88,355281830 = 94,870761472   boot/initrd.img-5.11.0-16-generic              2
  89,743160248 = 96,360984576   boot/initrd.img-5.11.0-36-generic              5
  88,355281830 = 94,870761472   boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18151 mars  30 12:55 10_linux
-rwxr-xr-x 1 root root 43031 mars  30 12:55 10_linux_zfs
-rwxr-xr-x 1 root root 12894 mars  30 12:55 20_linux_xen
-rwxr-xr-x 1 root root 12059 mars  30 12:55 30_os-prober
-rwxr-xr-x 1 root root  1424 mars  30 12:55 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mars  30 12:55 40_custom
-rwxr-xr-x 1 root root   216 mars  30 12:55 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p5,
using the following options:        nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix 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 21.04 CurrentSession entry (nvme0n1p1/efi/****/shim****.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\****\shim****.efi (**** will be updated in the final message)

Tu as donné un descriptif précis de ton matériel mais on peut aussi consulter cette page du site Laptopspirit sur le HP 17-cp0268nf : https://www.laptopspirit.fr/293995/hp-1 … ckage.html

Je te conseille d'en rester à passer par F9 pour aller sur le menu Grub. C'est la faute à HP qui verrouille le démarrage sur Windows. Les astuces de contournement ne résistent pas au temps et je te les déconseille. Donc c'est la touche F9 et basta.

EDIT_1 : je viens d'ajouter une ligne pour le HP 17-cp0268nf dans la Liste des portables HP
EDIT_2 : moi c'est ce que je pratique la partition de stockage en NTFS commune à Windows 10 et Ubuntu. Je n'ai jamais eu d'ennuis de sécurité avec ça et je n'ai pas lu sur le forum qu'il y en ait eu.

Dernière modification par malbo (Le 24/09/2021, à 13:20)

Hors ligne