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 04/10/2023, à 00:29

louvrard

Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

smile:)Bonjour,
J'ai un portable HP probook 650 G2 qui fonctionne depuis l'achat en 2018, je crois, en dual boot Windows10/Ubuntu 16.04. J'ai eu quelques problèmes avec l'interface Ubuntu, les fenêtres qui s'ouvrent avec le coin supérieur gauche planqué derrière le dock (vertical gauche) mais j'ai fait avec, on ne m'a pas trouvé de solution. Je me décide à passer à Ubuntu 20.04 que j'ai sur mon PC fixe aussi en dual boot avec Windows. Je me dis que je vais faire l'upgrade d'abord en 18.04, puis 20.04, mais ça plante déjà avec 18.04, il refuse de faire l'upgrade. Du coup, je cherche Ubuntu 20.04, je crée un DVD d'installation, et je l'installe, il me demande s'il doit remplacer Ubuntu 16.04, je dis OK, et à la fin de l'install, pas de redémarrage, ça bloque sur écran noir avec je ne sais plus quel message qui demande d'installer un OS sur le disque dur.
J'ai fouillé les forums, sans trouver une solution. J'ai trouvé qu'il fallait récupérer boot-info dont le rapport est sur le lien suivant :
https://paste.ubuntu.com/p/26fWJWjSKP/
J'ai vu des propositions de réparation en fin de rapport mais quelqu'un peut-il me dire comment on procède pour les appliquer, c'est un peu abscons pour moi.
En démarrant sur le DVD, je vois que mes partitions sont restées en place et j'ai une partition Windows qui n'a rien perdu et une partition documents qui n'est pas endommagée non plus. Donc je n'ai rien perdu, il faut juste que je retrouve un démarrage normal.
Merci de votre aide.

Dernière modification par louvrard (Le 20/11/2023, à 13:43)

Hors ligne

#2 Le 04/10/2023, à 07:33

xubu1957

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour,

@louvrard

Nota : notre Modération a scindé le fil > Impossible de démarrer sur ubuntu (dualboot Ubuntu/W10)

Ne squattez pas les discussions.

Le 10/03/2023, bruno a écrit :

...

Modération : la règle c'est de ne pas déterrer et squatter les fils de discussion des autres mais d'ouvrir son propre fil.

Dans ses remarques, cqfd93 a écrit :

Modération

Afin d'éviter la confusion; merci de ne pas squatter la discussion d'un autre membre : deux problèmes d'apparence similaire peuvent avoir des causes différentes et nécessiter des solutions différentes.

Collage du Boot-info, pour les spécialistes :

boot-info-4ppa203                                              [20231003_2143]

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

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

sda1: __________________________________________________________________________

    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:        

sda2: __________________________________________________________________________

    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:        

sda3: __________________________________________________________________________

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

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:  Windows 10 or 11
    Boot files:        

sda5: __________________________________________________________________________

    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:        

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    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:        

sda8: __________________________________________________________________________

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

sda9: __________________________________________________________________________

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

sda10: _________________________________________________________________________

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

sda11: _________________________________________________________________________

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


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

OS#1:   Ubuntu 20.04.6 LTS on sda11
OS#2:   Windows 10 or 11 on sda4

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

CPU architecture: 64-bit
Video: Skylake GT2 [HD Graphics 520] from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.6 LTS, focal, x86_64)

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

BIOS/UEFI firmware: N76 Ver. 01.17(1.17) from HP
The firmware is EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).


815e9c9976b12fbb5596c84e1f8724fa   sda2/Boot/bootx64.efi
82894bcbe4f010664226ba7591372538   sda2/ubuntu/fwupx64.efi
815e9c9976b12fbb5596c84e1f8724fa   sda2/ubuntu/grubx64.efi
d7f6115f549de53d7795408e4c1d58a9   sda2/ubuntu/mmx64.efi
d91bd7045f56ef46e2d140afb64bb534   sda2/ubuntu/shimx64.efi
f2c9c5c28ef51a83d75db5d108b1a310   sda2/Microsoft/Boot/bootmgfw.efi
46288d3cb6a91cb97d25474930f95dfb   sda2/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

sda	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda10	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda11	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda4	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda7	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda9	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda10	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda11	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda9	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda10	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda11	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--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
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda9	: 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.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: F9DBD331-76AE-43A4-8D1C-6473C4E037D6
          Start       End   Sectors   Size Type
sda1       2048   1023999   1021952   499M Windows recovery environment
sda2    1024000   1228799    204800   100M EFI System
sda3    1228800   1261567     32768    16M Microsoft reserved
sda4    1261568 313095095 311833528 148.7G Microsoft basic data
sda5  313096192 314572799   1476608   721M Windows recovery environment
sda6  314572800 314574847      2048     1M BIOS boot
sda7  614576128 974770175 360194048 171.8G Microsoft basic data
sda8  974772224 976771071   1998848   976M Linux swap
sda9  314574848 315625471   1050624   513M Microsoft basic data
sda10 315625472 316676095   1050624   513M Microsoft basic data
sda11 316676096 614576127 297900032 142.1G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:gpt:ATA Samsung SSD 860:;
1:1049kB:524MB:523MB:ntfs:Basic data partition:hidden, diag;
2:524MB:629MB:105MB:fat32:EFI system partition:boot, esp;
3:629MB:646MB:16.8MB::Microsoft reserved partition:msftres;
4:646MB:160GB:160GB:ntfs:Basic data partition:msftdata;
5:160GB:161GB:756MB:ntfs::hidden, diag;
6:161GB:161GB:1049kB:::bios_grub;
9:161GB:162GB:538MB:fat32::msftdata;
10:162GB:162GB:538MB:fat32::msftdata;
11:162GB:315GB:153GB:ext4::;
7:315GB:499GB:184GB:ntfs:Documents:msftdata;
8:499GB:500GB:1023MB:linux-swap(v1)::swap;

blkid (filtered): ______________________________________________________________

NAME    FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                 
├─sda1  ntfs     CE449E62449E4CD9                     479cb939-ad3c-4a14-b6c8-c14da8924033 Récupération             Basic data partition
├─sda2  vfat     FC9E-C168                            c3515208-5e89-43ba-b073-f316e529fa7a                          EFI system partition
├─sda3                                                f61aca7b-e840-4db2-aad2-7d1a99425d0a                          Microsoft reserved partition
├─sda4  ntfs     5496AA6D96AA4F74                     bc7ce6d5-dc06-42f4-b789-2cb246c4c09c                          Basic data partition
├─sda5  ntfs     48CE1E60CE1E469A                     7041b994-4a34-4877-b1da-b624bfe8cfce                          
├─sda6                                                d833d9af-40e1-4621-91ae-1559adba519e                          
├─sda7  ntfs     529ADA569ADA3667                     f337feac-f166-44f2-9495-3c51d2a99e9e Data                     Documents
├─sda8  swap     94bb36a0-bdf4-4fdb-b2c0-2f70e984d132 1098f35e-f405-4294-b600-18f5d1e8688f                          
├─sda9  vfat     B56A-8C88                            23ca1c05-9f7b-41a3-94ef-e244a8141798                          
├─sda10 vfat     8A3A-23CE                            adc60dc9-06ad-42f1-8606-2a0629a965e5                          
└─sda11 ext4     25c17f75-1ed7-47d5-99c6-71b70be5c66e 9e1dc684-0b93-44c8-a1a2-19378b69b703                          

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda10               512M   0% /mnt/boot-sav/sda10
/dev/sda11             121.9G   7% /mnt
/dev/sda1                489M   2% /mnt/boot-sav/sda1
/dev/sda2               65.9M  31% /mnt/boot-sav/sda2
/dev/sda4                 95G  36% /mnt/boot-sav/sda4
/dev/sda5              112.6M  84% /mnt/boot-sav/sda5
/dev/sda7               52.8G  69% /mnt/boot-sav/sda7
/dev/sda9                512M   0% /mnt/boot-sav/sda9

Mount options (filtered): ______________________________________________________


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

Ubuntu   25c17f75-1ed7-47d5-99c6-71b70be5c66e
Ubuntu, avec Linux 5.15.0-84-generic   25c17f75-1ed7-47d5-99c6-71b70be5c66e
Ubuntu, avec Linux 5.15.0-67-generic   25c17f75-1ed7-47d5-99c6-71b70be5c66e
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda11/etc/fstab (filtered) ==========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda11 during installation
UUID=25c17f75-1ed7-47d5-99c6-71b70be5c66e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda10 during installation
UUID=8A3A-23CE  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 249,998600006 = 268,433952768  boot/grub/grub.cfg                             2
 193,128761292 = 207,370428416  boot/grub/i386-pc/core.img                     1
 250,005840302 = 268,441726976  boot/vmlinuz                                   2
 249,838863373 = 268,262436864  boot/vmlinuz-5.15.0-67-generic                 2
 250,005840302 = 268,441726976  boot/vmlinuz-5.15.0-84-generic                 2
 249,838863373 = 268,262436864  boot/vmlinuz.old                               2
 251,374019623 = 269,910798336  boot/initrd.img                                4
 251,325649261 = 269,858861056  boot/initrd.img-5.15.0-67-generic              1
 251,374019623 = 269,910798336  boot/initrd.img-5.15.0-84-generic              4
 251,325649261 = 269,858861056  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18224 Dec  2  2022 10_linux
-rwxr-xr-x 1 root root 42359 Dec  2  2022 10_linux_zfs
-rwxr-xr-x 1 root root 13101 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 12059 Dec  2  2022 30_os-prober
-rwxr-xr-x 1 root root  1424 Dec  2  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Jul  3  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Dec  2  2022 40_custom
-rwxr-xr-x 1 root root   216 Dec  2  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
sda11,
using the following options:  sda2/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. 

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.6 LTS entry (sda2/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)
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.

Une installation d'un ProBook 650 G2, mentionnée dans la Doc liste_portables_hp, au § 15 probook > [RESOLU] Dual boot Windows 10 / Ubuntu 19.10 ne démarre qu'en Windows.

Dernière modification par xubu1957 (Le 04/10/2023, à 14:57)


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 04/10/2023, à 11:13

geole

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Extraits du boot-info

sda	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sda2    1024000   1228799    204800   100M EFI System
sda3    1228800   1261567     32768    16M Microsoft reserved

J'en déduis avec une probabilité proche de 100% que windows10 est installé  en EFI.
Alors pourquoi  as-tu une installation LEGACY?  et donc un boot en LEGACY?

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

The firmware is EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).

Pourquoi as-tu viré les fichiers de boot de windows?

sda2: __________________________________________________________________________
    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:        

Ma proposition
1)   Booter en EFI
2) Réinstaller les fichiers de boot EFI de windows et vérifier qu'il boote bien.
Voir méthode deux
Sachant que la dernhttps://forum.ubuntu-fr.org/img/fluxtoolbar/smooth/bt_pre.pngière commande est à adapter afin de prendre la langue française

bcdboot  C:\Windows /l fr-fr /s G:  /f ALL

3) Faire la réparation recommandée  de boot-repair.
4) Rebooter et faire un peu de ménage   en installant gparted et en supprimant les partitions

sda6  314572800 314574847      2048     1M BIOS boot
sda9  314574848 315625471   1050624   513M Microsoft basic data
sda10 315625472 316676095   1050624   513M Microsoft basic data

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


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

#4 Le 04/10/2023, à 16:33

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour et merci de votre aide.
Pour les questions style pourquoi as-tu une installation Legacy ? ou pourquoi as-tu viré les fichiers de boot de Windows ?
Comme Monsieur Jourdain, j'ai fait tout ça sans savoir ce que je faisais, encore que, je ne suis pas sûr que ce soit moi qui ai fait ça. Quand j'ai mis le DVD, j'ai été surpris qu'il me demande simplement si je voulais que la nouvelle version d'Ubuntu remplace l'ancienne mais sans jamais faire mention d'un boot avec Windows, et après ça, plus de démarrage.
Personnellement, je n'ai rien viré.
D'après ce que je comprends, il me faudrait le CD d'installation de Windows  mais je ne l'ai pas. C'est un PC pro que j'ai acquis pré-installé et il ne m'a pas été fourni de CD Windows avec.
Y a-t-il un autre moyen ??

Hors ligne

#5 Le 04/10/2023, à 16:54

geole

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Le plus simple serait de ne plus utiliser de DVD. Il est possible que ce type de boot qui s'est déroulé en LEGACY soit la cause.
1) Achète une clé USB ou un disque externe.
2) Télécharge et installe l'application ventoy
3) Télécharge ta version windows    en prenant celle qui convient Probablement  windows10 https://www.microsoft.com/fr-fr/softwar … ndows10ISO 
4) vérifie son checksum avant de la déposer dans le support USB
5) Si tu as le temps, télécharge aussi la bonne version ubuntu qui est 22.04 https://releases.ubuntu.com/jammy/
et vérifie son checksum avant de la déposer dans le support USB.

Dernière modification par geole (Le 04/10/2023, à 17:31)


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

#6 Le 04/10/2023, à 17:23

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

OK, merci, on va essayer ça.

Hors ligne

#7 Le 05/10/2023, à 13:32

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour,
J'ai téléchargé Ventoy et l'ai installé sur une clé USB, mais quand je démarre le portable avec la clé USB, il l'ignore superbement. J'ai trouvé un menu via la touche F10 au démarrage le menu HP Computer Setup, avec Principal - Sécurité - Avancé  - Disques UEFI. Dans Avancé j'ai Options de démarrage, là Amorçage rapide et démarrage CD-ROM sont décochés, Démarrage par périphérique de stockage USB est coché, et tout en bas, Ordre de démarrage UEFI était décoché, je l'ai recoché mais ça ne change rien. Sous "Disques UEFI" dans le menu HP Computer Setup, j'ai "Gestion tierce de la ROM optionnelle" que je n'ai pas touché.
Maintenant, depuis que j'ai fait ces retouches (suppression de démarrage sur CD-ROM et ordre de démarrage UEFI recoché), je n'ai plus le même message sur fond noir, voici ce que j'obtiens :
GNU GRUB version 2.04

Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions

grub> 

?????

Hors ligne

#8 Le 05/10/2023, à 14:29

geole

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour
Si tu bootes en EFI, il faut d'abord lancer boot-repair pour qu'il installe la structure EFI manquante dans le grub

Je ne comprends pas que ventoy ne boote pas. Dans la partition EXFAT, as-tu bien déposé les fichiers ISO de boot windows et ubuntu?


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

#9 Le 05/10/2023, à 22:48

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonsoir,
sur la page de Ventoy https://sourceforge.net/projects/ventoy/files/ j'ai téléchargé la dernière version v 1.0.95  puis j'ai créé la clé bootable à partir de cette image iso avec USB creator. J'ai ensuite mis cette clé USB sur un port USB de mon portable mais il ne se passe rien au démarrage, à part l'affichage que j'ai recopié ci-dessus sur fond noir qui reste en permanence. Comment dépose-t-on les fichiers ISO de boot Windows et Ubuntu, et dans quelle partition ? sur la clé USB ? C'est quoi cette partition EXFAT SVP ?

Hors ligne

#10 Le 06/10/2023, à 09:04

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Il faut que je refasse la clé bootable, elle ne boot pas non plus sur mon PC fixe.

Hors ligne

#11 Le 06/10/2023, à 10:19

geole

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour.
Lorsque tu as installé venroy sur la clé il y a eu création de deux partitions.
L'une en fat16 tres petite contenant le logiciel ventoy destiné à afficher ce que tu as mis en copier/coller dans la seconde qui est trés grande et au format EXFAT afin de pouvoir stocker les ISO des boot qui peuvent dépasser la taille de 4Go.

Si tu n'as rien mis, il ne peut rien afficher.
Sa documentation a dit
3.1 Cas général.
il faut copier-coller ces ISO sur la clé Ventoy, en utilisant votre gestionnaire de fichiers (appelé Fichiers dans ubuntu).

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


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

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour,
Après une petite pause de vacances itinérantes, je reviens à mon problème.
Ce coup-ci, j'ai la clé correcte, j'y ai bien déposé les ISO de Windows et Ubuntu.
Mon portable boote sur la clé et Ventoy me propose de démarrer soit sur Windows, soit sur Ubuntu. Je crois avoir compris que je devais démarrer sur Windows. Je fais ça, et ensuite, il me propose :
Boot in normal mode
Boot in winboot mode
File checksum
Return to previous menu
Je suppose que je dois sélectionner une des deux premières lignes, laquelle SVP ?
Et par la suite, quelles étapes à suivre ?
D'avance merci.

Hors ligne

#13 Le 18/10/2023, à 11:18

geole

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour

C'est toi qui sait si tu veux installer windows (ou le réparer) ou ubuntu.
Tu aurais pu prendre le  temps de lire la documentation ventoy

doc ventoy a écrit :

A partir de la version 1.0.80, ventoy affiche un écran supplémentaire adapté au type d'O.S. que vous avez sélectionné contenant cette liste de choix:

    Boot in normal mode ⇒ Cette option est toujours à choisir en priorité. Si pour une raison quelconque, le boot ne fonctionne pas, vous pouvez alors essayer le mode alternatif proposé.
    Boot in wimboot mode ⇒ Si choix d'installer un windows.
    Boot in grub2 mode ⇒ Si choix d'installer un O.S. de la famille ubuntu ayant un répertoire /boot/grub.
    Boot in memdisk mode ⇒ Pour d'autres O.S. qui nécessitent de charger la totalité de l'ISO en RAM avant de commencer à s'installer ou à être utilisé.
    File checksum ⇒ Si vous souhaitez contrôler l'intégrité de l'ISO. Dans ce cas, une grille supplémentaire sera affichée. Elle vous permettra de choisir parmi ces quatre modes: md5sum sha1sum sha256sum sha512sum.

Vous avez la possibilité d'empêcher l'affichage de cette grille en ajoutant cette option { "VTOY_SECONDARY_BOOT_MENU": "0" } dans la section control du fichier ventoy/ventoy.json.

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


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 20/10/2023, à 13:11

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour,
J'avais cherché une doc Ventoy sur leur site, sans succès. Et effectivement, il y a plein d'infos sur la page web https://doc.ubuntu-fr.org/ventoy
Donc j'ai trouvé les infos mais avec les deux ISO Windows et Ubuntu sur une partition EXFAT, mon PC en rade démarre bien sur la clé, je choisis de démarrer sur Windows en Boot in normal mode et après un écran noir, il revient sur la page de choix Ventoy et reste coincé là.
J'ai vu que Windows refusait parfois de booter sur une partition EXFAT, alors j'ai reformaté avec Gparted la partition principale de la clé USB en NTFS et redéposé l'ISO de Windows sur cette partition. Là, le PC accepte de démarrer sur la clé en Windows, je dis oui pour le français, et ensuite, j'ai deux options, installer ou réparer. Je sélectionne réparer, parce qu'installer, je suppose qu'il va tout me dézinguer et me réclamer une clé que je n'ai pas en ma possession. Là, j'ai « Outil de redémarrage système - Corriger les problèmes qui empêchent le chargement de Windows ». Ça me semblait être l'option à utiliser, mais quand je clique là-dessus, la réponse est « Outil de redémarrage système n'a pas pu réparer votre PC ».

Il y a aussi une option « Restauration du système » mais qui me met un message comme si je pouvais démarrer normalement, ce qui n'est pas le cas et enfin, il y a une option « Récupération de l'image système - Récupérer Windows à l'aide d'un fichier image système spécifique ». Je n'ai pas osé cliquer là-dessus, est-ce la bonne option ?
Ensuite, est-ce que ça pose un problème que je n'ai mis que l'ISO Windows sur la partition NTFS, il me semble avoir lu que l'ISO Ubuntu ne pouvait pas se mettre sur ce type de partition, est-ce que je pourrai ensuite retrouver mon Ubuntu à côté de Windows en refaisant la clé avec la partition en EXFAT au lieu de NTFS une fois Windows récupéré ?
D'avance merci.

Hors ligne

#15 Le 20/10/2023, à 15:54

geole

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour
Donc maintenant tu peux booter  avec le support d'installation formaté en NTFS au lieu de EXFAT.
Il est totalement possible d'y mettre le fichier de boot ISO de ubuntu. Tu dois confondre avec installer ubuntu dans une partition NTFS.
En  fait le réparateur de windows n'a jamais su réparer la structure de boot EFI, il faut faire manuellement en ligne de commandes. Chose que tu peux maintenant faire
Voici un tuto . Il y en a certainement d'autres

https://www.easeus.fr/partition-manager … 8-7.html#2

C'est la méthode deux.
et je te propose de mettre le français.  Donc la dernière ligne devient

bcdboot C:\Windows /1  fr-fr  /s G : /f ALL

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 20/10/2023, à 17:42

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Rebonjour Geole,
J'ai exécuté scrupuleusement la méthode 2, G était utilisé, j'ai mis K qui l'était aussi, et ça a fonctionné avec L.
Dans la partie 2 de « Exécuter Diskpart pour définir l'ID de la partition et attribuer une lettre de lecteur », il y a deux possibilités, j'ai d'abord fait la première « set id=c12a7328-f81f-11d2-ba4b-00a0c93ec93b », mon PC ne redémarre pas, puis la deuxième « SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 », même punition.
Remarque, dans tout le processus, il est demandé d'entrer « exit » ce qui fait sortir de Diskpart, et on voit les copies d'écrans suivantes à nouveau dans Diskpart, j'ai donc rentré à nouveau la commande diskpart pour faire la suite, mais mon PC ne démarre toujours pas sur son disque dur.
Une autre idée ?

Hors ligne

#17 Le 20/10/2023, à 19:17

geole

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Refais un boot-info afin de voir comment  s'est faite la réparation.

Mais as-tu bien exécuté la commande bcdboot?   Il faut sortir de diskpart pour l'exécuter
bcdboot C:\Windows /1  fr-fr  /s L: /f ALL

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


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 23/10/2023, à 11:18

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour Geole,
Voici le rapport boot-info :
https://paste.ubuntu.com/p/swsWFczVrb/
Cordialement.

Hors ligne

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

xubu1957

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour,

Collage du Boot-info :

boot-info-4ppa203                                              [20231023_0912]

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

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

sda1: __________________________________________________________________________

    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:        

sda2: __________________________________________________________________________

    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/ubuntu/fwupx64.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

sda3: __________________________________________________________________________

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

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

sda5: __________________________________________________________________________

    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:        

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    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:        

sda8: __________________________________________________________________________

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

sda9: __________________________________________________________________________

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

sda10: _________________________________________________________________________

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

sda11: _________________________________________________________________________

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


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

OS#1:   Ubuntu 20.04.6 LTS on sda11
OS#2:   Windows 10 or 11 on sda4

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

CPU architecture: 64-bit
Video: Skylake GT2 [HD Graphics 520] from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.6 LTS, focal, x86_64)

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

BIOS/UEFI firmware: N76 Ver. 01.17(1.17) from HP
The firmware is EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).


815e9c9976b12fbb5596c84e1f8724fa   sda2/Boot/bootx64.efi
82894bcbe4f010664226ba7591372538   sda2/ubuntu/fwupx64.efi
815e9c9976b12fbb5596c84e1f8724fa   sda2/ubuntu/grubx64.efi
d7f6115f549de53d7795408e4c1d58a9   sda2/ubuntu/mmx64.efi
d91bd7045f56ef46e2d140afb64bb534   sda2/ubuntu/shimx64.efi
f2c9c5c28ef51a83d75db5d108b1a310   sda2/Microsoft/Boot/bootmgfw.efi
46288d3cb6a91cb97d25474930f95dfb   sda2/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

sda	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda10	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda11	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda4	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda7	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda9	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda10	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda11	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: is---ESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda9	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda10	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda11	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--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
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda9	: 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.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: F9DBD331-76AE-43A4-8D1C-6473C4E037D6
          Start       End   Sectors   Size Type
sda1       2048   1023999   1021952   499M Windows recovery environment
sda2    1024000   1228799    204800   100M EFI System
sda3    1228800   1261567     32768    16M Microsoft reserved
sda4    1261568 313095095 311833528 148.7G EFI System
sda5  313096192 314572799   1476608   721M Windows recovery environment
sda6  314572800 314574847      2048     1M BIOS boot
sda7  614576128 974770175 360194048 171.8G Microsoft basic data
sda8  974772224 976771071   1998848   976M Linux swap
sda9  314574848 315625471   1050624   513M Microsoft basic data
sda10 315625472 316676095   1050624   513M Microsoft basic data
sda11 316676096 614576127 297900032 142.1G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:gpt:ATA Samsung SSD 860:;
1:1049kB:524MB:523MB:ntfs:Basic data partition:hidden, diag;
2:524MB:629MB:105MB:fat32:EFI system partition:boot, esp;
3:629MB:646MB:16.8MB::Microsoft reserved partition:msftres;
4:646MB:160GB:160GB:ntfs:Basic data partition:boot, esp;
5:160GB:161GB:756MB:ntfs::hidden, diag;
6:161GB:161GB:1049kB:::bios_grub;
9:161GB:162GB:538MB:fat32::msftdata;
10:162GB:162GB:538MB:fat32::msftdata;
11:162GB:315GB:153GB:ext4::;
7:315GB:499GB:184GB:ntfs:Documents:msftdata;
8:499GB:500GB:1023MB:linux-swap(v1)::swap;

blkid (filtered): ______________________________________________________________

NAME    FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                 
├─sda1  ntfs     CE449E62449E4CD9                     479cb939-ad3c-4a14-b6c8-c14da8924033 Récupération             Basic data partition
├─sda2  vfat     FC9E-C168                            c3515208-5e89-43ba-b073-f316e529fa7a                          EFI system partition
├─sda3                                                f61aca7b-e840-4db2-aad2-7d1a99425d0a                          Microsoft reserved partition
├─sda4  ntfs     5496AA6D96AA4F74                     bc7ce6d5-dc06-42f4-b789-2cb246c4c09c                          Basic data partition
├─sda5  ntfs     48CE1E60CE1E469A                     7041b994-4a34-4877-b1da-b624bfe8cfce                          
├─sda6                                                d833d9af-40e1-4621-91ae-1559adba519e                          
├─sda7  ntfs     529ADA569ADA3667                     f337feac-f166-44f2-9495-3c51d2a99e9e Data                     Documents
├─sda8  swap     94bb36a0-bdf4-4fdb-b2c0-2f70e984d132 1098f35e-f405-4294-b600-18f5d1e8688f                          
├─sda9  vfat     B56A-8C88                            23ca1c05-9f7b-41a3-94ef-e244a8141798                          
├─sda10 vfat     8A3A-23CE                            adc60dc9-06ad-42f1-8606-2a0629a965e5                          
└─sda11 ext4     25c17f75-1ed7-47d5-99c6-71b70be5c66e 9e1dc684-0b93-44c8-a1a2-19378b69b703                          

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda10               512M   0% /mnt/boot-sav/sda10
/dev/sda11             121.9G   7% /mnt/boot-sav/sda11
/dev/sda1                489M   2% /mnt/boot-sav/sda1
/dev/sda2               65.9M  31% /mnt/boot-sav/sda2
/dev/sda4                 95G  36% /mnt/boot-sav/sda4
/dev/sda5              112.6M  84% /mnt/boot-sav/sda5
/dev/sda7               52.8G  69% /mnt/boot-sav/sda7
/dev/sda9                512M   0% /mnt/boot-sav/sda9

Mount options (filtered): ______________________________________________________


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

search.fs_uuid 246dc433-b32e-4ff4-819f-4bd939986e48 root hd0,gpt6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   25c17f75-1ed7-47d5-99c6-71b70be5c66e
Ubuntu, avec Linux 5.15.0-84-generic   25c17f75-1ed7-47d5-99c6-71b70be5c66e
Ubuntu, avec Linux 5.15.0-67-generic   25c17f75-1ed7-47d5-99c6-71b70be5c66e
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda11/etc/fstab (filtered) ==========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda11 during installation
UUID=25c17f75-1ed7-47d5-99c6-71b70be5c66e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda10 during installation
UUID=8A3A-23CE  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 249,998600006 = 268,433952768  boot/grub/grub.cfg                             2
 193,128761292 = 207,370428416  boot/grub/i386-pc/core.img                     1
 250,005840302 = 268,441726976  boot/vmlinuz                                   2
 249,838863373 = 268,262436864  boot/vmlinuz-5.15.0-67-generic                 2
 250,005840302 = 268,441726976  boot/vmlinuz-5.15.0-84-generic                 2
 249,838863373 = 268,262436864  boot/vmlinuz.old                               2
 251,374019623 = 269,910798336  boot/initrd.img                                4
 251,325649261 = 269,858861056  boot/initrd.img-5.15.0-67-generic              1
 251,374019623 = 269,910798336  boot/initrd.img-5.15.0-84-generic              4
 251,325649261 = 269,858861056  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18224 Dec  2  2022 10_linux
-rwxr-xr-x 1 root root 42359 Dec  2  2022 10_linux_zfs
-rwxr-xr-x 1 root root 13101 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 12059 Dec  2  2022 30_os-prober
-rwxr-xr-x 1 root root  1424 Dec  2  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Jul  3  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Dec  2  2022 40_custom
-rwxr-xr-x 1 root root   216 Dec  2  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi of
sda11,
using the following options:  sda4/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. 

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.6 LTS entry (sda4/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)
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.

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

#20 Le 23/10/2023, à 13:22

geole

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour
Il me semble que tu as bien réparé windows. On y voit son fichier de boot

sda2: __________________________________________________________________________
    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/ubuntu/fwupx64.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

Mais il va falloir  que tu apprennes a booter en EFI

===================================== UEFI =====================================
BIOS/UEFI firmware: N76 Ver. 01.17(1.17) from HP
The firmware is EFI-compatible, but this live-session is in Legacy/BIOS/CSM mode (not in EFI mode).

Pour cela il faut aller dans le bios et faire quelques réglages. Mais chaque bios est particulier.

Ubuntu est aussi installé en EFI.

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


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

#21 Le 23/10/2023, à 23:31

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour,
J'ai accès au Bios par F10 au démarrage. Là j'ai 4 titres :
Main - Security - Advanced - UEFI drivers
J'ai pensé tout d'abord qu'il fallait aller dans UEFI drivers, mais là je n'ai que la possibilité de sélectionner un « 3rd party option ROM management »
Dans Main, j'ai :
System Information
System Diagnosis
Update System BIOS
Change Date and Time
System IDs
Replicated Setup
Save Custom Defaults
Apply Custom Defaults and Exit
Apply Factory defaults and Exit
Ignore Changes and Exit
Save Changes and Exit.
J'ai tenté de voir s'il y avait quelque chose là-dedans qui me permettrait de ré-installer EFI, mais je n'ai rien vu qui faisait ça.
Dans Security, on ne parle que de sécuriser le BIOS avec un mot de passe.
Dans Advanced je trouve :
Display Language
Scheduled power-on
Boot options
Secure Boot configuration (je crois que ça, une fois le BIOS retapé, ça sera utile pour la suite)
System options
Built-in device options (qui concerne la carte ethernet apparemment)
Port options
Option ROM Launch Policy (là, il y a 3 choix, il était en All Legacy, j'ai mis All UEFI. Il y a aussi une option All UEFI Except Video que je n'ai pas essayée)
Enfin Power Management options qui ne m'avance à rien.
Le fait d'avoir changé All Legacy par All UEFI me change l'écran où il s'arrête au démarrage j'obtiens :
GNU GRUB version 2.04
Minimal BASH-like line editing is supported. For the first word, TAB listspossible command completions. Anywhere else TAB lists possible device or file completions.
grub>
Qu'est-ce que je peux faire ??
D'avance merci

Hors ligne

#22 Le 23/10/2023, à 23:40

geole

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

louvrard a écrit :

Bonjour,
Le fait d'avoir changé All Legacy par All UEFI me change l'écran où il s'arrête au démarrage j'obtiens :
GNU GRUB version 2.04
Minimal BASH-like line editing is supported. For the first word, TAB listspossible command completions. Anywhere else TAB lists possible device or file completions.
grub>
Qu'est-ce que je peux faire ??
D'avance merci

Tu as bien avancé, Pourrais-tu maintenant refaire un boot-info.
Et poster l'url que je ne regarderais certainement pas ce soir.
Tu enchaineras sur un boot-repair avec la réparation recommandée que tu posteras aussi.
Puis tu tenteras de booter.

Dernière modification par geole (Le 23/10/2023, à 23: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

#23 Le 24/10/2023, à 12:42

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour Geole, bonjour xubu1957,
le rapport boot-info est disponible à :
http://paste.ubuntu.com/p/B27b4czPdG/
Cordialement.

Hors ligne

#24 Le 24/10/2023, à 12:59

louvrard

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Et voilà le rapport Boot-repair.
http://paste.ubuntu.com/p/rTMtBVkYzq/

Hors ligne

#25 Le 24/10/2023, à 13:04

xubu1957

Re : Impossible de réinstaller Ubuntu en dual boot - RÉSOLU

Bonjour,

Collage du Boot-repair

boot-repair-4ppa203                                              [20231024_1046]

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





grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will purge (in order to fix packages) and reinstall the grub-efi of
sda11,
using the following options:  sda4/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file


/boot/efi added in sda11/fstab
Mount sda4 on /mnt/boot-sav/sda11/boot/efi
ls: cannot access '/mnt/boot-sav/sda11/boot/efi/efi': No such file or directory
No sda11/boot/efi/efi/ ubuntu/mint folder
chroot /mnt/boot-sav/sda11 apt-get -y update
Running in chroot, ignoring request: start
Purge the GRUB of sda11
grub-efi available

The following additional packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
efibootmgr grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
0 upgraded, 5 newly installed, 2 to remove and 243 not upgraded.
DEBCHECK debOK, grub-efi
DEBCHECK debOK
Please type: sudo chroot "/mnt/boot-sav/sda11" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda11" apt-get install -fynsudo chroot "/mnt/boot-sav/sda11" apt-get purge --allow-remove-essential -y grub-com*nsudo chroot "/mnt/boot-sav/sda11" apt-get purge --allow-remove-essential -y grub2-com*nsudo chroot "/mnt/boot-sav/sda11" apt-get purge --allow-remove-essential -y shim-signednsudo chroot "/mnt/boot-sav/sda11" apt-get purge --allow-remove-essential -y grub-common:*nsudo chroot "/mnt/boot-sav/sda11" apt-get purge --allow-remove-essential -y grub2-common:*n
Then type: sudo chroot "/mnt/boot-sav/sda11" apt-get install -y grub-efi

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

======================= Reinstall the grub-efi of sda11 ========================

chroot /mnt/boot-sav/sda11 grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.17
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.3.0-28-generic
chroot /mnt/boot-sav/sda11 modprobe efivars

chroot /mnt/boot-sav/sda11 efibootmgr -v before grub install
BootCurrent: 000F
Timeout: 0 seconds
BootOrder: 000F,000A,000B,0012,0014,0010,000D,000C,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,0011,0013
Boot0000  Startup Menu	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001  System Information	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002  Bios Setup	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003  3rd Party Option ROM Management	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0006  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0007  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008  Boot Menu	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009  HP Recovery	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000A* hp DVDRW GUD1N 	PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)N.....YM....R,Y.....ISPH
Boot000B* Samsung SSD 860 EVO 500GB 	PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)N.....YM....R,Y.....ISPH
Boot000C* Samsung SSD 860 EVO 500GB : 	BBS(HD,Samsung SSD 860 EVO 500GB : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)......ISPH
Boot000D* hp DVDRW GUD1N : 	BBS(CDROM,hp DVDRW GUD1N : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)......ISPH
Boot000F* C8BA8F19	PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)N.....YM....R,Y.....ISPH
Boot0010  USB:  	BBS(65535,,0x0)/PciRoot(0x0)/Pci(0x14,0x0)......ISPH
Boot0011  Network Boot	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0012* IPV4 Network - Intel(R) Ethernet Connection I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(b4b6861e4b13,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0013  Gestion tierce de la ROM optionnelle	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0014* IPV6 Network - Intel(R) Ethernet Connection I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(b4b6861e4b13,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH

chroot /mnt/boot-sav/sda11 uname -r
5.3.0-28-generic

chroot /mnt/boot-sav/sda11 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
Exit code: 1
Error: no grub*.efi generated for Ubuntu 20.04.6 LTS. Please report this message to boot.repair@gmail.com

chroot /mnt/boot-sav/sda11 /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --recheck
Installing for x86_64-efi platform.
/sbin/grub-install: error: /boot/efi doesn't look like an EFI partition.

chroot /mnt/boot-sav/sda11 /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-nvram
Installing for x86_64-efi platform.
/sbin/grub-install: error: /boot/efi doesn't look like an EFI partition.
--no-nvram exit code: 1 Please report this message to boot.repair@gmail.com

chroot /mnt/boot-sav/sda11 efibootmgr -v after grub install
BootCurrent: 000F
Timeout: 0 seconds
BootOrder: 000F,000A,000B,0012,0014,0010,000D,000C,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,0011,0013
Boot0000  Startup Menu	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001  System Information	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002  Bios Setup	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003  3rd Party Option ROM Management	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0006  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0007  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008  Boot Menu	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009  HP Recovery	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000A* hp DVDRW GUD1N 	PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)N.....YM....R,Y.....ISPH
Boot000B* Samsung SSD 860 EVO 500GB 	PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)N.....YM....R,Y.....ISPH
Boot000C* Samsung SSD 860 EVO 500GB : 	BBS(HD,Samsung SSD 860 EVO 500GB : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)......ISPH
Boot000D* hp DVDRW GUD1N : 	BBS(CDROM,hp DVDRW GUD1N : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)......ISPH
Boot000F* C8BA8F19	PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)N.....YM....R,Y.....ISPH
Boot0010  USB:  	BBS(65535,,0x0)/PciRoot(0x0)/Pci(0x14,0x0)......ISPH
Boot0011  Network Boot	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0012* IPV4 Network - Intel(R) Ethernet Connection I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(b4b6861e4b13,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0013  Gestion tierce de la ROM optionnelle	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0014* IPV6 Network - Intel(R) Ethernet Connection I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(b4b6861e4b13,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com

chroot /mnt/boot-sav/sda11 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-84-generic
Found initrd image: /boot/initrd.img-5.15.0-84-generic
Found linux image: /boot/vmlinuz-5.15.0-67-generic
Found initrd image: /boot/initrd.img-5.15.0-67-generic
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings

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

An error occurred during the repair.
Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com

Locked-NVram detected.


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

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

sda1: __________________________________________________________________________

    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:        

sda2: __________________________________________________________________________

    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/ubuntu/fwupx64.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

sda3: __________________________________________________________________________

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

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

sda5: __________________________________________________________________________

    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:        

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

    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:        

sda8: __________________________________________________________________________

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

sda9: __________________________________________________________________________

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

sda10: _________________________________________________________________________

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

sda11: _________________________________________________________________________

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

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


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

OS#1:   Ubuntu 20.04.6 LTS on sda11
OS#2:   Windows 10 or 11 on sda4

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

CPU architecture: 64-bit
Video: Skylake GT2 [HD Graphics 520] from Intel Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

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

BIOS/UEFI firmware: N76 Ver. 01.17 from HP
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 000F
Timeout: 0 seconds
BootOrder: 000F,000A,000B,0012,0014,0010,000D,000C,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,0011,0013
Boot0000  Startup Menu	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001  System Information	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002  Bios Setup	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003  3rd Party Option ROM Management	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0006  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0007  System Diagnostics	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008  Boot Menu	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009  HP Recovery	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000A* hp DVDRW GUD1N 	PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)N.....YM....R,Y.....ISPH
Boot000B* Samsung SSD 860 EVO 500GB 	PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)N.....YM....R,Y.....ISPH
Boot000C* Samsung SSD 860 EVO 500GB : 	BBS(HD,Samsung SSD 860 EVO 500GB : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)......ISPH
Boot000D* hp DVDRW GUD1N : 	BBS(CDROM,hp DVDRW GUD1N : ,0x400)/PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)......ISPH
Boot000F* C8BA8F19	PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)N.....YM....R,Y.....ISPH
Boot0010  USB:  	BBS(65535,,0x0)/PciRoot(0x0)/Pci(0x14,0x0)......ISPH
Boot0011  Network Boot	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0012* IPV4 Network - Intel(R) Ethernet Connection I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(b4b6861e4b13,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0013  Gestion tierce de la ROM optionnelle	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0014* IPV6 Network - Intel(R) Ethernet Connection I219-V	PciRoot(0x0)/Pci(0x1f,0x6)/MAC(b4b6861e4b13,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH

815e9c9976b12fbb5596c84e1f8724fa   sda2/Boot/bootx64.efi
82894bcbe4f010664226ba7591372538   sda2/ubuntu/fwupx64.efi
815e9c9976b12fbb5596c84e1f8724fa   sda2/ubuntu/grubx64.efi
d7f6115f549de53d7795408e4c1d58a9   sda2/ubuntu/mmx64.efi
d91bd7045f56ef46e2d140afb64bb534   sda2/ubuntu/shimx64.efi
f2c9c5c28ef51a83d75db5d108b1a310   sda2/Microsoft/Boot/bootmgfw.efi
46288d3cb6a91cb97d25474930f95dfb   sda2/Microsoft/Boot/bootmgr.efi

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

Disks info: ____________________________________________________________________

sda	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda10	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda11	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda4	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda7	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda9	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda10	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda11	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: is---ESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda9	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda10	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda11	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--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
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda9	: 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.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: F9DBD331-76AE-43A4-8D1C-6473C4E037D6
          Start       End   Sectors   Size Type
sda1       2048   1023999   1021952   499M Windows recovery environment
sda2    1024000   1228799    204800   100M EFI System
sda3    1228800   1261567     32768    16M Microsoft reserved
sda4    1261568 313095095 311833528 148.7G EFI System
sda5  313096192 314572799   1476608   721M Windows recovery environment
sda6  314572800 314574847      2048     1M BIOS boot
sda7  614576128 974770175 360194048 171.8G Microsoft basic data
sda8  974772224 976771071   1998848   976M Linux swap
sda9  314574848 315625471   1050624   513M Microsoft basic data
sda10 315625472 316676095   1050624   513M Microsoft basic data
sda11 316676096 614576127 297900032 142.1G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 58.6 GiB, 62914560000 bytes, 122880000 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 1802239 1802240  880M  0 Empty
sdb2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 980.4 MiB, 1027973120 bytes, 250970 sectors
Disk zram1: 980.4 MiB, 1027973120 bytes, 250970 sectors
Disk zram2: 980.4 MiB, 1027973120 bytes, 250970 sectors
Disk zram3: 980.4 MiB, 1027973120 bytes, 250970 sectors

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:gpt:ATA Samsung SSD 860:;
1:1049kB:524MB:523MB:ntfs:Basic data partition:hidden, diag;
2:524MB:629MB:105MB:fat32:EFI system partition:boot, esp;
3:629MB:646MB:16.8MB::Microsoft reserved partition:msftres;
4:646MB:160GB:160GB:ntfs:Basic data partition:boot, esp;
5:160GB:161GB:756MB:ntfs::hidden, diag;
6:161GB:161GB:1049kB:::bios_grub;
9:161GB:162GB:538MB:fat32::msftdata;
10:162GB:162GB:538MB:fat32::msftdata;
11:162GB:315GB:153GB:ext4::;
7:315GB:499GB:184GB:ntfs:Documents:msftdata;
8:499GB:500GB:1023MB:linux-swap(v1)::;
sdb:62.9GB:scsi:512:512:msdos: PHILIPS:;
2:494kB:3017kB:2523kB:::esp;

Free space >10MiB: ______________________________________________________________

sdb: 2.88MiB:60000MiB:59997MiB

blkid (filtered): ______________________________________________________________

NAME    FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                               
├─sda1  ntfs     CE449E62449E4CD9                     479cb939-ad3c-4a14-b6c8-c14da8924033 Récupération           Basic data partition
├─sda2  vfat     FC9E-C168                            c3515208-5e89-43ba-b073-f316e529fa7a                        EFI system partition
├─sda3                                                f61aca7b-e840-4db2-aad2-7d1a99425d0a                        Microsoft reserved partition
├─sda4  ntfs     5496AA6D96AA4F74                     bc7ce6d5-dc06-42f4-b789-2cb246c4c09c                        Basic data partition
├─sda5  ntfs     48CE1E60CE1E469A                     7041b994-4a34-4877-b1da-b624bfe8cfce                        
├─sda6                                                d833d9af-40e1-4621-91ae-1559adba519e                        
├─sda7  ntfs     529ADA569ADA3667                     f337feac-f166-44f2-9495-3c51d2a99e9e Data                   Documents
├─sda8  swap     94bb36a0-bdf4-4fdb-b2c0-2f70e984d132 1098f35e-f405-4294-b600-18f5d1e8688f                        
├─sda9  vfat     B56A-8C88                            23ca1c05-9f7b-41a3-94ef-e244a8141798                        
├─sda10 vfat     8A3A-23CE                            adc60dc9-06ad-42f1-8606-2a0629a965e5                        
└─sda11 ext4     25c17f75-1ed7-47d5-99c6-71b70be5c66e 9e1dc684-0b93-44c8-a1a2-19378b69b703                        
sdb     iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
├─sdb1  iso9660  2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit 
└─sdb2  vfat     D055-8513                            2c534026-02                          Boot-Repair-Disk 64bit 

Mount points (filtered): _______________________________________________________

             Avail Use% Mounted on
/dev/sda1     489M   2% /mnt/boot-sav/sda1
/dev/sda10    512M   0% /mnt/boot-sav/sda10
/dev/sda11  121.9G   7% /mnt/boot-sav/sda11
/dev/sda2    65.9M  31% /mnt/boot-sav/sda2
/dev/sda4      95G  36% /mnt/boot-sav/sda4
/dev/sda5   112.6M  84% /mnt/boot-sav/sda5
/dev/sda7    52.8G  69% /mnt/boot-sav/sda7
/dev/sda9     512M   0% /mnt/boot-sav/sda9
/dev/sdb         0 100% /cdrom

Mount options (filtered): ______________________________________________________


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

search.fs_uuid 246dc433-b32e-4ff4-819f-4bd939986e48 root hd0,gpt6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   25c17f75-1ed7-47d5-99c6-71b70be5c66e
Ubuntu, with Linux 5.15.0-84-generic   25c17f75-1ed7-47d5-99c6-71b70be5c66e
Ubuntu, with Linux 5.15.0-67-generic   25c17f75-1ed7-47d5-99c6-71b70be5c66e
Windows Boot Manager (on sda2)   osprober-efi-FC9E-C168
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda11/etc/fstab (filtered) ==========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda11 during installation
UUID=25c17f75-1ed7-47d5-99c6-71b70be5c66e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda10 during installation
/swapfile                                 none            swap    sw              0       0
UUID=5496AA6D96AA4F74  /boot/efi       ntfs    defaults      0       1

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

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

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

           GiB - GB             File                                 Fragment(s)
 151.002937317 = 162.138169344  boot/grub/grub.cfg                             1
 250.005840302 = 268.441726976  boot/vmlinuz                                   2
 249.838863373 = 268.262436864  boot/vmlinuz-5.15.0-67-generic                 2
 250.005840302 = 268.441726976  boot/vmlinuz-5.15.0-84-generic                 2
 249.838863373 = 268.262436864  boot/vmlinuz.old                               2
 251.374019623 = 269.910798336  boot/initrd.img                                4
 251.325649261 = 269.858861056  boot/initrd.img-5.15.0-67-generic              1
 251.374019623 = 269.910798336  boot/initrd.img-5.15.0-84-generic              4
 251.325649261 = 269.858861056  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18224 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 42359 Dec 18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 13101 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 12059 Dec 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1424 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   216 Dec 18  2022 41_custom

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

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

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