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 09/02/2024, à 20:08

Sedoric

Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

Bonjour La Communauté,

Pour faire suite à un précédent post qui m'a laissé sur ma faim (https://forum.ubuntu-fr.org/viewtopic.php?id=2082909), j'ai décidé de passer sous Ubuntu 22.04 LTS en repartant d'une réinstallation complète (avec effacement disque et tout le toutime).

Tout s'est bien déroulé jusqu'au moment où j'ai voulu mettre GRUB à jour pour que tous mes systèmes d'exploitation soient pris en compte au démarrage de Ubuntu.

Voici donc où j'en suis actuellement.

sudo grub-install /dev/sda
Installation pour la plate-forme i386-pc.
Installation terminée, sans erreur.
sudo 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-6.5.0-17-generic
Found initrd image: /boot/initrd.img-6.5.0-17-generic
Found linux image: /boot/vmlinuz-6.2.0-26-generic
Found initrd image: /boot/initrd.img-6.2.0-26-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.

Comment puis-je régler ce problème et avoir un boot loader qui me donne accès à tous mes disques (4 au total) ?

Dernière modification par Sedoric (Le 14/03/2024, à 19:27)


« Toute connaissance est une réponse à une question. » (Gaston BACHELARD / Philosophe et épistémologue français / 1884 - 1962)

Hors ligne

#2 Le 09/02/2024, à 20:17

nany

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

Bonjour,



Sedoric a écrit :
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.

Donne le retour de :

grep -q "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i 's/^#GRUB_DISABLE_OS_PROBER/GRUB_DISABLE_OS_PROBER/' /etc/default/grub || sudo sed -i '/GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub ; sudo update-grub

Hors ligne

#3 Le 09/02/2024, à 20:19

Sedoric

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

J'ajoute aussi ce qui suit.

sudo os-prober
/dev/sdg1:Windows NT/2000/XP:Windows:chain
/dev/sdh1:Windows 10:Windows1:chain

Il me manque donc la partition avec Windows 7 (/dev/sdb1).


« Toute connaissance est une réponse à une question. » (Gaston BACHELARD / Philosophe et épistémologue français / 1884 - 1962)

Hors ligne

#4 Le 09/02/2024, à 20:21

Sedoric

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

nany a écrit :

Donne le retour de :

grep -q "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i 's/^#GRUB_DISABLE_OS_PROBER/GRUB_DISABLE_OS_PROBER/' /etc/default/grub || sudo sed -i '/GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub ; sudo update-grub

Comme demandé.

grep -q "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i 's/^#GRUB_DISABLE_OS_PROBER/GRUB_DISABLE_OS_PROBER/' /etc/default/grub || sudo sed -i '/GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub ; sudo 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-6.5.0-17-generic
Found initrd image: /boot/initrd.img-6.5.0-17-generic
Found linux image: /boot/vmlinuz-6.2.0-26-generic
Found initrd image: /boot/initrd.img-6.2.0-26-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows NT/2000/XP on /dev/sdg1
Found Windows 10 on /dev/sdh1

« Toute connaissance est une réponse à une question. » (Gaston BACHELARD / Philosophe et épistémologue français / 1884 - 1962)

Hors ligne

#5 Le 09/02/2024, à 20:30

nany

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

Sedoric a écrit :
Found Windows NT/2000/XP on /dev/sdg1
Found Windows 10 on /dev/sdh1

Voilà déjà deux retrouvés.
Reste le WIndows 7 (bon, en même temps, je me demande quel est l’intérêt d’utiliser des versions de Windows plus maintenues).

Peut-être qu’avec un rapport boot-info (tutoriel/boot-info) on en saurait davantage.

Hors ligne

#6 Le 09/02/2024, à 21:45

jplemoine

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

Est-il possible que le libellé soit faux et le Win7 soit en fait la ligne "Windows NT/2000/XP on /dev/sdg1" ?


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne

#7 Le 10/02/2024, à 12:32

Sedoric

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

jplemoine a écrit :

Est-il possible que le libellé soit faux et le Win7 soit en fait la ligne "Windows NT/2000/XP on /dev/sdg1" ?

Windows 7 est bien installé sur /dev/sdb1.
2024-02-10-11-28-09.png


« Toute connaissance est une réponse à une question. » (Gaston BACHELARD / Philosophe et épistémologue français / 1884 - 1962)

Hors ligne

#8 Le 10/02/2024, à 12:47

Sedoric

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

nany a écrit :

Peut-être qu’avec un rapport boot-info (tutoriel/boot-info) on en saurait davantage.

Impossible de générer un rapport de boot, ça mouline durant des plombes sans résultat (Méthode standard: depuis une session Ubuntu ( LIVE ou normale )).

2024-02-10-11-43-10.png


« Toute connaissance est une réponse à une question. » (Gaston BACHELARD / Philosophe et épistémologue français / 1884 - 1962)

Hors ligne

#9 Le 11/02/2024, à 17:03

Sedoric

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

La méthode standard pour créer un rapport de boot n'ayant pas fonctionné, j'ai tenté la méthode Boot-Repair-Disk.

Le résultat est consultable à l'adresse suivante : rapport boot info

En tout état de cause, voici la liste des OS détectés lors du boot :

================================ 6 OS detected =================================

OS#1:   Ubuntu 22.04.3 LTS on sdb3
OS#2:   Windows 7 (boot) on sdh1
OS#3:   Windows NT/2000/XP on sdi1
OS#4:   Windows 10 (boot) on sdj1
OS#5:   Windows 10 or 11 on sdj2
OS#6:   Windows 7 on sdh2


« Toute connaissance est une réponse à une question. » (Gaston BACHELARD / Philosophe et épistémologue français / 1884 - 1962)

Hors ligne

#10 Le 11/02/2024, à 17:10

xubu1957

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

Bonjour,

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

boot-repair-4ppa2075                                              [20240211_1442]

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

 => Windows is installed in the MBR of /dev/sda.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 2048 
    of the same hard drive for core.img. core.img is at this location and 
    looks for (,gpt3)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk
    ---------------------------------------------------------------------------
 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdc.
 => Windows is installed in the MBR of /dev/sdh.
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdi.
 => Windows is installed in the MBR of /dev/sdj.

sda1: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sdb3: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.03 2010-10-22 ........>..sr>.......c..8...0...~.....~...f...M.f.f....f..0~....>E}.u......
    Boot sector info:  Syslinux looks at sector 11738192 of /dev/sdc1 for 
                       its second stage. SYSLINUX is installed in the  
                       directory. No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/boot/bootia32.efi /efi/boot/bootx64.efi 
                       /efi/boot/grubx64.efi /efi/boot/mmx64.efi /ldlinux.sys

sdh1: __________________________________________________________________________

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

sdh2: __________________________________________________________________________

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

sdi1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM

sdj1: __________________________________________________________________________

    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

sdj2: __________________________________________________________________________

    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

sdj3: __________________________________________________________________________

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

sdj4: __________________________________________________________________________

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


================================ 6 OS detected =================================

OS#1:   Ubuntu 22.04.3 LTS on sdb3
OS#2:   Windows 7 (boot) on sdh1
OS#3:   Windows NT/2000/XP on sdi1
OS#4:   Windows 10 (boot) on sdj1
OS#5:   Windows 10 or 11 on sdj2
OS#6:   Windows 7 on sdh2

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

CPU architecture: 64-bit
Video: TU116 [GeForce GTX 1650 SUPER] from NVIDIA Corporation
Live-session OS is Linuxmint 64-bit (Linux Mint 21.2, victoria, x86_64)

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

BIOS/UEFI firmware: 0301   (3.1) from American Megatrends Inc.
This live-session is in Legacy/BIOS/CSM mode (not in EFI mode).


a9c517741ac31962d7feb152948ad1ee   sdb2/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc   sdb2/BOOT/mmx64.efi
a1da253696a304dce6b4668b70151c0e   sdb2/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   sdb2/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   sdb2/ubuntu/shimx64.efi
64349b3622c65f495a99dbf6102496e3   sdb2/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	usb-disk,	not-mmc, no-os,	no-wind,	2048 sectors * 512 bytes
sdb	: is-GPT,	hasBIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	no-wind,	2048 sectors * 512 bytes
sdi	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	19 sectors * 512 bytes
sdj	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes
sdh	: notGPT,	no-BIOSboot,	has-noESP, 	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,	end-after-100GB
sdb2	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb3	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	not-far
sdi1	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdj3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdj1	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdj4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdj2	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	end-after-100GB
sdh1	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdh2	: is-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,	no-bmgr,	notwinboot
sdb2	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb3	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdi1	: isnotESP,	part-has-no-fstab,	ntldr,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdj3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdj1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sdj4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdj2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdh1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sdh2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	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
sdb2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdb
sdb3	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdi1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdi
sdj3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdj
sdj1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdj
sdj4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdj
sdj2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdj
sdh1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdh
sdh2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sdh

fdisk -l (filtered): ___________________________________________________________

Disk sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x6d865231
     Boot Start        End    Sectors   Size Id Type
sda1        2048 1953521663 1953519616 931.5G  7 HPFS/NTFS/exFAT
Disk sdb: 89.43 GiB, 96029466624 bytes, 187557552 sectors
Disk identifier: 34631044-C8F2-4F75-BE70-075B82A31E20
       Start       End   Sectors  Size Type
sdb1     2048      4095      2048    1M BIOS boot
sdb2     4096   1054719   1050624  513M EFI System
sdb3  1054720 187555839 186501120 88.9G Linux filesystem
Disk sdc: 14.92 GiB, 16025387008 bytes, 31299584 sectors
Disk identifier: 0x817808b7
     Boot Start      End  Sectors  Size Id Type
sdc1  *       64 31299583 31299520 14.9G  c W95 FAT32 (LBA)
Disk sdh: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 0xc5850e0e
     Boot  Start       End   Sectors  Size Id Type
sdh1  *      2048    206847    204800  100M  7 HPFS/NTFS/exFAT
sdh2       206848 937701375 937494528  447G  7 HPFS/NTFS/exFAT
Disk sdi: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 0x79881d58
     Boot Start       End   Sectors   Size Id Type
sdi1  *       19 468853727 468853709 223.6G  7 HPFS/NTFS/exFAT
Disk sdj: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: 0x6ec3da83
     Boot     Start       End   Sectors   Size Id Type
sdj1  *         2048   1126399   1124352   549M  7 HPFS/NTFS/exFAT
sdj2         1126400 466542474 465416075 221.9G  7 HPFS/NTFS/exFAT
sdj3       466542592 467773439   1230848   601M 27 Hidden NTFS WinRE
sdj4       467775488 468856831   1081344   528M 27 Hidden NTFS WinRE

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ST1000LM 048-2E7172:;
1:1049kB:1000GB:1000GB:ntfs::;
sdb:96.0GB:scsi:512:512:gpt:ATA KINGSTON SVP100S:;
1:1049kB:2097kB:1049kB:::bios_grub;
2:2097kB:540MB:538MB:fat32:EFI System Partition:boot, esp;
3:540MB:96.0GB:95.5GB:ext4::;
sdc:16.0GB:scsi:512:512:msdos:Verbatim STORE N GO:;
1:32.8kB:16.0GB:16.0GB:fat32::boot, lba;
sdi:240GB:scsi:512:512:msdos:ATA takeMS SSD UTX-P:;
1:9728B:240GB:240GB:ntfs::boot;
sdj:240GB:scsi:512:512:msdos:ATA KINGSTON SA400S3:;
1:1049kB:577MB:576MB:ntfs::boot;
2:577MB:239GB:238GB:ntfs::;
3:239GB:240GB:630MB:ntfs::msftres;
4:240GB:240GB:554MB:ntfs::msftres;
sdh:480GB:scsi:512:512:msdos:ATA CT480BX500SSD1:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:480GB:480GB:ntfs::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL               PARTLABEL
sda                                                                                                           
└─sda1 ntfs     2177F0B76B2D102F                     6d865231-01                          BACKUP              
sdb                                                                                                           
├─sdb1                                               d0a1a2e7-ee94-4c55-a10c-159cc9e65127                     
├─sdb2 vfat     3958-6CBA                            1bd3cd33-cd6c-45f3-8c02-5806dac686d8                     EFI System Partition
└─sdb3 ext4     243a7bce-dff0-4dfa-8f6e-601ef53a8328 181bd137-3e14-46a9-bd21-befe77ed7fd0                     
sdc                                                                                                           
└─sdc1 vfat     6E2D-D38D                            817808b7-01                          BOOT_REPAIR         
sdd                                                                                                           
sde                                                                                                           
sdf                                                                                                           
sdg                                                                                                           
sdh                                                                                                           
├─sdh1 ntfs     161596CB0BE7DE00                     c5850e0e-01                          Réservé au système  
└─sdh2 ntfs     9F16B6E616E1BF83                     c5850e0e-02                          Windows 7 Ultimate  
sdi                                                                                                           
└─sdi1 ntfs     72A87454A87418B5                     79881d58-01                          Windows XP Pro      
sdj                                                                                                           
├─sdj1 ntfs     B0E8404AE8401150                     6ec3da83-01                          Réservé au système  
├─sdj2 ntfs     AC324C35324C06B4                     6ec3da83-02                          Windows 10 Pro Lite 
├─sdj3 ntfs     20CCDF44CCDF12C0                     6ec3da83-03                                              
└─sdj4 ntfs     CA2260D42260C6D3                     6ec3da83-04                                              

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1   759.3G  18% /media/mint/BACKUP
/dev/sdb2   505.9M   1% /mnt/boot-sav/sdb2
/dev/sdb3    66.4G  19% /mnt/boot-sav/sdb3
/dev/sdc1    11.7G  21% /cdrom
/dev/sdh1      63M  37% /mnt/boot-sav/sdh1
/dev/sdh2     355G  21% /mnt/boot-sav/sdh2
/dev/sdi1   205.7G   8% /mnt/boot-sav/sdi1
/dev/sdj1   519.9M   5% /mnt/boot-sav/sdj1
/dev/sdj2   160.8G  28% /mnt/boot-sav/sdj2
/dev/sdj3    72.2M  88% /mnt/boot-sav/sdj3
/dev/sdj4    88.1M  83% /mnt/boot-sav/sdj4

Mount options (filtered): ______________________________________________________

/dev/sda1   fuseblk         rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sdb2   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb3   ext4            rw,relatime
/dev/sdc1   vfat            ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdh1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdh2   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdi1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdj1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdj2   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdj3   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sdj4   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096

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

search.fs_uuid 243a7bce-dff0-4dfa-8f6e-601ef53a8328 root hd0,gpt3 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   243a7bce-dff0-4dfa-8f6e-601ef53a8328
Windows NT/2000/XP (on sdg1)   72A87454A87418B5
Windows 10 (on sdh1)   B0E8404AE8401150
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb3/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda3 during installation
UUID=243a7bce-dff0-4dfa-8f6e-601ef53a8328 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=3958-6CBA  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sdb3/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=""
GRUB_DISABLE_OS_PROBER=false

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

           GiB - GB             File                                 Fragment(s)
  58.876274109 = 63.217917952   boot/grub/grub.cfg                             1
  49.776283264 = 53.446877184   boot/grub/i386-pc/core.img                     1
  46.324703217 = 49.740771328   boot/vmlinuz                                  12
  45.539188385 = 48.897331200   boot/vmlinuz-6.2.0-26-generic                  1
  46.324703217 = 49.740771328   boot/vmlinuz-6.5.0-17-generic                 12
  45.539188385 = 48.897331200   boot/vmlinuz.old                               1
  17.451152802 = 18.738032640   boot/initrd.img                                1
  17.871406555 = 19.189276672   boot/initrd.img-6.2.0-26-generic               1
  17.451152802 = 18.738032640   boot/initrd.img-6.5.0-17-generic               1
  17.871406555 = 19.189276672   boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 17  2023 35_fwupd
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom

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

Start Boot-Repair-Disk 64-bit
Start Boot-Repair-Disk 64-bit (compatibility mode)
UEFI Firmware Settings
Test memory

========================= sdc1/syslinux.cfg (filtered) =========================

default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/linuxmint.seed boot=casper quiet splash --

label ubnentry0
menu label Start Boot-Repair-Disk
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/linuxmint.seed boot=casper  quiet splash --

label ubnentry1
menu label Start in compatibility mode
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/linuxmint.seed boot=casper  noapic noacpi nosplash irqpoll nomodeset --

label ubnentry2
menu label Start Boot-Repair-Disk 64-bit --class linuxmint
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso_path} quiet splash --

label ubnentry3
menu label Start Boot-Repair-Disk 64-bit (compatibility mode)
kernel /casper/vmlinuz
append initrd=/casper/initrd.lz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso_path} noapic noacpi nosplash irqpoll nomodeset --


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

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

================== sdc1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             menu.c32                                       1

=============== sdc1: Version of COM32(R) files used by Syslinux ===============

 menu.c32                           :  COM32R module (v4.xx)

=========================== sdi1/boot.ini (filtered) ===========================

[Boot Loader]
Timeout=30
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows" /noexecute=optin /fastdetect

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

Unknown BootLoader on sda1




Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb3 into the MBR of sdb.
Grub-efi would not be selected by default because legacy Windows 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 KINGSTON SVP100S) disk!

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

Hors ligne

#11 Le 12/02/2024, à 18:15

Sedoric

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

Faut-il procéder comme suggéré dans le Boot-repair ?

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

« Toute connaissance est une réponse à une question. » (Gaston BACHELARD / Philosophe et épistémologue français / 1884 - 1962)

Hors ligne

#12 Le 14/03/2024, à 19:24

Sedoric

Re : Installation GRUB impossible - Ubuntu 22.04LTS (RESOLU)

De manière miraculeuse et inattendue, GRUB s'est mis à jour sans aucune intervention de ma part et j'ai désormais accès à tous les OS (voir ci-dessous).

grep -q "DISABLE_OS_PROBER" /etc/default/grub && sudo sed -i 's/^#GRUB_DISABLE_OS_PROBER/GRUB_DISABLE_OS_PROBER/' /etc/default/grub || sudo sed -i '/GRUB_CMDLINE_LINUX=/a\GRUB_DISABLE_OS_PROBER=false' /etc/default/grub ; sudo 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-6.5.0-25-generic
Found initrd image: /boot/initrd.img-6.5.0-25-generic
Found linux image: /boot/vmlinuz-6.5.0-21-generic
Found initrd image: /boot/initrd.img-6.5.0-21-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows 7 on /dev/sdb1
Found Windows NT/2000/XP on /dev/sdg1
Found Windows 10 on /dev/sdh1

Ce sujet est donc résolu !


« Toute connaissance est une réponse à une question. » (Gaston BACHELARD / Philosophe et épistémologue français / 1884 - 1962)

Hors ligne