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 25/06/2023, à 18:29

fazpedro

Boot direct impossible sur hp elitebook 840 G2

Bonjour,

Après avoir installé Ubuntu sur mon hp elitebook 840 G2 :
j'ai supprimé windows : OK

Souci :
Au démarrage de la machine, je dois faire "F9" pour pouvoir démarrer sur Ubuntu..
ou alors j'ai aussi "Boot from EFI file" et là je dois choisir le fichier GRUB...

Ubuntu fonctionne mais c'est pas terrible de devoir faire la manipulation à chaque démarrage

Comment faire démarer directement / boot sur Ubuntu ?

Merci

Hors ligne

#2 Le 25/06/2023, à 19:13

geole

Re : Boot direct impossible sur hp elitebook 840 G2

Bonsoir
Ton ordinateur boote certainement automatiquement sur windows.
Il faut donc créer la structure de boot EFi de windows et y dupliquer le fichier de boot de ubuntu.
Je devrais avoir un exemple quelque part,  c'est à faire en ligne de commande, cela ressemble à

sudo mkdir -pv /boot/efi/EFI/Microsoft/Boot
sudo cp -v /boot/efi/EFI/ubuntu/shimx64.efi    /boot/efi/EFI/Microsoft/Boot/Bootmgrfw.efi

Dernière modification par geole (Le 25/06/2023, à 19:15)


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

#3 Le 25/06/2023, à 20:49

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

Merci Geole mais j'ai toujours le menu sans Ubuntu qui se lance tout seul.. : sad

au démarrage, j'ai "Options de démarrage rapide" avec dans l'ordre :
OS Boot manager
Notebook Ethernet IPV4
Notebook Ethernet IPV6
Boot from EFI File
ubuntu

ubuntu est en dernier...

Hors ligne

#4 Le 25/06/2023, à 22:06

geole

Re : Boot direct impossible sur hp elitebook 840 G2


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 26/06/2023, à 11:09

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

J'ai essayé chaque option ci-dessous puis redémarré à chaque fois ...mais j'ai toujours les choix avec ubuntu en dernier et Windows OS en 1er !

(1)
sudo mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
sudo cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi

(2)
sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/boot/bootx64.efi

(3)
sudo cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Microsoft/boot/bootmgfw.efi

(4)
sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/boot/bootmgfw.efi

Dernière modification par fazpedro (Le 26/06/2023, à 11:09)

Hors ligne

#6 Le 26/06/2023, à 12:06

geole

Re : Boot direct impossible sur hp elitebook 840 G2

As-tu essayé cela.

https://doc.ubuntu-fr.org/liste_portabl … _elitebook a écrit :
- En fait, grâce au 'Customized Boot' du BIOS HP (touche F10), il est possible de lancer grub au boot sans changer aucun fichier de configuration et de choisir le système, ce qui est pratique en cas de double-boot. Il suffit d'activer le 'custom boot' et d'ajouter le chemin \EFI\ubuntu\shimx64.efi (attention, le clavier passe en QWERTY sous le BIOS) dans 'Define Customized Boot Option' puis de déplacer l'item 'Customized Boot' en tête de liste de 'UEFI Boot Order' (NB: le boot mode étant 'UEFI Hybrid' et le secure boot étant Off). Ceci a été vérifié sur une installation d'ubuntu 18.04 à côté de W10 Pro mais devrait fonctionner aussi avec la 20.04


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

#7 Le 26/06/2023, à 12:27

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

Désolé, en fait la dernière commande :

sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/boot/bootmgfw.efi

> cela met Ubuntu dans la ligne "OS Boot manager"

Donc, au démarrage, j'ai "Options de démarrage rapide" avec dans l'ordre :
OS Boot manager
Notebook Ethernet IPV4
Notebook Ethernet IPV6
Boot from EFI File
ubuntu

Si je laisse tourner tout seul, il choisit donc "OS Boot manager" et lance bien ubuntu tout seul sans aucune action de ma part

C'est génial

Merci beaucoup big_smile

Dernière modification par fazpedro (Le 26/06/2023, à 12:27)

Hors ligne

#8 Le 06/10/2023, à 10:06

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

Bonjour,

Suite à la dernière mise à jour ubuntu, j'ai le même souci à nouveau :

Donc, au démarrage, j'ai "Options de démarrage rapide" avec dans l'ordre :
OS Boot manager
Notebook Ethernet IPV4
Notebook Ethernet IPV6
Boot from EFI File
ubuntu

Si je laisse tourner tout seul, il choisit donc "OS Boot manager" MAIS ne trouve rien et redémarre... à chaque fois ! hmm

Des idées ?
merci

Hors ligne

#9 Le 06/10/2023, à 10:29

geole

Re : Boot direct impossible sur hp elitebook 840 G2

Bonjour.
Peux-tu faire un boot-info et poster l'url générée.. https://doc.ubuntu-fr.org/tutoriel/boot-info
As-tu refais ce qui est décrit à l'échange N° 6.

Dernière modification par geole (Le 06/10/2023, à 10:30)


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

#10 Le 06/10/2023, à 12:05

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

Bonjour geole,
oui j'avais fait les mêmes opérations sans résultat

Voici le boot-info :

boot-info-4ppa2056                                              [20231006_1201]

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

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

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  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/Bootmgrfw.efi

sda2: __________________________________________________________________________

    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


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.04.3 LTS on sda2

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

CPU architecture: 64-bit
Video: HD Graphics 5500 from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-34-generic root=UUID=80bdcec8-d00c-4d33-9842-6726e391d822 ro quiet splash vt.handoff=7
df -Th / : /dev/sda2        ext4   234G     84G  139G  38% /

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

BIOS/UEFI firmware: M71 Ver. 01.21(1.21) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000
Boot0000* ubuntu	HD(1,GPT,08500331-869e-44ab-8057-029493d59efb,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	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): _________________________________________________________

sda2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-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: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: D3F99651-84F0-4A13-984B-A6A6469616CD
        Start       End   Sectors  Size Type
sda1     2048   1050623   1048576  512M EFI System
sda2  1050624 500117503 499066880  238G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:512:gpt:ATA SSDPR-CX400-256-:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:256GB:256GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 vfat     9CC0-0935                            08500331-869e-44ab-8057-029493d59efb       EFI System Partition
└─sda2 ext4     80bdcec8-d00c-4d33-9842-6726e391d822 7b556280-cf13-4171-a6eb-3d89d57b2d98       

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda2                      138.1G  36% /

Mount options (filtered): ______________________________________________________


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

search.fs_uuid 80bdcec8-d00c-4d33-9842-6726e391d822 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   80bdcec8-d00c-4d33-9842-6726e391d822
Ubuntu, with Linux 6.2.0-34-generic   80bdcec8-d00c-4d33-9842-6726e391d822
Ubuntu, with Linux 6.2.0-33-generic   80bdcec8-d00c-4d33-9842-6726e391d822
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=80bdcec8-d00c-4d33-9842-6726e391d822 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=9CC0-0935  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 117,733024597 = 126,414872576  boot/grub/grub.cfg                             1
 128,810699463 = 138,309435392  boot/vmlinuz                                   2
 132,662254333 = 142,445010944  boot/vmlinuz-6.2.0-33-generic                  2
 128,810699463 = 138,309435392  boot/vmlinuz-6.2.0-34-generic                  2
 132,662254333 = 142,445010944  boot/vmlinuz.old                               2
 127,594722748 = 137,003790336  boot/initrd.img                                6
 107,737655640 = 115,682426880  boot/initrd.img-6.2.0-33-generic               2
 127,594722748 = 137,003790336  boot/initrd.img-6.2.0-34-generic               6
 107,737655640 = 115,682426880  boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18683 Dec  2  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec  2  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  2  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec  2  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Sep 20  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Dec  2  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec  2  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda2,
using the following options:  sda1/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 (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !

Hors ligne

#11 Le 06/10/2023, à 12:37

geole

Re : Boot direct impossible sur hp elitebook 840 G2

Peux-tu donner ces retours

sudo sha256sum /boot/efi/efi/BOOT/bkpbootx64.efi
sudo sha256sum /boot/efi/efi/BOOT/bootx64.efi 
sudo sha256sum /boot/efi/efi/BOOT/fbx64.efi 
sudo sha256sum /boot/efi/efi/BOOT/mmx64.efi 
sudo sha256sum /boot/efi/efi/ubuntu/grubx64.efi 
sudo sha256sum /boot/efi/efi/ubuntu/mmx64.efi 
sudo sha256sum /boot/efi/efi/ubuntu/shimx64.efi 
sudo sha256sum /boot/efi/efi/Microsoft/Boot/bootmgfw.efi 
sudo sha256sum /boot/efi/efi/Microsoft/Boot/Bootmgrfw.efi

Dernière modification par geole (Le 06/10/2023, à 12:39)


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 06/10/2023, à 13:30

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

Voici :

sudo sha256sum /boot/efi/efi/BOOT/bkpbootx64.efi
sudo sha256sum /boot/efi/efi/BOOT/bootx64.efi 
sudo sha256sum /boot/efi/efi/BOOT/fbx64.efi 
sudo sha256sum /boot/efi/efi/BOOT/mmx64.efi 
sudo sha256sum /boot/efi/efi/ubuntu/grubx64.efi 
sudo sha256sum /boot/efi/efi/ubuntu/mmx64.efi 
sudo sha256sum /boot/efi/efi/ubuntu/shimx64.efi 
sudo sha256sum /boot/efi/efi/Microsoft/Boot/bootmgfw.efi 
sudo sha256sum /boot/efi/efi/Microsoft/Boot/Bootmgrfw.efi

0585000d937228e4bf6bd4cbfd087440086c04b889b047882ab6b2cf2a35293b  /boot/efi/efi/BOOT/bkpbootx64.efi
0585000d937228e4bf6bd4cbfd087440086c04b889b047882ab6b2cf2a35293b  /boot/efi/efi/BOOT/bootx64.efi
cbbaf10de1a730e5d4cc44f9304ed1b1fc64973cfc0c23e66e0cad2091f34e56  /boot/efi/efi/BOOT/fbx64.efi
d02970493d4b4e4ee428b7de5f080714c37c87214245736fa7c81bbe6e1c3bd4  /boot/efi/efi/BOOT/mmx64.efi
e231199d8fe11d14a8be28d34fef57b910735b30d694aee232f5e7c78f3bb5ae  /boot/efi/efi/ubuntu/grubx64.efi
d02970493d4b4e4ee428b7de5f080714c37c87214245736fa7c81bbe6e1c3bd4  /boot/efi/efi/ubuntu/mmx64.efi
0585000d937228e4bf6bd4cbfd087440086c04b889b047882ab6b2cf2a35293b  /boot/efi/efi/ubuntu/shimx64.efi
e231199d8fe11d14a8be28d34fef57b910735b30d694aee232f5e7c78f3bb5ae  /boot/efi/efi/Microsoft/Boot/bootmgfw.efi
e231199d8fe11d14a8be28d34fef57b910735b30d694aee232f5e7c78f3bb5ae  /boot/efi/efi/Microsoft/Boot/Bootmgrfw.efi

Hors ligne

#13 Le 06/10/2023, à 19:42

geole

Re : Boot direct impossible sur hp elitebook 840 G2

En fait 4 fichiers de boot

0585000d937228e4bf6bd4cbfd087440086c04b889b047882ab6b2cf2a35293b  /boot/efi/efi/BOOT/bkpbootx64.efi
0585000d937228e4bf6bd4cbfd087440086c04b889b047882ab6b2cf2a35293b  /boot/efi/efi/BOOT/bootx64.efi
0585000d937228e4bf6bd4cbfd087440086c04b889b047882ab6b2cf2a35293b  /boot/efi/efi/ubuntu/shimx64.efi

cbbaf10de1a730e5d4cc44f9304ed1b1fc64973cfc0c23e66e0cad2091f34e56  /boot/efi/efi/BOOT/fbx64.efi

d02970493d4b4e4ee428b7de5f080714c37c87214245736fa7c81bbe6e1c3bd4  /boot/efi/efi/BOOT/mmx64.efi
d02970493d4b4e4ee428b7de5f080714c37c87214245736fa7c81bbe6e1c3bd4  /boot/efi/efi/ubuntu/mmx64.efi

e231199d8fe11d14a8be28d34fef57b910735b30d694aee232f5e7c78f3bb5ae  /boot/efi/efi/ubuntu/grubx64.efi
e231199d8fe11d14a8be28d34fef57b910735b30d694aee232f5e7c78f3bb5ae  /boot/efi/efi/Microsoft/Boot/bootmgfw.efi
e231199d8fe11d14a8be28d34fef57b910735b30d694aee232f5e7c78f3bb5ae  /boot/efi/efi/Microsoft/Boot/Bootmgrfw.efi

A tout hasard, tente

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

Dernière modification par geole (Le 06/10/2023, à 19:50)


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 08/10/2023, à 21:10

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

~$ sudo efibootmgr --create --disk /dev/sda --part 1 --label "grububuntu" --loader "\EFI\ubuntu\grubx64.efi" 
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0000
Boot0000* ubuntu
Boot0001* grububuntu

Cela a juste rajouté grububuntu en dernier dans la liste mais il boote toujours sur le premier choix "OS Boot manager" donc reboot à chaque fois...

Hors ligne

#15 Le 08/10/2023, à 23:04

geole

Re : Boot direct impossible sur hp elitebook 840 G2

Bonsoir.
Essaie cela
Réinitialisation de l'ordre de démarrage aux paramètres par défaut
Procédez comme suit pour réinitialiser l'ordre de démarrage.

Allumez ou redémarrez l'ordinateur.
Lorsque l'écran est vierge, appuyez sur la touche F10 pour entrer dans le menu des paramètres du BIOS.
Sur certains ordinateurs, vous pouvez accéder au menu des paramètres du BIOS en appuyant sur les touches F2 ou F6.
Dans l'utilitaire de configuration du BIOS, sélectionnez l'onglet File (Fichier).
Sélectionnez Appliquer les paramètres par défaut et quitter. L'utilitaire d'installation du BIOS se ferme, et l'ordinateur démarre Windows.
REMARQUE : Les configurations du BIOS varient d'un ordinateur à l'autre. Pour plus d'informations sur un PC portable spécifique, reportez-vous à la documentation fournie avec l'ordinateur. Vous trouverez les paramètres du BIOS dans le Guide de maintenance et d'entretien.


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

#16 Le 09/10/2023, à 08:11

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

Cela ne fonctionne pas :
J'ai remis les paramètres par défaut dans le BIOS...
résultat : il re-boot à chaque fois... !

Hors ligne

#17 Le 09/10/2023, à 09:38

geole

Re : Boot direct impossible sur hp elitebook 840 G2

Bonjour.
Si je comprends bien ce que tu dis, quelle que soit la touche sur laquelle tu appuies, il est maintenant impossible de lancer ubuntu.

Regarde le custom mode

Dernière modification par geole (Le 09/10/2023, à 09:43)


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 09/10/2023, à 09:47

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

J'ai remis Démarrage personnalisé pour pouvoir démarrer l'ordinateur en sélectionnant ubuntu au démarrage
je reviens donc au point de départ de mon souci :

au démarrage, j'ai "Options de démarrage rapide" avec dans l'ordre :
OS Boot manager
Notebook Ethernet IPV4
Notebook Ethernet IPV6
Boot from EFI File
ubuntu

ubuntu est en dernier...

Hors ligne

#19 Le 09/10/2023, à 11:15

geole

Re : Boot direct impossible sur hp elitebook 840 G2

Tu devrais donner une photo des grilles du démarrage personnalisé, il y a certainement une façon de mettre ubuntu en début.

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


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

#20 Le 09/10/2023, à 11:19

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

geole a écrit :

Tu devrais donner une phot des grilles du démarrage personnalisé, il y a certainement une façon de mettre ubuntu en début.

Qu'appelles-tu les "grilles " ?

Au démarrage, j'ai :
OS Boot manager
Notebook Ethernet IPV4
Notebook Ethernet IPV6
Boot from EFI File
ubuntu

Je ne vois pas comment mettre ubuntu en premier...

merci

Hors ligne

#21 Le 09/10/2023, à 12:12

fazpedro

Re : Boot direct impossible sur hp elitebook 840 G2

Cela fonctionne maintenant (mais pas optimisé...) après avoir fait ceci :

J'ai supprimé tous les dossiers Microsoft dans boot/EFI...
puis :

sudo mkdir -pv /boot/efi/EFI/Microsoft/Boot
mkdir: création du répertoire '/boot/efi/EFI/Microsoft'
mkdir: création du répertoire '/boot/efi/EFI/Microsoft/Boot'
sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/boot/bootmgfw.efi

Si je ne fais rien au démarrage, il lance la première ligne :
OS Boot manager

là il y a l'écran de démarrage ubuntu grub... et là c'est bon il lance Ubuntu

Par contre, je pense que mes fichiers doivent pas être très bien rangés, à force de copier et recopier...

Voici ce qu'il y a dans le dossier /boot/efi/ :

/boot/efi/ubuntu/
BOOTX64.CSV
grub.cfg
grubx64.efi
mmx64.efi
shimx64.efi

/boot/efi/EFI/
bootmgfw.efi
Bootmgrfw.efi
grubx64.efi

/boot/efi/EFI/BOOT/
bkpbootx64.efi
bootmgfw.efi
Bootmgrfw.efi
bootx64.efi
fbx64.efi
mmx64.efi
 
/boot/efi/EFI/Microsoft/Boot/
bootmgfw.efi

/boot/efi/EFI/ubuntu/
BOOTX64.CSV
grub.cfg
grubx64.efi
mmx64.efi
shimx64.efi

Hors ligne