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 08/10/2022, à 14:01

kosai

dual-boot echoue problem d installation de grub

Bonjours

ce problem est fameux !! donc mon problem est que je vient d installer ubuntu 22.04 en dual-boot avec Win10... le 1er problem etait le nombre de partition primaire depasse 4 !! j ai telecharger easeus et fusionner C: avec une partition de recuperation [resolu] ... ensuit j ai cree les partition logic ext4  /, /home et /boot l installation crush parcequ il peut pas executer

grub-install /dev/sda1 failed  this is a Fatal error

et la meme chose pour FAT32 de type EFI Partition dans sda8 ... le meme message pour sda8 il y a un post similaire dans le forum ou la solution est de lancer boot-repair apres un redemarage sur l USB Live ... je le lance et il a installer le grub avec succee! normalement !!! smile


[ -d /sys/firmware/efi] && echo "EFI" || echo "classic"
bash: [: missing `]'
classic

j ai trouver cette commande dans le post dans le forum est ce que c est normal c est pas EFI !!!
est ce que le boot-repair est la solution ?
est ce que je doit desactiver le secureboot et activer legacy ....??


la derniere fenetre de boot-repair....

Boot successfully repaired.

A new file (/var/log/boot-repair/20221008_115739/Boot-Info_20221008_1157.txt) will open in your text viewer.


In case you still experience boot problem, indicate its content to:
boot.repair@gmail.com or to your favorite support forum.

You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (sda8/efi/ubuntu/grubx64.efi file) !
Please set your BIOS in Legacy mode in order to start your Ubuntu 22.04.1 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

quelq un peut m expliquer les deux derniers phrase ?

les resultats de l installation de grub...

boot-repair-4ppa200                                              [20221008_1157]

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




Default settings: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sda5 into the MBR of sda,
using the following options:  sda7/boot
Grub-efi would not be selected by default because legacy Windows 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 set your BIOS in Legacy mode in order to start your Ubuntu 22.04.1 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

User settings: _________________________________________________________________


=================== /boot detected. Please check the options.
The settings chosen by the user will purge (in order to remove grub-efi) and reinstall the grub-efi of
sda5,
using the following options:  sda7/boot sda8/boot/efi
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file


Quantity of real Windows: 1
Mount sda7 on /mnt/boot-sav/sda5/boot
Mount sda8 on /mnt/boot-sav/sda5/boot/efi
chroot /mnt/boot-sav/sda5 apt-get -y update
Purge the GRUB of sda5
grub-efi available

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

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

======================== Reinstall the grub-efi of sda5 ========================

chroot /mnt/boot-sav/sda5 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7
chroot /mnt/boot-sav/sda5 modprobe efivars

chroot /mnt/boot-sav/sda5 efibootmgr -v before grub install
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,2001,2002,2004
Boot0000* USB Hard Drive (UEFI) - VendorCoProductCode	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x1b39e4,0x800,0x3a97800)RC
Boot0002* ubuntu	HD(4,MBR,0xb05eaf9b,0x67db47fe,0xc95177f)/HD(4,MBR,0x0,0x7467f800,0x8677d)/File(EFIubuntushimx64.efi)RC
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot3002* Internal Hard Disk or Solid State Disk	RC

chroot /mnt/boot-sav/sda5 uname -r
5.15.0-43-generic

chroot /mnt/boot-sav/sda5 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
df /dev/sda8
mv /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda5/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi

chroot /mnt/boot-sav/sda5 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda5 efibootmgr -v after grub install
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,2001,2002,2004
Boot0000* USB Hard Drive (UEFI) - VendorCoProductCode	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x1b39e4,0x800,0x3a97800)RC
Boot0002* ubuntu	HD(4,MBR,0xb05eaf9b,0x67db47fe,0xc95177f)/HD(4,MBR,0x0,0x7467f800,0x8677d)/File(EFIubuntushimx64.efi)RC
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot3002* Internal Hard Disk or Solid State Disk	RC
Warning: NVram was not modified.

chroot /mnt/boot-sav/sda5 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-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
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.

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (sda8/efi/ubuntu/grubx64.efi file) !
Please set your BIOS in Legacy mode in order to start your Ubuntu 22.04.1 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.


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

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sda.
 => 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 (hd0,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    biosdisk fshelp fat exfat ext2 ntfs ntfscomp part_msdos
    ---------------------------------------------------------------------------

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:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    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:        /bootmgr /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    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:        

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /etc/fstab /etc/default/grub

sda6: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda7: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg

sda8: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  MSWIN4.1: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /efi/boot/bootx64.efi 
                       /efi/boot/grubx64.efi /efi/boot/mmx64.efi


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

OS#1:   Ubuntu 22.04.1 LTS on sda5
OS#2:   Windows 10 or 11 on sda2

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

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

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

BIOS/UEFI firmware: F.42(15.42) from Insyde
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Please report this message to boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,2001,2002,2004
Boot0000* USB Hard Drive (UEFI) - VendorCoProductCode	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x1b39e4,0x800,0x3a97800)RC
Boot0001* USB Hard Drive - VendorCoProductCode	BBS(7,\FF,0x500)............................................................................A...........................
Boot0002* ubuntu	HD(4,MBR,0xb05eaf9b,0x67db47fe,0xc95177f)/HD(4,MBR,0x0,0x7467f800,0x8677d)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0004* Notebook Hard Drive - WDC WD10JPVX-60JC3T1	BBS(HD,\FF,0x500)................-.N.......N.A.N....................................z........A.........................
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot3002* Internal Hard Disk or Solid State Disk	RC

f62c28d9b477b6a1a7b1c991b2b6637d   sda8/BOOT/bkpbootx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   sda8/BOOT/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   sda8/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   sda8/BOOT/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   sda8/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda8/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda8/ubuntu/shimx64.efi

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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda8	: is---ESP,	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
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
sda5	: not--sepboot,	no---boot,	fstab-has-goodBOOT,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda6	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: is---sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda8	: 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: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xb05eaf9b
      Boot      Start        End   Sectors   Size Id Type
sda1             2048    1026047   1024000   500M  7 HPFS/NTFS/exFAT
sda2          1026048  976769023 975742976 465.3G  7 HPFS/NTFS/exFAT
sda3        976771136 1742422015 765650880 365.1G  7 HPFS/NTFS/exFAT
sda4       1742424062 1953521532 211097471 100.7G  5 Extended
sda5       1742424064 1820547110  78123047  37.3G 83 Linux
sda6       1820549120 1943592959 123043840  58.7G 83 Linux
sda7       1943595008 1952968703   9373696   4.5G 83 Linux
sda8  *    1952970752 1953521532    550781 268.9M ef EFI (FAT-12/16/32)
Disk sdb: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk identifier: 0x001b39e4
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 61439999 61437952 29.3G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA WDC WD10JPVX-60J:;
1:1049kB:525MB:524MB:ntfs::;
2:525MB:500GB:500GB:ntfs::;
3:500GB:892GB:392GB:ntfs::;
4:892GB:1000GB:108GB:::;
5:892GB:932GB:40.0GB:ext3::;
6:932GB:995GB:63.0GB:ext3::;
7:995GB:1000GB:4799MB:ext3::;
8:1000GB:1000GB:282MB:fat16::boot, esp;
sdb:31.5GB:scsi:512:512:msdos:VendorCo ProductCode:;
1:1049kB:31.5GB:31.5GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     F044589544586100                     b05eaf9b-01                          Réservé au système 
├─sda2 ntfs     42FA5A74FA5A63E7                     b05eaf9b-02                                             
├─sda3 ntfs     2A24A28924A25799                     b05eaf9b-03                          Nouveau volume     
├─sda4                                               b05eaf9b-04                                             
├─sda5 ext3     339fec1d-3de4-4eda-8ec2-bf102e6d9739 b05eaf9b-05                                             
├─sda6 ext3     24e23fca-2385-4cab-8a30-c8684a431017 b05eaf9b-06                                             
├─sda7 ext3     c765de9b-8308-4af7-8d77-bfe428a610a2 b05eaf9b-07                                             
└─sda8 vfat     067D-C607                            b05eaf9b-08                                             
sdb                                                                                                          
└─sdb1 vfat     66F8-4911                            001b39e4-01                          UBUNTU 22_0        

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1              467.5M   6% /mnt/boot-sav/sda1
/dev/sda2              294.9G  37% /mnt/boot-sav/sda2
/dev/sda3              127.2G  65% /mnt/boot-sav/sda3
/dev/sda5               27.8G  19% /mnt/boot-sav/sda5
/dev/sda6               54.5G   0% /mnt/boot-sav/sda6
/dev/sda7                  4G   3% /mnt/boot-sav/sda7
/dev/sda8              261.1M   3% /mnt/boot-sav/sda8
/dev/sdb1               25.7G  12% /cdrom

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/sda5              ext3            rw,relatime
/dev/sda6              ext3            rw,relatime
/dev/sda7              ext3            rw,relatime
/dev/sda8              vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb1              vfat            ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=339fec1d-3de4-4eda-8ec2-bf102e6d9739 /               ext3    errors=remount-ro 0       1
# /boot was on /dev/sda7 during installation
UUID=c765de9b-8308-4af7-8d77-bfe428a610a2 /boot           ext3    defaults        0       2
# /boot/efi was on /dev/sda8 during installation
UUID=067D-C607  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda6 during installation
UUID=24e23fca-2385-4cab-8a30-c8684a431017 /home           ext3    defaults        0       2

======================= sda5/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

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

-rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15 21:50 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Apr 15 21:50 40_custom
-rwxr-xr-x 1 root root   215 Apr 15 21:50 41_custom

======================== sda7/grub/grub.cfg (filtered) =========================

Ubuntu   339fec1d-3de4-4eda-8ec2-bf102e6d9739
Ubuntu, with Linux 5.15.0-43-generic   339fec1d-3de4-4eda-8ec2-bf102e6d9739
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

           GiB - GB             File                                 Fragment(s)
 927.908843994 = 996.334534656  grub/grub.cfg                                  1
 926.937084198 = 995.291115520  vmlinuz                                        8
 926.937084198 = 995.291115520  vmlinuz-5.15.0-43-generic                      8
 927.037628174 = 995.399073792  initrd.img                                     9
 927.037628174 = 995.399073792  initrd.img-5.15.0-43-generic                   9
 927.037628174 = 995.399073792  initrd.img.old                                 9

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

search.fs_uuid c765de9b-8308-4af7-8d77-bfe428a610a2 root hd0,msdos7 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

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

Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
paste.ubuntu.com ko ()
paste.debian.net ko ()

est ce que le grub est correctement installe ??!!


aider moi SVP , merci enormement !

Hors ligne

#2 Le 08/10/2022, à 17:13

geole

Re : dual-boot echoue problem d installation de grub

Bonjour.
Boot-repair a dit de booter en LEGACY et pas en EFI.

Please set your BIOS in Legacy mode in order to start your Ubuntu 22.04.1 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.
e

Cela te permettra de pouvoir booter windows si tu le souhaites après avoir frappé la commande indiquée.


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

En ligne

#3 Le 08/10/2022, à 17:30

kosai

Re : dual-boot echoue problem d installation de grub

Bonjour geole
merci pour la reponse
Si le grub est installer correctement ... je ne peut pas accéder au ubuntu installer comment je peux savoir où le problem j ai installer sous win10 easybcd  et le menu s affiche mais quand je choisi ubuntu il montre une page noire avec où je peux entrer des commandes ...

grub>

Es que c est bon ubuntu est installer et il reste just de booter?!?!

Bon!! J ai essayer d activer le legacy boot j ai trouver que uefi est toujours doit etre activé  ...

when Legacy Support is enabled, UEFI boot order and Legacy boot order are both available and UEFI boot ordre has higher priority than Legacy boot ordre 

Dernière modification par kosai (Le 08/10/2022, à 18:04)

Hors ligne

#4 Le 08/10/2022, à 20:39

geole

Re : dual-boot echoue problem d installation de grub

Pourrais-tu faire un boot-info et poster l URL qui sera générée afin de voir ce qu il y a dans ton ordinateur.


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

En ligne

#5 Le 09/10/2022, à 09:52

kosai

Re : dual-boot echoue problem d installation de grub

bonjour Geole , j ai formater ubuntu et reinstaller toujours avec une partition EFI ... le meme problem de

Unable to install GRUB in /dev/sda Excuting 'grub_install /dev/sda' failed this is a fatal error 

toujours redemarrer et boot-repair

le boot-info avant de reparer

boot-repair-4ppa200                                              [20221009_0746]

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

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sda.
 => 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 (hd0,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    biosdisk fshelp fat exfat ext2 ntfs ntfscomp part_msdos
    ---------------------------------------------------------------------------

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:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    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:        /NST/menu.lst /bootmgr /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    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:        

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /etc/fstab /etc/default/grub

sda6: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda7: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda8: __________________________________________________________________________

    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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  MSWIN4.1: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /efi/boot/bootx64.efi 
                       /efi/boot/grubx64.efi /efi/boot/mmx64.efi


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

OS#1:   Ubuntu 22.04.1 LTS on sda5
OS#2:   Windows 10 or 11 on sda2

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

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

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

BIOS/UEFI firmware: F.42(15.42) from Insyde
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Please report this message to boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,2001,2002,2004
Boot0000* USB Hard Drive (UEFI) - VendorCoProductCode	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x1b39e4,0x800,0x3a97800)RC
Boot0001* USB Hard Drive - VendorCoProductCode	BBS(7,USB Hard Drive - VendorCoProductCode,0x500)............................................................................A...........................
Boot0002* ubuntu	HD(4,MBR,0xb05eaf9b,0x67db47fe,0xc952002)/HD(4,MBR,0x0,0x6c73c000,0xf9800)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0004* Notebook Hard Drive - WDC WD10JPVX-60JC3T1	BBS(HD,ÿ,0x500)................-.N.......N.A.N....................................z........A.........................
Boot2001* EFI USB Device	RC
Boot3002* Internal Hard Disk or Solid State Disk	RC

c152ec201c37b6e97bbc2207e49d1271   sda8/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   sda8/BOOT/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   sda8/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda8/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda8/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda8/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda8	: is---ESP,	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
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
sda5	: not--sepboot,	no---boot,	fstab-has-goodBOOT,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda6	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: is---sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda8	: 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: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xb05eaf9b
      Boot      Start        End   Sectors   Size Id Type
sda1             2048    1026047   1024000   500M  7 HPFS/NTFS/exFAT
sda2          1026048  976769023 975742976 465.3G  7 HPFS/NTFS/exFAT
sda3        976771136 1742422015 765650880 365.1G  7 HPFS/NTFS/exFAT
sda4       1742424062 1953523711 211099650 100.7G  f W95 Ext'd (LBA)
sda5       1742424064 1819523071  77099008  36.8G 83 Linux
sda6       1820549120 1947504639 126955520  60.5G 83 Linux
sda7       1947506688 1953523711   6017024   2.9G 83 Linux
sda8  *    1819525120 1820547071   1021952   499M ef EFI (FAT-12/16/32)
Partition table entries are not in disk order.
Disk sdb: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk identifier: 0x001b39e4
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 61439999 61437952 29.3G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA WDC WD10JPVX-60J:;
1:1049kB:525MB:524MB:ntfs::;
2:525MB:500GB:500GB:ntfs::;
3:500GB:892GB:392GB:ntfs::;
4:892GB:1000GB:108GB:::lba;
5:892GB:932GB:39.5GB:ext3::;
8:932GB:932GB:523MB:fat32::boot, esp;
6:932GB:997GB:65.0GB:ext3::;
7:997GB:1000GB:3081MB:ext3::;
sdb:31.5GB:scsi:512:512:msdos:VendorCo ProductCode:;
1:1049kB:31.5GB:31.5GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     F044589544586100                     b05eaf9b-01                          Réservé au systÚme 
├─sda2 ntfs     42FA5A74FA5A63E7                     b05eaf9b-02                                             
├─sda3 ntfs     2A24A28924A25799                     b05eaf9b-03                          Nouveau volume     
├─sda4                                               b05eaf9b-04                                             
├─sda5 ext3     aa967a7a-d48e-4d60-ba21-4a36de1e64b7 b05eaf9b-05                                             
├─sda6 ext3     f22d52d4-266c-44f4-be40-101be78cb9b2 b05eaf9b-06                                             
├─sda7 ext3     289a077f-2dc0-4af1-b44c-47fa24a62c05 b05eaf9b-07                                             
└─sda8 vfat     E4BE-0A19                            b05eaf9b-08                          EFI UBUNTU         
sdb                                                                                                          
└─sdb1 vfat     66F8-4911                            001b39e4-01                          UBUNTU 22_0        

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1              467.5M   6% /mnt/boot-sav/sda1
/dev/sda2              295.5G  36% /mnt/boot-sav/sda2
/dev/sda3              127.2G  65% /mnt/boot-sav/sda3
/dev/sda5               27.5G  18% /mnt/boot-sav/sda5
/dev/sda6               56.3G   0% /mnt/boot-sav/sda6
/dev/sda7                2.5G   5% /mnt/boot-sav/sda7
/dev/sda8              492.8M   1% /mnt/boot-sav/sda8
/dev/sdb1               25.7G  12% /cdrom

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/sda5              ext3            rw,relatime
/dev/sda6              ext3            rw,relatime
/dev/sda7              ext3            rw,relatime
/dev/sda8              vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb1              vfat            ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

========================= sda2/NST/menu.lst (filtered) =========================

# NeoSmart NeoGrub Bootloader Configuration File
#
# This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst
# Please see the EasyBCD Documentation for information on how to create/modify entries:
# http://neosmart.net/wiki/display/EBCD/


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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             NST/menu.lst

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=aa967a7a-d48e-4d60-ba21-4a36de1e64b7 /               ext3    errors=remount-ro 0       1
# /boot was on /dev/sda7 during installation
UUID=289a077f-2dc0-4af1-b44c-47fa24a62c05 /boot           ext3    defaults        0       2
# /boot/efi was on /dev/sda8 during installation
UUID=E4BE-0A19  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda6 during installation
UUID=f22d52d4-266c-44f4-be40-101be78cb9b2 /home           ext3    defaults        0       2

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

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

-rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15 21:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 19  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15 21:50 40_custom
-rwxr-xr-x 1 root root   215 Apr 15 21:50 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi

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

           GiB - GB             File                                 Fragment(s)
 930.552318573 = 999.172943872  vmlinuz                                        9
 930.552318573 = 999.172943872  vmlinuz-5.15.0-43-generic                      9
 930.652870178 = 999.280910336  initrd.img                                     9
 930.652870178 = 999.280910336  initrd.img-5.15.0-43-generic                   9
 930.652870178 = 999.280910336  initrd.img.old                                 9

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

search.fs_uuid 289a077f-2dc0-4af1-b44c-47fa24a62c05 root hd0,msdos7 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

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

Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory

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

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



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sda5 into the MBR of sda,
using the following options:  sda7/boot
Grub-efi would not be selected by default because legacy Windows 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 set your BIOS in Legacy mode in order to start your Ubuntu 22.04.1 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

paste.ubuntu.com ko ()
paste.debian.net ko ()

dans la reparation j ai cocher

Reinstal GRUB
Unhide boot menu
OS boot by default sda5
Separate /boot partition sda7
place GRUB into sda
Purge GRUB befor reinstallin it
Repair windows boot files
upload the report to a pastbin

resultat de boot-repair

boot-repair-4ppa200                                              [20221009_0748]

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




Default settings: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sda5 into the MBR of sda,
using the following options:  sda7/boot
Grub-efi would not be selected by default because legacy Windows 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 set your BIOS in Legacy mode in order to start your Ubuntu 22.04.1 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

User settings: _________________________________________________________________


=================== /boot detected. Please check the options.
The settings chosen by the user will purge (in order to remove grub-efi) and reinstall the grub2 of
sda5 into the MBR of sda,
using the following options:  disable-internet-check sda7/boot
Grub-efi will not be selected by default because legacy Windows detected.
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix


/boot/efi removed in sda5/fstab
Quantity of real Windows: 1
Mount sda7 on /mnt/boot-sav/sda5/boot
chroot /mnt/boot-sav/sda5 apt-get -y update
Purge the GRUB of sda5
grub-pc available

0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 196 not upgraded.
DEBCHECK debOK, grub-pc
DEBCHECK debOK
Please type: sudo chroot "/mnt/boot-sav/sda5" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda5" apt-get install -fynsudo chroot "/mnt/boot-sav/sda5" apt-get purge --allow-remove-essential -y grub-com*nsudo chroot "/mnt/boot-sav/sda5" apt-get purge --allow-remove-essential -y grub2-com*nsudo chroot "/mnt/boot-sav/sda5" apt-get purge --allow-remove-essential -y shim-signednsudo chroot "/mnt/boot-sav/sda5" apt-get purge --allow-remove-essential -y grub-common:*nsudo chroot "/mnt/boot-sav/sda5" apt-get purge --allow-remove-essential -y grub2-common:*n
Then type: sudo chroot "/mnt/boot-sav/sda5" apt-get install -y grub-pc

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

======================== Reinstall the grub-pc of sda5 =========================

chroot /mnt/boot-sav/sda5 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7

==> Reinstall the GRUB of sda5 into the MBR of sda

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

chroot /mnt/boot-sav/sda5 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-43-generic
Found initrd image: /boot/initrd.img-5.15.0-43-generic
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.

Boot successfully repaired.

You can now reboot your computer.
Please set your BIOS in Legacy mode in order to start your Ubuntu 22.04.1 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.


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

 => 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 (,msdos7)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => 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 (hd0,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    biosdisk fshelp fat exfat ext2 ntfs ntfscomp part_msdos
    ---------------------------------------------------------------------------

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:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    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:        /NST/menu.lst /bootmgr /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    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:        

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /etc/fstab /etc/default/grub

sda6: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda7: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/i386-pc/core.img

sda8: __________________________________________________________________________

    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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  MSWIN4.1: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /efi/boot/bootx64.efi 
                       /efi/boot/grubx64.efi /efi/boot/mmx64.efi


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

OS#1:   Ubuntu 22.04.1 LTS on sda5
OS#2:   Windows 10 or 11 on sda2

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

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

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

BIOS/UEFI firmware: F.42(15.42) from Insyde
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Please report this message to boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,2001,2002,2004
Boot0000* USB Hard Drive (UEFI) - VendorCoProductCode	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x1b39e4,0x800,0x3a97800)RC
Boot0001* USB Hard Drive - VendorCoProductCode	BBS(7,USB Hard Drive - VendorCoProductCode,0x500)............................................................................A...........................
Boot0002* ubuntu	HD(4,MBR,0xb05eaf9b,0x67db47fe,0xc952002)/HD(4,MBR,0x0,0x6c73c000,0xf9800)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0004* Notebook Hard Drive - WDC WD10JPVX-60JC3T1	BBS(HD,\FF,0x500)................-.N.......N.A.N....................................z........A.........................
Boot2001* EFI USB Device	RC
Boot3002* Internal Hard Disk or Solid State Disk	RC

c152ec201c37b6e97bbc2207e49d1271   sda8/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   sda8/BOOT/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   sda8/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda8/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda8/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda8/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda8	: is---ESP,	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
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
sda5	: not--sepboot,	no---boot,	fstab-has-goodBOOT,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda6	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: is---sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda8	: 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: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xb05eaf9b
      Boot      Start        End   Sectors   Size Id Type
sda1             2048    1026047   1024000   500M  7 HPFS/NTFS/exFAT
sda2          1026048  976769023 975742976 465.3G  7 HPFS/NTFS/exFAT
sda3        976771136 1742422015 765650880 365.1G  7 HPFS/NTFS/exFAT
sda4       1742424062 1953523711 211099650 100.7G  f W95 Ext'd (LBA)
sda5       1742424064 1819523071  77099008  36.8G 83 Linux
sda6       1820549120 1947504639 126955520  60.5G 83 Linux
sda7       1947506688 1953523711   6017024   2.9G 83 Linux
sda8  *    1819525120 1820547071   1021952   499M ef EFI (FAT-12/16/32)
Partition table entries are not in disk order.
Disk sdb: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk identifier: 0x001b39e4
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 61439999 61437952 29.3G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA WDC WD10JPVX-60J:;
1:1049kB:525MB:524MB:ntfs::;
2:525MB:500GB:500GB:ntfs::;
3:500GB:892GB:392GB:ntfs::;
4:892GB:1000GB:108GB:::lba;
5:892GB:932GB:39.5GB:ext3::;
8:932GB:932GB:523MB:fat32::boot, esp;
6:932GB:997GB:65.0GB:ext3::;
7:997GB:1000GB:3081MB:ext3::;
sdb:31.5GB:scsi:512:512:msdos:VendorCo ProductCode:;
1:1049kB:31.5GB:31.5GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     F044589544586100                     b05eaf9b-01                          Réservé au système 
├─sda2 ntfs     42FA5A74FA5A63E7                     b05eaf9b-02                                             
├─sda3 ntfs     2A24A28924A25799                     b05eaf9b-03                          Nouveau volume     
├─sda4                                               b05eaf9b-04                                             
├─sda5 ext3     aa967a7a-d48e-4d60-ba21-4a36de1e64b7 b05eaf9b-05                                             
├─sda6 ext3     f22d52d4-266c-44f4-be40-101be78cb9b2 b05eaf9b-06                                             
├─sda7 ext3     289a077f-2dc0-4af1-b44c-47fa24a62c05 b05eaf9b-07                                             
└─sda8 vfat     E4BE-0A19                            b05eaf9b-08                          EFI UBUNTU         
sdb                                                                                                          
└─sdb1 vfat     66F8-4911                            001b39e4-01                          UBUNTU 22_0        

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1              467.5M   6% /mnt/boot-sav/sda1
/dev/sda2              295.5G  36% /mnt/boot-sav/sda2
/dev/sda3              127.2G  65% /mnt/boot-sav/sda3
/dev/sda5               27.3G  19% /mnt/boot-sav/sda5
/dev/sda6               56.3G   0% /mnt/boot-sav/sda6
/dev/sda7                2.5G   5% /mnt/boot-sav/sda7
/dev/sda8              492.8M   1% /mnt/boot-sav/sda8
/dev/sdb1               25.7G  12% /cdrom

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/sda5              ext3            rw,relatime
/dev/sda6              ext3            rw,relatime
/dev/sda7              ext3            rw,relatime
/dev/sda8              vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb1              vfat            ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

========================= sda2/NST/menu.lst (filtered) =========================

# NeoSmart NeoGrub Bootloader Configuration File
#
# This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst
# Please see the EasyBCD Documentation for information on how to create/modify entries:
# http://neosmart.net/wiki/display/EBCD/


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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             NST/menu.lst

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=aa967a7a-d48e-4d60-ba21-4a36de1e64b7 /               ext3    errors=remount-ro 0       1
# /boot was on /dev/sda7 during installation
UUID=289a077f-2dc0-4af1-b44c-47fa24a62c05 /boot           ext3    defaults        0       2
# /boot/efi was on /dev/sda8 during installation
# /home was on /dev/sda6 during installation
UUID=f22d52d4-266c-44f4-be40-101be78cb9b2 /home           ext3    defaults        0       2

======================= sda5/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

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

-rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15 21:50 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Apr 15 21:50 40_custom
-rwxr-xr-x 1 root root   215 Apr 15 21:50 41_custom

======================== sda7/grub/grub.cfg (filtered) =========================

Ubuntu   aa967a7a-d48e-4d60-ba21-4a36de1e64b7
Ubuntu, with Linux 5.15.0-43-generic   aa967a7a-d48e-4d60-ba21-4a36de1e64b7
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

           GiB - GB             File                                 Fragment(s)
 930.149925232 = 998.740877312  grub/grub.cfg                                  1
 930.149913788 = 998.740865024  grub/i386-pc/core.img                          1
 930.552318573 = 999.172943872  vmlinuz                                        9
 930.552318573 = 999.172943872  vmlinuz-5.15.0-43-generic                      9
 930.652870178 = 999.280910336  initrd.img                                     9
 930.652870178 = 999.280910336  initrd.img-5.15.0-43-generic                   9
 930.652870178 = 999.280910336  initrd.img.old                                 9

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

search.fs_uuid 289a077f-2dc0-4af1-b44c-47fa24a62c05 root hd0,msdos7 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

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

Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
paste.ubuntu.com ko ()
paste.debian.net ko ()

et bien sur le boot-info apres le boot-repair

boot-repair-4ppa200                                              [20221009_0833]

============================== 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 (,msdos7)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => 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 (hd0,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    biosdisk fshelp fat exfat ext2 ntfs ntfscomp part_msdos
    ---------------------------------------------------------------------------

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:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    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:        /NST/menu.lst /bootmgr /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    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:        

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /etc/fstab /etc/default/grub

sda6: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda7: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/i386-pc/core.img

sda8: __________________________________________________________________________

    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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  MSWIN4.1: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /efi/boot/bootx64.efi 
                       /efi/boot/grubx64.efi /efi/boot/mmx64.efi


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

OS#1:   Ubuntu 22.04.1 LTS on sda5
OS#2:   Windows 10 or 11 on sda2

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

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

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

BIOS/UEFI firmware: F.42(15.42) from Insyde
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Please report this message to boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,2001,2002,2004
Boot0000* USB Hard Drive (UEFI) - VendorCoProductCode	PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x1b39e4,0x800,0x3a97800)RC
Boot0001* USB Hard Drive - VendorCoProductCode	BBS(7,USB Hard Drive - VendorCoProductCode,0x500)............................................................................A...........................
Boot0002* ubuntu	HD(4,MBR,0xb05eaf9b,0x67db47fe,0xc952002)/HD(4,MBR,0x0,0x6c73c000,0xf9800)/File(\EFI\ubuntu\shimx64.efi)RC
Boot0004* Notebook Hard Drive - WDC WD10JPVX-60JC3T1	BBS(HD,ÿ,0x500)................-.N.......N.A.N....................................z........A.........................
Boot2001* EFI USB Device	RC
Boot3002* Internal Hard Disk or Solid State Disk	RC

c152ec201c37b6e97bbc2207e49d1271   sda8/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   sda8/BOOT/mmx64.efi
f62c28d9b477b6a1a7b1c991b2b6637d   sda8/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   sda8/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda8/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda8/BOOT/BOOTX64.efi

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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	no-grubenv,	update-grub,	farbios
sda6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda7	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	grubenv-ok,	noupdategrub,	farbios
sda8	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda7	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda8	: is---ESP,	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
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
sda5	: not--sepboot,	no---boot,	fstab-has-goodBOOT,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda6	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: is---sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda8	: 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: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xb05eaf9b
      Boot      Start        End   Sectors   Size Id Type
sda1             2048    1026047   1024000   500M  7 HPFS/NTFS/exFAT
sda2          1026048  976769023 975742976 465.3G  7 HPFS/NTFS/exFAT
sda3        976771136 1742422015 765650880 365.1G  7 HPFS/NTFS/exFAT
sda4       1742424062 1953523711 211099650 100.7G  f W95 Ext'd (LBA)
sda5       1742424064 1819523071  77099008  36.8G 83 Linux
sda6       1820549120 1947504639 126955520  60.5G 83 Linux
sda7       1947506688 1953523711   6017024   2.9G 83 Linux
sda8  *    1819525120 1820547071   1021952   499M ef EFI (FAT-12/16/32)
Partition table entries are not in disk order.
Disk sdb: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk identifier: 0x001b39e4
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 61439999 61437952 29.3G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA WDC WD10JPVX-60J:;
1:1049kB:525MB:524MB:ntfs::;
2:525MB:500GB:500GB:ntfs::;
3:500GB:892GB:392GB:ntfs::;
4:892GB:1000GB:108GB:::lba;
5:892GB:932GB:39.5GB:ext3::;
8:932GB:932GB:523MB:fat32::boot, esp;
6:932GB:997GB:65.0GB:ext3::;
7:997GB:1000GB:3081MB:ext3::;
sdb:31.5GB:scsi:512:512:msdos:VendorCo ProductCode:;
1:1049kB:31.5GB:31.5GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     F044589544586100                     b05eaf9b-01                          Réservé au systÚme 
├─sda2 ntfs     42FA5A74FA5A63E7                     b05eaf9b-02                                             
├─sda3 ntfs     2A24A28924A25799                     b05eaf9b-03                          Nouveau volume     
├─sda4                                               b05eaf9b-04                                             
├─sda5 ext3     aa967a7a-d48e-4d60-ba21-4a36de1e64b7 b05eaf9b-05                                             
├─sda6 ext3     f22d52d4-266c-44f4-be40-101be78cb9b2 b05eaf9b-06                                             
├─sda7 ext3     289a077f-2dc0-4af1-b44c-47fa24a62c05 b05eaf9b-07                                             
└─sda8 vfat     E4BE-0A19                            b05eaf9b-08                          EFI UBUNTU         
sdb                                                                                                          
└─sdb1 vfat     66F8-4911                            001b39e4-01                          UBUNTU 22_0        

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1              467.5M   6% /mnt/boot-sav/sda1
/dev/sda2              295.5G  36% /mnt/boot-sav/sda2
/dev/sda3              127.2G  65% /mnt/boot-sav/sda3
/dev/sda5               27.3G  19% /mnt/boot-sav/sda5
/dev/sda6               56.3G   0% /mnt/boot-sav/sda6
/dev/sda7                2.5G   5% /mnt/boot-sav/sda7
/dev/sda8              492.8M   1% /mnt/boot-sav/sda8
/dev/sdb1               25.7G  12% /cdrom

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/sda5              ext3            rw,relatime
/dev/sda6              ext3            rw,relatime
/dev/sda7              ext3            rw,relatime
/dev/sda8              vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sdb1              vfat            ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

========================= sda2/NST/menu.lst (filtered) =========================

# NeoSmart NeoGrub Bootloader Configuration File
#
# This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst
# Please see the EasyBCD Documentation for information on how to create/modify entries:
# http://neosmart.net/wiki/display/EBCD/


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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             NST/menu.lst

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=aa967a7a-d48e-4d60-ba21-4a36de1e64b7 /               ext3    errors=remount-ro 0       1
# /boot was on /dev/sda7 during installation
UUID=289a077f-2dc0-4af1-b44c-47fa24a62c05 /boot           ext3    defaults        0       2
# /boot/efi was on /dev/sda8 during installation
# /home was on /dev/sda6 during installation
UUID=f22d52d4-266c-44f4-be40-101be78cb9b2 /home           ext3    defaults        0       2

======================= sda5/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

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

-rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15 21:50 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Apr 15 21:50 40_custom
-rwxr-xr-x 1 root root   215 Apr 15 21:50 41_custom

======================== sda7/grub/grub.cfg (filtered) =========================

Ubuntu   aa967a7a-d48e-4d60-ba21-4a36de1e64b7
Ubuntu, with Linux 5.15.0-43-generic   aa967a7a-d48e-4d60-ba21-4a36de1e64b7
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

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

           GiB - GB             File                                 Fragment(s)
 930.149925232 = 998.740877312  grub/grub.cfg                                  1
 930.149913788 = 998.740865024  grub/i386-pc/core.img                          1
 930.552318573 = 999.172943872  vmlinuz                                        9
 930.552318573 = 999.172943872  vmlinuz-5.15.0-43-generic                      9
 930.652870178 = 999.280910336  initrd.img                                     9
 930.652870178 = 999.280910336  initrd.img-5.15.0-43-generic                   9
 930.652870178 = 999.280910336  initrd.img.old                                 9

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

search.fs_uuid 289a077f-2dc0-4af1-b44c-47fa24a62c05 root hd0,msdos7 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg

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

Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory

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

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



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda5 into the MBR of sda,
using the following options:  sda7/boot
Grub-efi would not be selected by default because legacy Windows 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 set your BIOS in Legacy mode in order to start your Ubuntu 22.04.1 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

paste.ubuntu.com ko ()
paste.debian.net ko ()

c est Grub Legacy ou Grub2 ou quoi !?! c est EFI ou BIOS ?j ai consulter beaucoup de site sur ces sujets .... mon windows est normalement installer en BIOS et non UEFI mais comporte une partition EFI roll je necomprent rien ...:/

merci pour votre temps:D

Hors ligne

#6 Le 09/10/2022, à 10:54

geole

Re : dual-boot echoue problem d installation de grub

Bonjour.
Ton windows est installé en LEGACY et pas en EFI.
Boot-repair t'a fait une bonne réparation LEGACY.

You can now reboot your computer.
Please set your BIOS in Legacy mode in order to start your Ubuntu 22.04.1 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

Il ne te reste qu'à modifier le bios pour toujours booter en LEGACY puis finir la correction avec cette commande

sudo update-grub

pour retrouver un dual boot.
Nota. Ce n'est pas grave d'avoir une partition FAT32 inutile. Elle pourra servir un jour.
Je suis surpris que ton installation UBUNTU soit dans des partitions EXT3 et pas EXT4 et une seule partition était suffisante.

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


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

En ligne

#7 Le 09/10/2022, à 17:42

kosai

Re : dual-boot echoue problem d installation de grub

C est vrai !!!
Ca marche !!!
Merciii infiniment !!!

Sans cette partition inutile... l installation s'arret !

Hors ligne

#8 Le 09/10/2022, à 18:18

geole

Re : dual-boot echoue problem d installation de grub

kosai a écrit :

Sans cette partition inutile... l'installation s'arrete !

On est d'accord!!!!
Je ne te propose d'ailleurs pas de la supprimer par crainte que les mises à jour importantes se déroulent mal.


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

En ligne