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 14/04/2026, à 11:10

achtag

[Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

Bonjour,

J'ai un vieux PC portable sur lequel je souhaite installer ubuntu studio (24.04). J'ai déjà installé cette distribution sur d'autres pc sans rencontrer de problème, mais là, ça bloque. J'ai fouillé sur plein de forums, dont ici, sans réussir à régler mon problème qui est qu'après l'installation via une clé usb, au démarrage j'ai un message m'indiquant qu'aucun système d'exploitation n'est installé.Or, je vois bien le système installé en bootant avec la clé. J'ai lu des tas de choses peu compréhensibles pour un béotien comme moi au sujet de boot ufi sur ce type de pc, mais je n'ai rien réussi à régler pour autant. Voilà ce que donne mon boot-info :

boot-info-4ppa2088                                              [20260414_0839]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt2)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 24.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
       dmesg(1) may have more information after failed mount system call.


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

OS#1 (linux):   Ubuntu 24.04.4 LTS on sda2

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

CPU architecture: 64-bit
Video: HD Graphics 5500 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.4 LTS, noble, x86_64)

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

BIOS/UEFI firmware: M71 Ver. 01.09(1.9) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda2	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sda2	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4

Partitions info (3/3): _________________________________________________________

sda2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 298.09 GiB, 320072933376 bytes, 625142448 sectors
Disk identifier: 3F22838F-B50B-476F-AB0E-340825AEA378
     Start       End   Sectors   Size Type
sda1   2048      4095      2048     1M BIOS boot
sda2   4096 625139711 625135616 298.1G Linux filesystem
Disk sdb: 58.2 GiB, 62495129600 bytes, 122060800 sectors
Disk identifier: 59FF9095-75ED-4425-8FBB-EB3E20C0BC94
        Start       End   Sectors  Size Type
sdb1        64  16702691  16702628    8G Microsoft basic data
sdb2  16702692  16712851     10160    5M EFI System
sdb3  16712852  16713451       600  300K Microsoft basic data
sdb4  16715776 122058751 105342976 50.2G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:320GB:scsi:512:4096:gpt:ATA HGST HTS725032A7:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:320GB:320GB:ext4::;
sdb:62.5GB:scsi:512:512:gpt:Verbatim STORE N GO:;
1:32.8kB:8552MB:8552MB::ISO9660:hidden, msftdata;
2:8552MB:8557MB:5202kB::Appended2:boot, esp;
3:8557MB:8557MB:307kB::Gap1:hidden, msftdata;
4:8558MB:62.5GB:53.9GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                           PARTLABEL
sda                                                                                                                       
├─sda1                                               55e54a80-538e-4ec9-b25d-2c949880acf3                                 
└─sda2 ext4     5eaed8c9-1e6f-4351-ae3d-7687e8fc4d9e 0efece1a-17e0-4144-9070-b2f1f9836d0a                                 
sdb    iso9660  2026-02-10-01-29-42-00                                                    Ubuntu-Studio 24.04.4 LTS amd64 
├─sdb1 iso9660  2026-02-10-01-29-42-00               59ff9095-75ed-4425-8fba-eb3e20c0bc94 Ubuntu-Studio 24.04.4 LTS amd64 ISO9660
├─sdb2 vfat     73B7-988D                            59ff9095-75ed-4425-8fb9-eb3e20c0bc94 ESP                             Appended2
├─sdb3                                               59ff9095-75ed-4425-8fb8-eb3e20c0bc94                                 Gap1
└─sdb4 ext4     08da421c-da68-4a89-8f2c-11097e15fade 210183fd-d55e-4753-8d40-c2c072e01d0f writable                        

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/sda2                                                     259.7G   6% /media/ubuntu-studio/5eaed8c9-1e6f-4351-ae3d-7687e8fc4d9e
/dev/sdb1                                                          0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/sda2                                                     ext4        rw,nosuid,nodev,relatime,errors=remount-ro
/dev/sdb1                                                     iso9660     ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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

Ubuntu   5eaed8c9-1e6f-4351-ae3d-7687e8fc4d9e
### 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 curtin installation
/dev/disk/by-uuid/5eaed8c9-1e6f-4351-ae3d-7687e8fc4d9e / ext4 defaults 0 1
/swap.img	none	swap	sw	0	0

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

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

           GiB - GB             File                                 Fragment(s)
 234.392211914 = 251.676721152  boot/grub/grub.cfg                             1
 104.235515594 = 111.922032640  boot/grub/i386-pc/core.img                     1
 229.361286163 = 246.274805760  boot/vmlinuz                                   1
 229.361286163 = 246.274805760  boot/vmlinuz-6.17.0-20-generic                 1
 229.361286163 = 246.274805760  boot/vmlinuz.old                               1
 222.544986725 = 238.955859968  boot/initrd.img                                1
 222.544986725 = 238.955859968  boot/initrd.img-6.17.0-20-generic              1
 222.544986725 = 238.955859968  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18133 Mar 17  2025 10_linux
-rwxr-xr-x 1 root root 43202 Mar 17  2025 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Mar 17  2025 20_linux_xen
-rwxr-xr-x 1 root root   786 Mar 17  2025 25_bli
-rwxr-xr-x 1 root root 13120 Mar 17  2025 30_os-prober
-rwxr-xr-x 1 root root  1174 Mar 17  2025 30_uefi-firmware
-rwxr-xr-x 1 root root   722 Nov 30 13:12 35_fwupd
-rwxr-xr-x 1 root root   214 Mar 17  2025 40_custom
-rwxr-xr-x 1 root root   215 Mar 17  2025 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda2 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s

Final advice in case of suggested repair: ______________________________________


The boot files of [sda2 (end>100GB)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot-Repair]. (https://help.ubuntu.com/community/BootPartition)

Dernière modification par achtag (Le 14/04/2026, à 17:33)

Hors ligne

#2 Le 14/04/2026, à 11:51

xubu1957

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [ Résolu ] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 14/04/2026, à 12:32

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

xubu1957 a écrit :

Oui, merci, j'avais déjà vu et testé tout ça, sans succès. Je précise que j'ai écrasé windows sur ce PC, en utilisant l'installation ubuntu studio avec effacement du disque au préalable.
Ensuite, quand je tape les lignes de commande suggérées par geole, j'obtiens ceci

cp: cannot stat '/boot/efi/EFI/ubuntu/shimx64.efi': No such file or directory
cp: cannot stat '/boot/efi/EFI/ubuntu/grubx64.efi': No such file or directory

Dernière modification par achtag (Le 14/04/2026, à 12:41)

Hors ligne

#4 Le 14/04/2026, à 13:07

xubu1957

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

Je ne sais pas aider plus !  ¯∖_(ツ)_/¯


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [ Résolu ] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#5 Le 14/04/2026, à 13:15

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

achtag a écrit :
xubu1957 a écrit :

Oui, merci, j'avais déjà vu et testé tout ça, sans succès. Je précise que j'ai écrasé windows sur ce PC, en utilisant l'installation ubuntu studio avec effacement du disque au préalable.
Ensuite, quand je tape les lignes de commande suggérées par geole, j'obtiens ceci

cp: cannot stat '/boot/efi/EFI/ubuntu/shimx64.efi': No such file or directory
cp: cannot stat '/boot/efi/EFI/ubuntu/grubx64.efi': No such file or directory

il faut recréer l ' arborescence au complet avant d' y copier les fichiers .

Hors ligne

#6 Le 14/04/2026, à 14:16

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

iznobe a écrit :

Bonjour,

il faut recréer l ' arborescence au complet avant d' y copier les fichiers .

J'avais en effet suivi la procédure indiquée par Geole, avec les deux premières commandes qui, si j'ai bien compris (je suis novice chez Linux...), recréaient l'arborescence. les deux premières commandes ont fonctionné mais pas celle recopiant le fichier.

Hors ligne

#7 Le 14/04/2026, à 14:24

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

ba oui , dans ton cas , si j' ai bien compris , tu es dans une installation MBR , dans le cas de la discussion , c' est une installation EFI .

pour commencer , donne le retour de :

ls -l /boot/efi/EFI/ubuntu/grubx64.efi
efibootmgr

si les 2 commandes renvoie une errerur , tu peux essayer d ' appliquer la " réparation recommandée " de boot repair :
installer GRUB dans le MBR du disque .

Dernière modification par iznobe (Le 14/04/2026, à 14:33)

Hors ligne

#8 Le 14/04/2026, à 14:45

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

Merci !
voici les retours :

ls: cannot access '/boot/efi/EFI/ubuntu/grubx64.efi': No such file or directory
et
EFI variables are not supported on this system.

Je vais essayer Boot repair...

Dernière modification par achtag (Le 14/04/2026, à 14:49)

Hors ligne

#9 Le 14/04/2026, à 14:49

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

boot-repair et boot-info , c ' est presque pareil .
Tu peux appliquer la meme methode pour lancer l ' un et l' autre , puisque tu fais ça deja en live toi .

La doc : https://doc.ubuntu-fr.org/boot-repair

il suffit de :

boot-repair

d ' apres la doc .

Dernière modification par iznobe (Le 14/04/2026, à 14:50)

Hors ligne

#10 Le 14/04/2026, à 14:51

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

Boot repair me dit ceci : https://paste.ubuntu.com/p/rSrsmqhbTp/

je vais voir ce que ça donne en rebootant

Hors ligne

#11 Le 14/04/2026, à 14:55

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

Au fait, il faut que je reste en legacy au boot, ou bien que je passe en UEFI ? Si oui, avec ou sans CSM ?

Hors ligne

#12 Le 14/04/2026, à 14:57

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

il te faut rester maintenant en LEGACY .
Sinon tu passes en EFI et tu reinstalles par dessus .

CSM il faut oublier .


journal du boot-repair :

boot-repair-4ppa2088                                              [20260414_1248]

============================= Boot Repair Summary ==============================






Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub2 of
sda2 into the MBR of sda.
Grub-efi will not be selected by default because no ESP detected.
Additional repair will be performed: unhide-bootmenu-10s



Unhide GRUB boot menu in sda2/etc/default/grub

======================= Reinstall the grub2 of /dev/sda2 =======================

chroot /mnt/boot-sav/sda2 grub-install --version
grub-install (GRUB) 2.12-1ubuntu7.3

==> Reinstall the GRUB of /dev/sda2 into the MBR of /dev/sda

chroot /mnt/boot-sav/sda2 grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/99-lowlatency.cfg'
Sourcing file `/etc/default/grub.d/ubuntustudio.cfg'
Found linux image: /boot/vmlinuz-6.17.0-20-generic
Found initrd image: /boot/initrd.img-6.17.0-20-generic
Found memtest86+x64 image: /boot/memtest86+x64.bin
Adding boot menu entry for UEFI Firmware Settings ...

Unhide GRUB boot menu in sda2/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.

The boot files of [sda2 (end>100GB)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)

============================ Boot Info After Repair ============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt2)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 24.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
       dmesg(1) may have more information after failed mount system call.


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

OS#1 (linux):   Ubuntu 24.04.4 LTS on sda2

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

CPU architecture: 64-bit
Video: HD Graphics 5500 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.4 LTS, noble, x86_64)

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

BIOS/UEFI firmware: M71 Ver. 01.09(1.9) from Hewlett-Packard
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).



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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda2	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sda2	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4

Partitions info (3/3): _________________________________________________________

sda2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 298.09 GiB, 320072933376 bytes, 625142448 sectors
Disk identifier: 3F22838F-B50B-476F-AB0E-340825AEA378
     Start       End   Sectors   Size Type
sda1   2048      4095      2048     1M BIOS boot
sda2   4096 625139711 625135616 298.1G Linux filesystem
Disk sdb: 58.2 GiB, 62495129600 bytes, 122060800 sectors
Disk identifier: 59FF9095-75ED-4425-8FBB-EB3E20C0BC94
        Start       End   Sectors  Size Type
sdb1        64  16702691  16702628    8G Microsoft basic data
sdb2  16702692  16712851     10160    5M EFI System
sdb3  16712852  16713451       600  300K Microsoft basic data
sdb4  16715776 122058751 105342976 50.2G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:320GB:scsi:512:4096:gpt:ATA HGST HTS725032A7:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:320GB:320GB:ext4::;
sdb:62.5GB:scsi:512:512:gpt:Verbatim STORE N GO:;
1:32.8kB:8552MB:8552MB::ISO9660:hidden, msftdata;
2:8552MB:8557MB:5202kB::Appended2:boot, esp;
3:8557MB:8557MB:307kB::Gap1:hidden, msftdata;
4:8558MB:62.5GB:53.9GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                           PARTLABEL
sda                                                                                                                       
├─sda1                                               55e54a80-538e-4ec9-b25d-2c949880acf3                                 
└─sda2 ext4     5eaed8c9-1e6f-4351-ae3d-7687e8fc4d9e 0efece1a-17e0-4144-9070-b2f1f9836d0a                                 
sdb    iso9660  2026-02-10-01-29-42-00                                                    Ubuntu-Studio 24.04.4 LTS amd64 
├─sdb1 iso9660  2026-02-10-01-29-42-00               59ff9095-75ed-4425-8fba-eb3e20c0bc94 Ubuntu-Studio 24.04.4 LTS amd64 ISO9660
├─sdb2 vfat     73B7-988D                            59ff9095-75ed-4425-8fb9-eb3e20c0bc94 ESP                             Appended2
├─sdb3                                               59ff9095-75ed-4425-8fb8-eb3e20c0bc94                                 Gap1
└─sdb4 ext4     08da421c-da68-4a89-8f2c-11097e15fade 210183fd-d55e-4753-8d40-c2c072e01d0f writable                        

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/sda2                                                     259.7G   6% /mnt/boot-sav/sda2
/dev/sdb1                                                          0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/sda2                                                     ext4        rw,relatime
/dev/sdb1                                                     iso9660     ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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

Ubuntu   5eaed8c9-1e6f-4351-ae3d-7687e8fc4d9e
### 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 curtin installation
/dev/disk/by-uuid/5eaed8c9-1e6f-4351-ae3d-7687e8fc4d9e / ext4 defaults 0 1
/swap.img	none	swap	sw	0	0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
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

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
 116.131599426 = 124.695355392  boot/grub/i386-pc/core.img                     1
 229.361286163 = 246.274805760  boot/vmlinuz                                   1
 229.361286163 = 246.274805760  boot/vmlinuz-6.17.0-20-generic                 1
 229.361286163 = 246.274805760  boot/vmlinuz.old                               1
 222.544986725 = 238.955859968  boot/initrd.img                                1
 222.544986725 = 238.955859968  boot/initrd.img-6.17.0-20-generic              1
 222.544986725 = 238.955859968  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18133 Mar 17  2025 10_linux
-rwxr-xr-x 1 root root 43202 Mar 17  2025 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Mar 17  2025 20_linux_xen
-rwxr-xr-x 1 root root   786 Mar 17  2025 25_bli
-rwxr-xr-x 1 root root 13120 Mar 17  2025 30_os-prober
-rwxr-xr-x 1 root root  1174 Mar 17  2025 30_uefi-firmware
-rwxr-xr-x 1 root root   722 Nov 30 13:12 35_fwupd
-rwxr-xr-x 1 root root   214 Mar 17  2025 40_custom
-rwxr-xr-x 1 root root   215 Mar 17  2025 41_custom

Dernière modification par iznobe (Le 14/04/2026, à 14:58)

Hors ligne

#13 Le 14/04/2026, à 15:00

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

OK, en legacy, ça ne change rien (boot device not found). Je vais tenter de repasser en efi et de réinstaller.

Hors ligne

#14 Le 14/04/2026, à 15:05

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

Au fait, je ne sais pas si c'est important mais au moment de l'installation d'ubuntu par clé usb, j'ai un message "parsing failed" (et la suite passe trop vite pour être recopiée). Ensuite, le processus d'installation se poursuit.

Hors ligne

#15 Le 14/04/2026, à 15:41

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

J'ai réinstalé ubuntu, et ça n'a rien changé : boot device not found. ca devient kafkaïen.

Hors ligne

#16 Le 14/04/2026, à 15:45

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

En EFI cette fois ?

redonne un boot info .

Hors ligne

#17 Le 14/04/2026, à 16:03

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

j'ai tenté de redémarrer aussi bien en EFI qu'en Legacy, sans aucun succès.

Voici le boot-info :

boot-info-4ppa2088                                              [20260414_1358]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt2)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 24.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdb and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
       dmesg(1) may have more information after failed mount system call.


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

OS#1 (linux):   Ubuntu 24.04.4 LTS on sda2

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

CPU architecture: 64-bit
Video: HD Graphics 5500 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.4 LTS, noble, x86_64)

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

BIOS/UEFI firmware: M71 Ver. 01.09(1.9) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0000
Timeout: 0 seconds
No BootOrder is set; firmware will attempt recovery


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda2	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sda2	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4

Partitions info (3/3): _________________________________________________________

sda2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 298.09 GiB, 320072933376 bytes, 625142448 sectors
Disk identifier: 23AD27AA-BCCB-4F7A-849E-CA8F6A529B1E
     Start       End   Sectors   Size Type
sda1   2048      4095      2048     1M BIOS boot
sda2   4096 625139711 625135616 298.1G Linux filesystem
Disk sdb: 58.2 GiB, 62495129600 bytes, 122060800 sectors
Disk identifier: 59FF9095-75ED-4425-8FBB-EB3E20C0BC94
        Start       End   Sectors  Size Type
sdb1        64  16702691  16702628    8G Microsoft basic data
sdb2  16702692  16712851     10160    5M EFI System
sdb3  16712852  16713451       600  300K Microsoft basic data
sdb4  16715776 122058751 105342976 50.2G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:320GB:scsi:512:4096:gpt:ATA HGST HTS725032A7:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:320GB:320GB:ext4::;
sdb:62.5GB:scsi:512:512:gpt:Verbatim STORE N GO:;
1:32.8kB:8552MB:8552MB::ISO9660:hidden, msftdata;
2:8552MB:8557MB:5202kB::Appended2:boot, esp;
3:8557MB:8557MB:307kB::Gap1:hidden, msftdata;
4:8558MB:62.5GB:53.9GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                           PARTLABEL
sda                                                                                                                       
├─sda1                                               fd0b0d4d-b001-4b69-9348-6d4623c41a81                                 
└─sda2 ext4     93069a00-94b2-4625-a45a-feff9ccef5cc 22428c08-0d93-4513-b056-02456a2de39d                                 
sdb    iso9660  2026-02-10-01-29-42-00                                                    Ubuntu-Studio 24.04.4 LTS amd64 
├─sdb1 iso9660  2026-02-10-01-29-42-00               59ff9095-75ed-4425-8fba-eb3e20c0bc94 Ubuntu-Studio 24.04.4 LTS amd64 ISO9660
├─sdb2 vfat     73B7-988D                            59ff9095-75ed-4425-8fb9-eb3e20c0bc94 ESP                             Appended2
├─sdb3                                               59ff9095-75ed-4425-8fb8-eb3e20c0bc94                                 Gap1
└─sdb4 ext4     08da421c-da68-4a89-8f2c-11097e15fade 210183fd-d55e-4753-8d40-c2c072e01d0f writable                        

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/sda2                                                     259.7G   6% /mnt/boot-sav/sda2
/dev/sdb1                                                          0 100% /cdrom
efivarfs                                                       67.9K  41% /sys/firmware/efi/efivars

Mount options (filtered): ______________________________________________________

/dev/sda2                                                     ext4        rw,relatime
/dev/sdb1                                                     iso9660     ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8

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

Ubuntu   93069a00-94b2-4625-a45a-feff9ccef5cc
### 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 curtin installation
/dev/disk/by-uuid/93069a00-94b2-4625-a45a-feff9ccef5cc / ext4 defaults 0 1
/swap.img	none	swap	sw	0	0

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

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

           GiB - GB             File                                 Fragment(s)
   4.361255646 = 4.682862592    boot/grub/grub.cfg                             1
 236.398136139 = 253.830565888  boot/grub/i386-pc/core.img                     1
   6.415973663 = 6.889099264    boot/vmlinuz                                   1
   6.415973663 = 6.889099264    boot/vmlinuz-6.17.0-20-generic                 1
   6.415973663 = 6.889099264    boot/vmlinuz.old                               1
 236.685611725 = 254.139240448  boot/initrd.img                                1
 236.685611725 = 254.139240448  boot/initrd.img-6.17.0-20-generic              1
 236.685611725 = 254.139240448  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18133 Mar 17  2025 10_linux
-rwxr-xr-x 1 root root 43202 Mar 17  2025 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Mar 17  2025 20_linux_xen
-rwxr-xr-x 1 root root   786 Mar 17  2025 25_bli
-rwxr-xr-x 1 root root 13120 Mar 17  2025 30_os-prober
-rwxr-xr-x 1 root root  1174 Mar 17  2025 30_uefi-firmware
-rwxr-xr-x 1 root root   722 Nov 30 13:12 35_fwupd
-rwxr-xr-x 1 root root   214 Mar 17  2025 40_custom
-rwxr-xr-x 1 root root   215 Mar 17  2025 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda2 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s

Confirmation request before suggested repair: __________________________________

The boot of your PC is in EFI mode, but no ESP partition was detected. You may want to retry after creating a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________


The boot files of [sda2 (end>100GB)] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot-Repair]. (https://help.ubuntu.com/community/BootPartition)The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.

 

Hors ligne

#18 Le 14/04/2026, à 16:07

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

j'ai tenté de redémarrer aussi bien en EFI qu'en Legacy, sans aucun succès.

hum , c ' est pas ce que j' ai indiqué de faire .
pour etre plus clair , tu vas dans le BIOS , tu regles sur EFI , tu sauvegardes et quitte le BIOS.
Tu réinstalles ubuntu , et tu vois si ça démarre ou pas .

" juste " redémarrer en mettant EFI , alors que ton installation est en LEGACY , c ' est certain que ça ne risque pas de démarrer.

Apres je ne sais pas si tu as procéder correctement ou pas .



Je jette un oeil sur le boot-info .

Dernière modification par iznobe (Le 14/04/2026, à 16:08)

Hors ligne

#19 Le 14/04/2026, à 16:20

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

Alors on voit que tu es passé en EFI , mais il n ' y a pas de partition EFI .

Hors ligne

#20 Le 14/04/2026, à 16:41

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

ah ok, je comprends. Qu'est-ce que je dois fait maintenant ? C'est assez galère car rien que pour avoir un boot-info il faut passer tout le temps du reboot sur la clé usb, puis réinstaller boot-repair avec ligne de commande, etc., bref, c'est pas facile... Et pour accéder au bios, c'est aussi assez pénible sur ce pc, car il faut faire plein de tentatives pas toujours efficaces : sur certains pc, tout roule, mais là, c'est à ne plus rien comprendre !

En tout cas, dans le bios je suis bien en UEFI natif (sans csm).

Dernière modification par achtag (Le 14/04/2026, à 16:43)

Hors ligne

#21 Le 14/04/2026, à 16:54

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

vu que ça ne fonctionne pas avec l' installation en mode LEGACY et que maintenant tu as passé ton ordi en mode d ' installation EFI , tu peux tenter ( si tu ne l' as pas fait avant ) de réinstaller ubuntu en mode EFI en croisant les doigts .

Aussi , tu peux tester de faire une installation en mode manuel , en choisissant toi même la partition d ' installation et t ' assurer qu ' il installe bien le GRUB dans une partition EFI que tu fabriques a ce moment là aussi .
MAIS , meme comme ça , je ne sais pas si ça démarrera correctement ...



Tu as plus de détails ici sur la façon de procéder : https://doc.ubuntu-fr.org/tutoriel/part … eur_ubuntu
cette doc est un peu complexe , mais en fait tu n' as pas besoin de faire grand chose .
Si tu décides d ' install en EFI , tu as besoin de :
+ En session live , avec gparted tu crees une table de partition GPT. pour ton disque dur .
ensuite , tu lances l' installation avec le raccourci sur le bureau .
+ creer une partition EFI ( format FAT32 ) et lui mettre un drapeau ( flag ) pour qu ' elle gère le démarrage .
+ creer une partition ext 4 avec toute le reste du disque .

Et t ' assurer qu ' au bas de cette image , dans la partie " chargeur d' amorçage " , quand tu l ' auras , tu as bien mis la partition EFI ( ou le disque dur si il n ' y a pas d' autre choix ) pour installer GRUB :
https://doc.ubuntu-fr.org/_media/installation_graphique/partitionner_manuellement_avec_installateur_ubuntu_3.png?cache=&w=758&h=517&tok=b0dfdb

Dernière modification par iznobe (Le 14/04/2026, à 16:56)

Hors ligne

#22 Le 14/04/2026, à 17:32

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

Après installation en EFI, prières nombreuses aux dieux de l'informatique, sacrifices de poulets et accrochage de gousses d'ail à mon plafond, j'ai finalement réussi à installer ubuntu studio. Incroyable ! Merci pour ton aide précieuse, iznobe, elle m'a évité un séjour en maison de repos ;-)

je vais passer le sujet en résolu.

Hors ligne

#23 Le 14/04/2026, à 17:34

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

wink

Tu as procédé avec la méthode manuelle ou automatique finalement ?

Hors ligne

#24 Le 14/04/2026, à 17:42

achtag

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

Méthode automatique, en effaçant le disque.

Hors ligne

#25 Le 14/04/2026, à 19:39

iznobe

Re : [Résolu] Ubuntu 24.04 (studio) sur Elitebook 840 G2 : pas de boot

ok , merci .

Hors ligne