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.

#26 Le 03/09/2022, à 19:40

geole

Re : Boot device not found HP

C'est un HP....  Alors fais un boot-info  de la nouvelle situation.
Si tu veux un automatisme, cela risque de passer par l'installation de refind


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

#27 Le 03/09/2022, à 19:58

Moah91

Re : Boot device not found HP

Voici le boot-info

boot-info-4ppa200                                              [20220903_1955]

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

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

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/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

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

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04.1 LTS CurrentSession on sda5
OS#2:   Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: GK106GLM [Quadro K2100M] from NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-47-generic root=UUID=8225be2d-321b-4070-a632-acd1d0bfe638 ro quiet splash vt.handoff=7
df -Th / : /dev/sda5        ext4   103G     11G   87G  11% /

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

BIOS/UEFI firmware: M70 Ver. 01.17(1.17) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager	HD(1,GPT,b4743962-780e-436e-86ac-610c5018b9ee,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.}...,................
Boot0001* ubuntu	HD(1,GPT,b4743962-780e-436e-86ac-610c5018b9ee,0x800,0x32000)/File(\EFI\ubuntu\shimx64.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): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda5	: 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,	recovery-or-hidden,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: B154A623-61E3-41EB-AB99-13344E1227B4
          Start       End   Sectors   Size Type
sda1       2048    206847    204800   100M EFI System
sda2     206848    239615     32768    16M Microsoft reserved
sda3     239616 756688895 756449280 360.7G Microsoft basic data
sda4  756688896 757759999   1071104   523M Windows recovery environment
sda5  757760000 976771071 219011072 104.4G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:gpt:ATA HGST HTS725050A7:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:387GB:387GB:ntfs:Basic data partition:msftdata;
4:387GB:388GB:548MB:ntfs::hidden, diag;
5:388GB:500GB:112GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 vfat     14C4-58F6                            b4743962-780e-436e-86ac-610c5018b9ee       EFI system partition
├─sda2                                               3d7b3510-1329-4086-a5ff-99d6ae2ed779       Microsoft reserved partition
├─sda3 ntfs     9498D19C98D17CE4                     a0838206-ce52-4c7f-aef2-0df417842a75       Basic data partition
├─sda4 ntfs     9098B35098B33396                     c12461c2-5052-4a23-a2aa-cf35f065ac79       
└─sda5 ext4     8225be2d-321b-4070-a632-acd1d0bfe638 4bd17d92-d3a2-4a84-b98b-1751034452a3       

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda3              314.1G  13% /mnt/boot-sav/sda3
/dev/sda4               86.4M  83% /mnt/boot-sav/sda4
/dev/sda5               86.8G  10% /

Mount options (filtered): ______________________________________________________

/dev/sda3              fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4              fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5              ext4            rw,relatime,errors=remount-ro

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

search.fs_uuid 8225be2d-321b-4070-a632-acd1d0bfe638 root hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   8225be2d-321b-4070-a632-acd1d0bfe638
Ubuntu, with Linux 5.15.0-47-generic   8225be2d-321b-4070-a632-acd1d0bfe638
Ubuntu, with Linux 5.15.0-43-generic   8225be2d-321b-4070-a632-acd1d0bfe638
Windows Boot Manager (on sda1)   osprober-efi-14C4-58F6
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=8225be2d-321b-4070-a632-acd1d0bfe638 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=14C4-58F6  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda5/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=""

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

           GiB - GB             File                                 Fragment(s)
 381,687191010 = 409,833500672  boot/grub/grub.cfg                             1
 368,479488373 = 395,651837952  boot/vmlinuz                                   1
 366,502513885 = 393,529077760  boot/vmlinuz-5.15.0-43-generic                 1
 368,479488373 = 395,651837952  boot/vmlinuz-5.15.0-47-generic                 1
 366,502513885 = 393,529077760  boot/vmlinuz.old                               1
 371,105846405 = 398,471868416  boot/initrd.img                                1
 379,995609283 = 408,017178624  boot/initrd.img-5.15.0-43-generic              1
 371,105846405 = 398,471868416  boot/initrd.img-5.15.0-47-generic              1
 379,995609283 = 408,017178624  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Apr 15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 23:50 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15 23:50 40_custom
-rwxr-xr-x 1 root root   215 Apr 15 23:50 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi



Suggested repair: ______________________________________________________________

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

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Final advice in case of suggested repair: ______________________________________

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

Hors ligne

#28 Le 04/09/2022, à 07:15

malbo

Re : Boot device not found HP

Bonjour,
Ton Boot-info du post #27 montre une installation parfaite du dual-boot Windows 10 / Ubuntu 22.04.1
Le fabricant HP a l'habitude de verrouiller le démarrage de ses ordis (sauf très rares exceptions) pour que le démarrage se fasse sur Windows. C'est pour cela que tu es obligé de passer par la touche F9 pour pouvoir démarrer sur Grub. Si tu fais un recherche de la mention "F9" dans la Liste des portables HP, tu trouveras un grand nombre de modèles pour lesquels il faut presser la touche F9 au démarrage pour parvenir à démarrer sur Ubuntu. Moi je te conseille d'en rester là et de te contenter de passer par F9.

Dernière modification par malbo (Le 04/09/2022, à 07:42)

Hors ligne

#29 Le 04/09/2022, à 14:11

geole

Re : Boot device not found HP

Bonjour
Sinon, comme ton ordinateur démarre automatiquement sur ce fichier "EFI/Microsoft/Boot/bootmgr.efi " qui lance windows, il faut le remplacer par un gestionnaire de dual boot.  Celui qui convient est refind et non grub.
Il suffit d'exécuter entièrement  ce script   à récupérer par copier/coller pour résoudre le problème.
A toi de voir si cela en vaut le coup.

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


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

#30 Le 04/09/2022, à 14:37

Moah91

Re : Boot device not found HP

Bonjour

Merci pour ton aide @geole, mais je vais écouter @malbo et me contenter de cela

Hors ligne

#31 Le 05/09/2022, à 08:38

malbo

Re : Boot device not found HP

Bonjour,
Tu as indiqué dans le post #4 que ton modèle d'ordi est "HP Zbook 15". J'ai l’intention d'ajouter ton modèle dans la "Liste des portables HP" dans la partie 18. La gamme Zbook. On y trouve déjà le modèle "HP ZBook 15u G3" mais je ne pense pas que ce soit ton modèle. Pour qu'on ait davantage d'infos sur ton matériel, ce serait utile que tu fasses ce qui est détaillé dans ce post :  https://forum.ubuntu-fr.org/viewtopic.p … #p21932660
N'aie pas de crainte pour la confidentialité : l'option "sanitize" - dans la commande proposée dans ce post - entraîne un nettoyage de toutes les infos personnelles qui pourraient exister dans le fichier lshw.txt

EDIT : sur la base des quelques éléments qui apparaissent dans le Boot-info ( carte graphique Quadro K2100M, disque dur 500 Go ), je pense que ton modèle devrait être "HP ZBOOK 15 G2" suivant cette page : https://pcmaroc.com/pc-portable/250-pc- … 00-go.html

Dernière modification par malbo (Le 05/09/2022, à 08:51)

Hors ligne

#32 Le 05/09/2022, à 10:35

alh54

Re : Boot device not found HP

Entre dans le réglage de ton bios, section "Boot Order Priority". si tu as quelque chose qui ressemble à ceci:
lien
Sélectionne le menu "UEFI Hard Drive Disk Drive BBS Priotiries", tu devrait trouver un menu "Ubuntu", séléctionne-le et clique sur "Enable"
lien
Enregistre les modifications et redémarre.

Hors ligne