Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 22/04/2025, à 11:17

geole

Re : [Résolu] grub rescue après une mise à niveau 20.04 --> 24.04

Les deux pistes disent la même chose;   Réinstaller le logiciel de boot
L une le fait en faisant des commandes chroot que tu dois adapter

L autre le fait en utilisant boot-repair qui adapte le chroot.

Pour avoir un clavier français, frappe  setxkb,qp fr    Cela devrait afficher setxkbmap fr

Tant que tu booteras en EFI, inutile de réparer.

Dernière modification par geole (Le 22/04/2025, à 11:19)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#27 Le 22/04/2025, à 14:53

jarto

Re : [Résolu] grub rescue après une mise à niveau 20.04 --> 24.04

geole a écrit :

-As-tu modifié le bios pour tout mettre en LEGACY/CSM

oui en legacy
bios.jpg

Si oui, tu pourrais refaire un boot-info afin de savoir ce que la réparation recommandée va proposer.
installation du mbr dans SDA ou SDB.

boot-infos

Si tu as besoin, d'utiliser windows, il devrait suffire de lancer son support d'installation et de demander  la réparation du mbr par la commande /fixmbr ( https://support.microsoft.com/fr-fr/top … bf51f7dd5d )

pour l'instant ça peut attendre wink

Pour infos : sur le live j'ai vu un boot infos avec un gros point d'interrogation, je l'ai lancé !
résultat du live (budgie 20-04)
boot-infos du live


Ubuntu Budgie 24.04.2 LTS / 64 bits / Gnome 3.36.8

Hors ligne

#28 Le 22/04/2025, à 14:56

xubu1957

Re : [Résolu] grub rescue après une mise à niveau 20.04 --> 24.04

Bonjour,

Collage des Boot-infos, pour les spécialistes :

boot-info-4ppa2081                                              [20250422_1236]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid 6d5e73b9-2e80-4990-a518-7e5260606255 root hd1,msdos5 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => libparted MBR boot code is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10 or 11
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

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


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

OS#1 (linux):   Ubuntu 24.04.2 LTS on sdb5
OS#2 (windows):   Windows 10 or 11 on sda2

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

CPU architecture: 64-bit
Video: HD Graphics 510 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.1 LTS, focal, x86_64)

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

BIOS/UEFI firmware: F5 from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0001,0002
Boot0001* Hard Drive	BBS(HD,,0x0)..GO..NO........o.W.D.C. .W.D.S.2.5.0.G.1.B.0.A.-.0.0.H.9.H.0....................A...........................>..Gd-.;.A..MQ..L.7.1.7.1.6.0.0.A.F.1.4.8. . . . . . . . ........BO..NO........o.W.D.C. .W.D.S.1.2.0.G.1.G.0.B.-.0.0.R.C.3.0....................A...........................>..Gd-.;.A..MQ..L.7.1.4.3.9.0.0.8.0.1.7.8. . . . . . . . ........BO..NO........s.G.e.n.e.r.i.c. .E.x.t.e.r.n.a.l. .1...0.8....................A.......................F..Gd-.;.A..MQ..L.5.3.4.2.3.2.3.4.3.8.3.1.4.7.4.A.4.8.3.2.5.6.4.A........BO
Boot0002* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.D.1....................A...........................>..Gd-.;.A..MQ..L.1.K.H.1.V.3.4.F.4.5. .5. . . . . . . . ........BO
Boot0003* UEFI: HL-DT-ST DVDRAM GH24NSD1	PciRoot(0x0)/Pci(0x17,0x0)/Sata(4,65535,0)/CDROM(1,0x10c311,0x1f00)..BO


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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdc	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdc1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot, ntfs
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sdb5	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdc1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs

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
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdc1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x8ec10b4d
     Boot     Start       End   Sectors   Size Id Type
sda1  *         2048   1026047   1024000   500M  7 HPFS/NTFS/exFAT
sda2         1026048 233358753 232332706 110.8G  7 HPFS/NTFS/exFAT
sda3       233359360 234436607   1077248   526M 27 Hidden NTFS WinRE
Disk sdb: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0xf0dad066
     Boot     Start       End   Sectors   Size Id Type
sdb1            2048 240579099 240577052 114.7G  7 HPFS/NTFS/exFAT
sdb2       240580606 488397014 247816409 118.2G  5 Extended
sdb5       240580608 488397014 247816407 118.2G 83 Linux
Disk sdc: 149.5 GiB, 160041885696 bytes, 312581808 sectors
Disk identifier: 0xb21b988b
     Boot Start       End   Sectors   Size Id Type
sdc1        2048 312580095 312578048 149.1G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:120GB:scsi:512:512:msdos:ATA WDC WDS120G1G0B-:;
1:1049kB:525MB:524MB:ntfs::boot;
2:525MB:119GB:119GB:ntfs::;
3:119GB:120GB:552MB:ntfs::msftres;
sdb:250GB:scsi:512:512:msdos:ATA WDC WDS250G1B0A-:;
1:1049kB:123GB:123GB:ntfs::;
2:123GB:250GB:127GB:::;
5:123GB:250GB:127GB:ext4::;
sdc:160GB:scsi:512:512:msdos:Generic External:;
1:1049kB:160GB:160GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                           PARTLABEL
sda                                                                                                                       
├─sda1 ntfs     C0943B63943B5ADC                     8ec10b4d-01                          Réservé au système              
├─sda2 ntfs     869640A996409B95                     8ec10b4d-02                                                          
└─sda3 ntfs     0A627D16627D0829                     8ec10b4d-03                                                          
sdb                                                                                                                       
├─sdb1 ntfs     2044018544015EC2                     f0dad066-01                          Disque                          
├─sdb2                                               f0dad066-02                                                          
└─sdb5 ext4     6d5e73b9-2e80-4990-a518-7e5260606255 f0dad066-05                                                          
sdc                                                                                                                       
└─sdc1 ntfs     634BEAD83C7999E3                     b21b988b-01                          moa160                          

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1   471.4M   6% /mnt/boot-sav/sda1
/dev/sda2      42G  62% /mnt/boot-sav/sda2
/dev/sda3    82.3M  84% /mnt/boot-sav/sda3
/dev/sdb1    80.4G  30% /mnt/boot-sav/sdb1
/dev/sdb5    46.3G  55% /mnt/boot-sav/sdb5
/dev/sdc1    87.8G  41% /mnt/boot-sav/sdc1

Mount options (filtered): ______________________________________________________

/dev/sda1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda3   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb5   ext4            rw,relatime
/dev/sdc1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

Ubuntu   6d5e73b9-2e80-4990-a518-7e5260606255
Windows 10 (on sda1)   C0943B63943B5ADC
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=6d5e73b9-2e80-4990-a518-7e5260606255 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
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=""

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

           GiB - GB             File                                 Fragment(s)
 178.966594696 = 192.163917824  boot/grub/grub.cfg                             1
 141.979598999 = 152.449433600  boot/grub/i386-pc/core.img                     1
 208.262981415 = 223.620673536  boot/vmlinuz                                   2
 205.130168915 = 220.256841728  boot/vmlinuz-6.8.0-57-generic                  2
 208.262981415 = 223.620673536  boot/vmlinuz-6.8.0-58-generic                  2
 205.130168915 = 220.256841728  boot/vmlinuz.old                               2
 174.202144623 = 187.048128512  boot/initrd.img                                3
 174.217769623 = 187.064905728  boot/initrd.img-6.8.0-57-generic               5
 174.202144623 = 187.048128512  boot/initrd.img-6.8.0-58-generic               3
 174.217769623 = 187.064905728  boot/initrd.img.old                            5

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

-rwxr-xr-x 1 root root 18133 Sep 11  2024 10_linux
-rwxr-xr-x 1 root root 43202 Sep 11  2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11  2024 20_linux_xen
-rwxr-xr-x 1 root root   786 Sep 11  2024 25_bli
-rwxr-xr-x 1 root root 13120 Sep 11  2024 30_os-prober
-rwxr-xr-x 1 root root  1174 Sep 11  2024 30_uefi-firmware
-rwxr-xr-x 1 root root   722 Feb 10 14:19 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 13  2021 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom

======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdc1




Suggested repair: ______________________________________________________________

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

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your BIOS boot on sdb (ATA WDC WDS250G1B0A-) disk!

The boot files of [sdb5 (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)Please set your BIOS in Legacy mode in order to start your Ubuntu 24.04.2 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

le live :

boot-info-4ppa2081                                              [20250422_1244]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid 6d5e73b9-2e80-4990-a518-7e5260606255 root hd1,msdos5 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => libparted MBR boot code is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10 or 11
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

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


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

OS#1 (linux):   Ubuntu 24.04.2 LTS on sdb5
OS#2 (windows):   Windows 10 or 11 on sda2

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

CPU architecture: 64-bit
Video: HD Graphics 510 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.1 LTS, focal, x86_64)

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

BIOS/UEFI firmware: F5 from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0001,0002
Boot0001* Hard Drive	BBS(HD,,0x0)..GO..NO........o.W.D.C. .W.D.S.2.5.0.G.1.B.0.A.-.0.0.H.9.H.0....................A...........................>..Gd-.;.A..MQ..L.7.1.7.1.6.0.0.A.F.1.4.8. . . . . . . . ........BO..NO........o.W.D.C. .W.D.S.1.2.0.G.1.G.0.B.-.0.0.R.C.3.0....................A...........................>..Gd-.;.A..MQ..L.7.1.4.3.9.0.0.8.0.1.7.8. . . . . . . . ........BO..NO........s.G.e.n.e.r.i.c. .E.x.t.e.r.n.a.l. .1...0.8....................A.......................F..Gd-.;.A..MQ..L.5.3.4.2.3.2.3.4.3.8.3.1.4.7.4.A.4.8.3.2.5.6.4.A........BO
Boot0002* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.D.1....................A...........................>..Gd-.;.A..MQ..L.1.K.H.1.V.3.4.F.4.5. .5. . . . . . . . ........BO
Boot0003* UEFI: HL-DT-ST DVDRAM GH24NSD1	PciRoot(0x0)/Pci(0x17,0x0)/Sata(4,65535,0)/CDROM(1,0x10c311,0x1f00)..BO


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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdc	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdc1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot, ntfs
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sdb5	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdc1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs

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
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdc1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x8ec10b4d
     Boot     Start       End   Sectors   Size Id Type
sda1  *         2048   1026047   1024000   500M  7 HPFS/NTFS/exFAT
sda2         1026048 233358753 232332706 110.8G  7 HPFS/NTFS/exFAT
sda3       233359360 234436607   1077248   526M 27 Hidden NTFS WinRE
Disk sdb: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0xf0dad066
     Boot     Start       End   Sectors   Size Id Type
sdb1            2048 240579099 240577052 114.7G  7 HPFS/NTFS/exFAT
sdb2       240580606 488397014 247816409 118.2G  5 Extended
sdb5       240580608 488397014 247816407 118.2G 83 Linux
Disk sdc: 149.5 GiB, 160041885696 bytes, 312581808 sectors
Disk identifier: 0xb21b988b
     Boot Start       End   Sectors   Size Id Type
sdc1        2048 312580095 312578048 149.1G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:120GB:scsi:512:512:msdos:ATA WDC WDS120G1G0B-:;
1:1049kB:525MB:524MB:ntfs::boot;
2:525MB:119GB:119GB:ntfs::;
3:119GB:120GB:552MB:ntfs::msftres;
sdb:250GB:scsi:512:512:msdos:ATA WDC WDS250G1B0A-:;
1:1049kB:123GB:123GB:ntfs::;
2:123GB:250GB:127GB:::;
5:123GB:250GB:127GB:ext4::;
sdc:160GB:scsi:512:512:msdos:Generic External:;
1:1049kB:160GB:160GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                           PARTLABEL
sda                                                                                                                       
├─sda1 ntfs     C0943B63943B5ADC                     8ec10b4d-01                          Réservé au système              
├─sda2 ntfs     869640A996409B95                     8ec10b4d-02                                                          
└─sda3 ntfs     0A627D16627D0829                     8ec10b4d-03                                                          
sdb                                                                                                                       
├─sdb1 ntfs     2044018544015EC2                     f0dad066-01                          Disque                          
├─sdb2                                               f0dad066-02                                                          
└─sdb5 ext4     6d5e73b9-2e80-4990-a518-7e5260606255 f0dad066-05                                                          
sdc                                                                                                                       
└─sdc1 ntfs     634BEAD83C7999E3                     b21b988b-01                          moa160                          

Mount points (filtered): _______________________________________________________

             Avail Use% Mounted on
/dev/sda1   471.4M   6% /mnt/boot-sav/sda1
/dev/sda2      42G  62% /mnt/boot-sav/sda2
/dev/sda3    82.3M  84% /mnt/boot-sav/sda3
/dev/sdb1    80.4G  30% /mnt/boot-sav/sdb1
/dev/sdb5    46.3G  55% /mnt/boot-sav/sdb5
/dev/sdc1    87.8G  41% /mnt/boot-sav/sdc1

Mount options (filtered): ______________________________________________________

/dev/sda1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda3   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb5   ext4            rw,relatime
/dev/sdc1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

Ubuntu   6d5e73b9-2e80-4990-a518-7e5260606255
Windows 10 (on sda1)   C0943B63943B5ADC
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=6d5e73b9-2e80-4990-a518-7e5260606255 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
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=""

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

           GiB - GB             File                                 Fragment(s)
 178.966594696 = 192.163917824  boot/grub/grub.cfg                             1
 141.979598999 = 152.449433600  boot/grub/i386-pc/core.img                     1
 208.262981415 = 223.620673536  boot/vmlinuz                                   2
 205.130168915 = 220.256841728  boot/vmlinuz-6.8.0-57-generic                  2
 208.262981415 = 223.620673536  boot/vmlinuz-6.8.0-58-generic                  2
 205.130168915 = 220.256841728  boot/vmlinuz.old                               2
 174.202144623 = 187.048128512  boot/initrd.img                                3
 174.217769623 = 187.064905728  boot/initrd.img-6.8.0-57-generic               5
 174.202144623 = 187.048128512  boot/initrd.img-6.8.0-58-generic               3
 174.217769623 = 187.064905728  boot/initrd.img.old                            5

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

-rwxr-xr-x 1 root root 18133 Sep 11  2024 10_linux
-rwxr-xr-x 1 root root 43202 Sep 11  2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11  2024 20_linux_xen
-rwxr-xr-x 1 root root   786 Sep 11  2024 25_bli
-rwxr-xr-x 1 root root 13120 Sep 11  2024 30_os-prober
-rwxr-xr-x 1 root root  1174 Sep 11  2024 30_uefi-firmware
-rwxr-xr-x 1 root root   722 Feb 10 14:19 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 13  2021 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom

======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdc1




Suggested repair: ______________________________________________________________

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

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your BIOS boot on sdb (ATA WDC WDS250G1B0A-) disk!

The boot files of [sdb5 (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)Please set your BIOS in Legacy mode in order to start your Ubuntu 24.04.2 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] 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

Hors ligne

#29 Le 22/04/2025, à 16:27

jarto

Re : [Résolu] grub rescue après une mise à niveau 20.04 --> 24.04

j'ai modifié dans le bios "Other PCI devices" en legacy pour lever de doute.(uefi avant)
boot-info au cas ou !

boot-info-4ppa2081                                              [20250422_1415]

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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid 6d5e73b9-2e80-4990-a518-7e5260606255 root hd1,msdos5 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => libparted MBR boot code is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10 or 11
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

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


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

OS#1 (linux):   Ubuntu 24.04.2 LTS on sdb5
OS#2 (windows):   Windows 10 or 11 on sda2

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

CPU architecture: 64-bit
Video: HD Graphics 510 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.1 LTS, focal, x86_64)

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

BIOS/UEFI firmware: F5 from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0001,0002
Boot0001* Hard Drive	BBS(HD,,0x0)..GO..NO........o.W.D.C. .W.D.S.2.5.0.G.1.B.0.A.-.0.0.H.9.H.0....................A...........................>..Gd-.;.A..MQ..L.7.1.7.1.6.0.0.A.F.1.4.8. . . . . . . . ........BO..NO........o.W.D.C. .W.D.S.1.2.0.G.1.G.0.B.-.0.0.R.C.3.0....................A...........................>..Gd-.;.A..MQ..L.7.1.4.3.9.0.0.8.0.1.7.8. . . . . . . . ........BO..NO........s.G.e.n.e.r.i.c. .E.x.t.e.r.n.a.l. .1...0.8....................A.......................F..Gd-.;.A..MQ..L.5.3.4.2.3.2.3.4.3.8.3.1.4.7.4.A.4.8.3.2.5.6.4.A........BO
Boot0002* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.D.1....................A...........................>..Gd-.;.A..MQ..L.1.K.H.1.V.3.4.F.4.5. .5. . . . . . . . ........BO
Boot0003* UEFI: HL-DT-ST DVDRAM GH24NSD1	PciRoot(0x0)/Pci(0x17,0x0)/Sata(4,65535,0)/CDROM(1,0x10c311,0x1f00)..BO


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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdc	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdb5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdc1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot, ntfs
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sdb5	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdc1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs

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
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdc1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x8ec10b4d
     Boot     Start       End   Sectors   Size Id Type
sda1  *         2048   1026047   1024000   500M  7 HPFS/NTFS/exFAT
sda2         1026048 233358753 232332706 110.8G  7 HPFS/NTFS/exFAT
sda3       233359360 234436607   1077248   526M 27 Hidden NTFS WinRE
Disk sdb: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0xf0dad066
     Boot     Start       End   Sectors   Size Id Type
sdb1            2048 240579099 240577052 114.7G  7 HPFS/NTFS/exFAT
sdb2       240580606 488397014 247816409 118.2G  5 Extended
sdb5       240580608 488397014 247816407 118.2G 83 Linux
Disk sdc: 149.5 GiB, 160041885696 bytes, 312581808 sectors
Disk identifier: 0xb21b988b
     Boot Start       End   Sectors   Size Id Type
sdc1        2048 312580095 312578048 149.1G  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:120GB:scsi:512:512:msdos:ATA WDC WDS120G1G0B-:;
1:1049kB:525MB:524MB:ntfs::boot;
2:525MB:119GB:119GB:ntfs::;
3:119GB:120GB:552MB:ntfs::msftres;
sdb:250GB:scsi:512:512:msdos:ATA WDC WDS250G1B0A-:;
1:1049kB:123GB:123GB:ntfs::;
2:123GB:250GB:127GB:::;
5:123GB:250GB:127GB:ext4::;
sdc:160GB:scsi:512:512:msdos:Generic External:;
1:1049kB:160GB:160GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                           PARTLABEL
sda                                                                                                                       
├─sda1 ntfs     C0943B63943B5ADC                     8ec10b4d-01                          Réservé au système              
├─sda2 ntfs     869640A996409B95                     8ec10b4d-02                                                          
└─sda3 ntfs     0A627D16627D0829                     8ec10b4d-03                                                          
sdb                                                                                                                       
├─sdb1 ntfs     2044018544015EC2                     f0dad066-01                          Disque                          
├─sdb2                                               f0dad066-02                                                          
└─sdb5 ext4     6d5e73b9-2e80-4990-a518-7e5260606255 f0dad066-05                                                          
sdc                                                                                                                       
└─sdc1 ntfs     634BEAD83C7999E3                     b21b988b-01                          moa160                          

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1   471.4M   6% /mnt/boot-sav/sda1
/dev/sda2      42G  62% /mnt/boot-sav/sda2
/dev/sda3    82.3M  84% /mnt/boot-sav/sda3
/dev/sdb1    80.4G  30% /mnt/boot-sav/sdb1
/dev/sdb5    46.3G  55% /mnt/boot-sav/sdb5
/dev/sdc1    87.8G  41% /mnt/boot-sav/sdc1

Mount options (filtered): ______________________________________________________

/dev/sda1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda3   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb5   ext4            rw,relatime
/dev/sdc1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

Ubuntu   6d5e73b9-2e80-4990-a518-7e5260606255
Windows 10 (on sda1)   C0943B63943B5ADC
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb5 during installation
UUID=6d5e73b9-2e80-4990-a518-7e5260606255 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
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=""

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

           GiB - GB             File                                 Fragment(s)
 178.966594696 = 192.163917824  boot/grub/grub.cfg                             1
 141.979598999 = 152.449433600  boot/grub/i386-pc/core.img                     1
 208.262981415 = 223.620673536  boot/vmlinuz                                   2
 205.130168915 = 220.256841728  boot/vmlinuz-6.8.0-57-generic                  2
 208.262981415 = 223.620673536  boot/vmlinuz-6.8.0-58-generic                  2
 205.130168915 = 220.256841728  boot/vmlinuz.old                               2
 174.202144623 = 187.048128512  boot/initrd.img                                3
 174.217769623 = 187.064905728  boot/initrd.img-6.8.0-57-generic               5
 174.202144623 = 187.048128512  boot/initrd.img-6.8.0-58-generic               3
 174.217769623 = 187.064905728  boot/initrd.img.old                            5

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

-rwxr-xr-x 1 root root 18133 Sep 11  2024 10_linux
-rwxr-xr-x 1 root root 43202 Sep 11  2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Sep 11  2024 20_linux_xen
-rwxr-xr-x 1 root root   786 Sep 11  2024 25_bli
-rwxr-xr-x 1 root root 13120 Sep 11  2024 30_os-prober
-rwxr-xr-x 1 root root  1174 Sep 11  2024 30_uefi-firmware
-rwxr-xr-x 1 root root   722 Feb 10 14:19 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 13  2021 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom

======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdc1




Suggested repair: ______________________________________________________________

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

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your BIOS boot on sdb (ATA WDC WDS250G1B0A-) disk!

The boot files of [sdb5 (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)Please set your BIOS in Legacy mode in order to start your Ubuntu 24.04.2 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

Ubuntu Budgie 24.04.2 LTS / 64 bits / Gnome 3.36.8

Hors ligne

#30 Le 22/04/2025, à 16:30

geole

Re : [Résolu] grub rescue après une mise à niveau 20.04 --> 24.04

Les deux live-usb sont en toujours faites en EFI.
pas illogique puisque la dernière de  la capture du bios indique toujours UEFI pour other pci device.
Je serais surpris que celà ne puisse pas se modifier.

Dernière modification par geole (Le 22/04/2025, à 16:32)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#31 Le 22/04/2025, à 16:43

geole

Re : [Résolu] grub rescue après une mise à niveau 20.04 --> 24.04

Le troisième boot-info est sans changement,

The firmware is EFI-compatible, and is set in EFI-mode for this live-session.q

Je t'ai donné une commande pour vérifier que le boot du live-usb n'est pas fait en EFI.

Au point où on en est, lance boot-repair. ( https://doc.ubuntu-fr.org/boot-repair )
et fait la réparation recommandée

The default repair of the Boot-Repair utility would reinstall the grub2 of sdb5 into the MBR of sdb.

et poste le retour de la réparation.
Après tout, il n'est peut-être pas obligatoire d'être en legacy pour réparer.

The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode. 

Dernière modification par geole (Le 22/04/2025, à 16:50)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#32 Le 22/04/2025, à 18:52

jarto

Re : [Résolu] grub rescue après une mise à niveau 20.04 --> 24.04

Je t'ai donné une commande pour vérifier que le boot du live-usb n'est pas fait en EFI.

je l'ai refait lors de nouvelle  session live = session EFI (répondu post #24)
Boot repair: me dit que je suis en EFI et de recommencer après avoir changer en legacy mode
Are you sure you want to continue anyway  yes or no lol
j'assume pour le yes / la nuit porte conseil


Ubuntu Budgie 24.04.2 LTS / 64 bits / Gnome 3.36.8

Hors ligne

#33 Le 22/04/2025, à 19:01

geole

Re : [Résolu] grub rescue après une mise à niveau 20.04 --> 24.04

Le post 24, c'était avant que tu modifies le bios.

Je ne vois pas comment tu peux continuer à booter EFI si tous les paramètres du bios sont LEGACY.
Il va être temps que tu vérifies la version du bios ( F5 ? ) et que tu regardes  si le fournisseur de la carte mère ne dispose pas d'une version plus récente.
Je suppose que ton ordinateur est un ordinateur de bureau et pas un portable.

Dernière modification par geole (Le 23/04/2025, à 10:40)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#34 Le 23/04/2025, à 15:00

jarto

Re : [Résolu] grub rescue après une mise à niveau 20.04 --> 24.04

geole a écrit :

Le post 24, c'était avant que tu modifies le bios.
Il va être temps que tu vérifies la version du bios ( F5 ? ) et que tu regardes  si le fournisseur de la carte mère ne dispose pas d'une version plus récente.
Je suppose que ton ordinateur est un ordinateur de bureau et pas un portable.

- mise à jour du bios effectuée.(F8d)
- ordinateur de bureau
Un fois la mise à jour du bios effectuée et reboot auto , la 24.04 est enfin apparue !
Merci encore pour votre tenacité, patience et conseils smile
Quelques bricoles à peaufiner et je m'occupe du Grub que j'ai perdu.
boot-infos

boot-info-4ppa2081                                              [20250423_1120]

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



================================ 3 OS detected =================================

OS#1 (linux):   L'OS actuellement utilisé - Ubuntu 24.04.2 LTS on sdb5
OS#2 (windows):   Windows 10 (boot) on sda1
OS#3 (windows):   Windows 10 or 11 on sda2

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

CPU architecture: 64-bit
Video: HD Graphics 510 from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.8.0-58-generic root=UUID=6d5e73b9-2e80-4990-a518-7e5260606255 ro quiet splash vt.handoff=7
df -Th / : /dev/sdb5        ext4   116G     59G   52G  54% /

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

BIOS/UEFI firmware: F8d(5.12) from American Megatrends Inc.
The firmware seems EFI-compatible, but this installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).



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

Disks info: ____________________________________________________________________

sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdc	: notGPT,	no-BIOSboot,	has-noESP, 	usb-disk,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes
sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sdb5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	end-after-100GB
sdb1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdc1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda2	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sda1	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sdb5	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ext4
sdb1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sdc1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot, ntfs
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot, ntfs

Partitions info (3/3): _________________________________________________________

sdb5	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdb1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdc1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdc
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________


parted -lm (filtered): _________________________________________________________

sda:120GB:scsi:512:512:msdos:ATA WDC WDS120G1G0B-:;
1:1049kB:525MB:524MB:ntfs::boot;
2:525MB:119GB:119GB:ntfs::;
3:119GB:120GB:552MB:ntfs::msftres;
sdb:250GB:scsi:512:512:msdos:ATA WDC WDS250G1B0A-:;
1:1049kB:123GB:123GB:ntfs::;
2:123GB:250GB:127GB:::;
5:123GB:250GB:127GB:ext4::;
sdc:160GB:scsi:512:512:msdos:Generic External:;
1:1049kB:160GB:160GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     C0943B63943B5ADC                     8ec10b4d-01                          Réservé au système 
├─sda2 ntfs     869640A996409B95                     8ec10b4d-02                                             
└─sda3 ntfs     0A627D16627D0829                     8ec10b4d-03                                             
sdb                                                                                                          
├─sdb1 ntfs     2044018544015EC2                     f0dad066-01                          Disque             
├─sdb2                                               f0dad066-02                                             
└─sdb5 ext4     6d5e73b9-2e80-4990-a518-7e5260606255 f0dad066-05                                             
sdc                                                                                                          
└─sdc1 ntfs     634BEAD83C7999E3                     b21b988b-01                          moa160             

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1              471.4M   6% /mnt/boot-sav/sda1
/dev/sda2                 42G  62% /mnt/boot-sav/sda2
/dev/sda3               82.3M  84% /mnt/boot-sav/sda3
/dev/sdb1               80.4G  30% /mnt/boot-sav/sdb1
/dev/sdb5               51.1G  51% /
/dev/sdc1               87.8G  41% /media/moa/moa160

Mount options (filtered): ______________________________________________________

/dev/sda1              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda3              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb1              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdb5              ext4            rw,relatime,errors=remount-ro
/dev/sdc1              ntfs3           rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8



Suggested repair: ______________________________________________________________

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

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your BIOS boot on sdb (ATA WDC WDS250G1B0A-) disk!

Ubuntu Budgie 24.04.2 LTS / 64 bits / Gnome 3.36.8

Hors ligne