La ligne Grub pour charger Windows ne boot pas

Vous n'arrivez pas à faire ce que vous voulez ? Vous avez un problème avec un logiciel ou son installation ?

Modérateur : Mods GNU/Linux

BJ69
Messages : 3
Inscription : 06 févr. 2021 06:25

La ligne Grub pour charger Windows ne boot pas

par BJ69 »

Bonjour

j'ai un system récent UEFI composé d'un disk GPT avec W10 pro et 2 Linux (Mint 20 et elementary OS 0.5) + 1 disk data 2To à coté

Au niveau UEFI de la machine, je peux booter soit sur Windows 10 - OK, soit sur le Grub de la partition Mint et là j'ai les entrées linux et une de windows 10 qui ne fonctionne pas (Ecran noir)

Ce n'est pas bloquant mais je me demande pourquoi le boot grub sur Windows (chainloader) me donne un écran noir.
J'ai essayé de configurer l'entrée Windows en dur ou de le reprendre depuis les osprober sans succes.

Dès que je sélectionne l'entrée Windows l'écran reste noir. On dirait que le bootmgfw.efi se bloque

Précision : j'ai installé d'abord w10 depuis une clé bootable sur le SSD vierge (avec ses 4 partitions EFI, MR, NTFS et recovery) puis les linux sur 2 autres partitions 5 et 6 en clonant des linux provenant d'autres machines (j'ai modifié les uuid et réglé les pbm de linux)



je met le résultat du BOOTINFO :

Code : Tout sélectionner

               Boot Info Script 0.61      [1 April 2012]


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

 => No boot loader is installed in the MBR of /dev/sda.
 => Grub2 (v1.99) 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 
    in partition 112 for .

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/ELT-GPT6/grubx64.efi 
                       /efi/ELT-GPT6/MokManager.efi /efi/ELT-GPT6/shimx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/MokManager.efi 
                       /efi/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /tmp/BootInfo-hBcls4wJ/sda2: type de système de fichiers «  » inconnu.

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 20.1 Ulyssa
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  elementary OS Hera
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /tmp/BootInfo-hBcls4wJ/sda2: type de système de fichiers «  » inconnu.
mount: /tmp/BootInfo-hBcls4wJ/sdb2: type de système de fichiers «  » inconnu.

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

Drive: sda _____________________________________________________________________
Disque /dev/sda : 447,13 GiB, 480103981056 octets, 937703088 secteurs
Disk model: LDLC F7+480GB   
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   937,703,087   937,703,087  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       206,847       204,800 EFI System partition
/dev/sda2         206,848       239,615        32,768 Microsoft Reserved Partition (Windows)
/dev/sda3         239,616   203,749,408   203,509,793 Data partition (Windows/Linux)
/dev/sda4     203,751,424   204,799,999     1,048,576 Windows Recovery Environment (Windows)
/dev/sda5     204,800,000   511,999,999   307,200,000 Data partition (Linux)
/dev/sda6     512,000,000   819,199,999   307,200,000 Data partition (Linux)

Drive: sdb _____________________________________________________________________
Disque /dev/sdb : 1,84 TiB, 2000398934016 octets, 3907029168 secteurs
Disk model: ST2000DM006-2DM1
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048 3,866,068,991 3,866,066,944   7 NTFS / exFAT / HPFS
/dev/sdb2       3,866,068,992 3,907,028,991    40,960,000   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        2621-2BD2                              vfat       
/dev/sda2                                                          
/dev/sda3        868C2EC98C2EB419                       ntfs       
/dev/sda4        F856B2C756B28642                       ntfs       
/dev/sda5        685f0961-73ca-4830-a23a-beeea74095e8   ext4       Mint
/dev/sda6        51196b13-74b9-4b85-a07a-ee3ede57d605   ext4       elt-OS
/dev/sdb1        2DDF992563F22C1C                       ntfs       2To-Eric
/dev/sdb2                                                          

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/fuse        /root/.cache/doc         fuse       (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/sda3        /mnt/Windows             fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sda5        /                        ext4       (rw,relatime,errors=remount-ro)
/dev/sda6        /mnt/ELT5                ext4       (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sdb1        /mnt/2To-Eric            fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,x-gvfs-show)


=========================== sda5/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
else
  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Linux Mint 20.1 Cinnamon' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-685f0961-73ca-4830-a23a-beeea74095e8' {
	recordfail
	savedefault
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
	else
	  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
	fi
        linux	/boot/vmlinuz-5.8.0-41-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro  quiet splash 
	initrd	/boot/initrd.img-5.8.0-41-generic
}
submenu 'Options avancées pour Linux Mint 20.1 Cinnamon' $menuentry_id_option 'gnulinux-advanced-685f0961-73ca-4830-a23a-beeea74095e8' {
	menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.8.0-41-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.8.0-41-generic-advanced-685f0961-73ca-4830-a23a-beeea74095e8' {
		recordfail
	savedefault
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
		else
		  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
		fi
		echo	'Chargement de Linux 5.8.0-41-generic…'
	        linux	/boot/vmlinuz-5.8.0-41-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro  quiet splash 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.8.0-41-generic
	}
	menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.8.0-41-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.8.0-41-generic-recovery-685f0961-73ca-4830-a23a-beeea74095e8' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
		else
		  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
		fi
		echo	'Chargement de Linux 5.8.0-41-generic…'
	        linux	/boot/vmlinuz-5.8.0-41-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro recovery nomodeset dis_ucode_ldr 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.8.0-41-generic
	}
	menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.8.0-40-generic' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.8.0-40-generic-advanced-685f0961-73ca-4830-a23a-beeea74095e8' {
		recordfail
	savedefault
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
		else
		  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
		fi
		echo	'Chargement de Linux 5.8.0-40-generic…'
	        linux	/boot/vmlinuz-5.8.0-40-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro  quiet splash 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.8.0-40-generic
	}
	menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.8.0-40-generic (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.8.0-40-generic-recovery-685f0961-73ca-4830-a23a-beeea74095e8' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
		else
		  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
		fi
		echo	'Chargement de Linux 5.8.0-40-generic…'
	        linux	/boot/vmlinuz-5.8.0-40-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro recovery nomodeset dis_ucode_ldr 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.8.0-40-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-2621-2BD2' {
	savedefault
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  2621-2BD2
	else
	  search --no-floppy --fs-uuid --set=root 2621-2BD2
	fi
	chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
menuentry 'elementary OS 5.1.7 Hera (5.1.7) (sur /dev/sda6)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-51196b13-74b9-4b85-a07a-ee3ede57d605' {
	savedefault
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
	else
	  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
	fi
	linux /boot/vmlinuz-5.4.0-65-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro quiet splash $vt_handoff
	initrd /boot/initrd.img-5.4.0-65-generic
}
submenu 'Options avancées pour elementary OS 5.1.7 Hera (5.1.7) (sur /dev/sda6)' $menuentry_id_option 'osprober-gnulinux-advanced-51196b13-74b9-4b85-a07a-ee3ede57d605' {
	menuentry 'elementary (sur /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.4.0-65-generic--51196b13-74b9-4b85-a07a-ee3ede57d605' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
		else
		  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
		fi
		linux /boot/vmlinuz-5.4.0-65-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-5.4.0-65-generic
	}
	menuentry 'elementary, avec Linux 5.4.0-65-generic (sur /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.4.0-65-generic--51196b13-74b9-4b85-a07a-ee3ede57d605' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
		else
		  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
		fi
		linux /boot/vmlinuz-5.4.0-65-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-5.4.0-65-generic
	}
	menuentry 'elementary, avec Linux 5.4.0-65-generic (recovery mode) (sur /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.4.0-65-generic-root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro recovery nomodeset dis_ucode_ldr-51196b13-74b9-4b85-a07a-ee3ede57d605' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
		else
		  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
		fi
		linux /boot/vmlinuz-5.4.0-65-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro recovery nomodeset dis_ucode_ldr
		initrd /boot/initrd.img-5.4.0-65-generic
	}
	menuentry 'elementary, avec Linux 5.4.0-64-generic (sur /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.4.0-64-generic--51196b13-74b9-4b85-a07a-ee3ede57d605' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
		else
		  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
		fi
		linux /boot/vmlinuz-5.4.0-64-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-5.4.0-64-generic
	}
	menuentry 'elementary, avec Linux 5.4.0-64-generic (recovery mode) (sur /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.4.0-64-generic-root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro recovery nomodeset dis_ucode_ldr-51196b13-74b9-4b85-a07a-ee3ede57d605' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
		else
		  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
		fi
		linux /boot/vmlinuz-5.4.0-64-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro recovery nomodeset dis_ucode_ldr
		initrd /boot/initrd.img-5.4.0-64-generic
	}
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "W10-hd0,1/EFI/Microsoft/Boot/bootmgfw.efi" {
    insmod part_gpt
    insmod search_fs_uuid
    insmod chain
    search --fs-uuid --no-floppy --set=root 2621-2BD2
    chainloader (hd0,1)/EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Windows force sur 40_custom mint  (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-2621-2BD2' {
	savedefault
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  2621-2BD2
	else
	  search --no-floppy --fs-uuid --set=root 2621-2BD2
	fi
	chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/40_custom ###
--------------------------------------------------------------------------------

=============================== sda5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#  modif ec pour passer le disque monté avec les meme permission que le user actif sur son home : permissions,utf8
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# -------------------------------- disk system  --------------------------------------
UUID=685f0961-73ca-4830-a23a-beeea74095e8 /               ext4    errors=remount-ro 0       1
UUID=2DDF992563F22C1C /mnt/2To-Eric auto permissions,utf8,nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 /mnt/ELT5 auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=868C2EC98C2EB419 /mnt/Windows auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Windows 0 0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


=========================== sda6/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
else
  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'elementary' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-51196b13-74b9-4b85-a07a-ee3ede57d605' {
	recordfail
	savedefault
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
	else
	  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
	fi
        linux	/boot/vmlinuz-5.4.0-65-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-5.4.0-65-generic
}
submenu 'Options avancées pour elementary' $menuentry_id_option 'gnulinux-advanced-51196b13-74b9-4b85-a07a-ee3ede57d605' {
	menuentry 'elementary, avec Linux 5.4.0-65-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-65-generic-advanced-51196b13-74b9-4b85-a07a-ee3ede57d605' {
		recordfail
	savedefault
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
		else
		  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
		fi
		echo	'Chargement de Linux 5.4.0-65-generic…'
	        linux	/boot/vmlinuz-5.4.0-65-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.4.0-65-generic
	}
	menuentry 'elementary, avec Linux 5.4.0-65-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-65-generic-recovery-51196b13-74b9-4b85-a07a-ee3ede57d605' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
		else
		  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
		fi
		echo	'Chargement de Linux 5.4.0-65-generic…'
	        linux	/boot/vmlinuz-5.4.0-65-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro recovery nomodeset dis_ucode_ldr 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.4.0-65-generic
	}
	menuentry 'elementary, avec Linux 5.4.0-64-generic' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-64-generic-advanced-51196b13-74b9-4b85-a07a-ee3ede57d605' {
		recordfail
	savedefault
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
		else
		  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
		fi
		echo	'Chargement de Linux 5.4.0-64-generic…'
	        linux	/boot/vmlinuz-5.4.0-64-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.4.0-64-generic
	}
	menuentry 'elementary, avec Linux 5.4.0-64-generic (recovery mode)' --class elementary --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.0-64-generic-recovery-51196b13-74b9-4b85-a07a-ee3ede57d605' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  51196b13-74b9-4b85-a07a-ee3ede57d605
		else
		  search --no-floppy --fs-uuid --set=root 51196b13-74b9-4b85-a07a-ee3ede57d605
		fi
		echo	'Chargement de Linux 5.4.0-64-generic…'
	        linux	/boot/vmlinuz-5.4.0-64-generic root=UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 ro recovery nomodeset dis_ucode_ldr 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.4.0-64-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-2621-2BD2' {
	savedefault
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  2621-2BD2
	else
	  search --no-floppy --fs-uuid --set=root 2621-2BD2
	fi
	chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Linux Mint 20.1 Ulyssa (20.1) (sur /dev/sda5)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-685f0961-73ca-4830-a23a-beeea74095e8' {
	savedefault
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
	else
	  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
	fi
	linux /boot/vmlinuz-5.8.0-41-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro quiet splash
	initrd /boot/initrd.img-5.8.0-41-generic
}
submenu 'Options avancées pour Linux Mint 20.1 Ulyssa (20.1) (sur /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-685f0961-73ca-4830-a23a-beeea74095e8' {
	menuentry 'Linux Mint 20.1 Cinnamon (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-41-generic--685f0961-73ca-4830-a23a-beeea74095e8' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
		else
		  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
		fi
		linux /boot/vmlinuz-5.8.0-41-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro quiet splash
		initrd /boot/initrd.img-5.8.0-41-generic
	}
	menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.8.0-41-generic (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-41-generic--685f0961-73ca-4830-a23a-beeea74095e8' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
		else
		  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
		fi
		linux /boot/vmlinuz-5.8.0-41-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro quiet splash
		initrd /boot/initrd.img-5.8.0-41-generic
	}
	menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.8.0-41-generic (recovery mode) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-41-generic-root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro recovery nomodeset dis_ucode_ldr-685f0961-73ca-4830-a23a-beeea74095e8' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
		else
		  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
		fi
		linux /boot/vmlinuz-5.8.0-41-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro recovery nomodeset dis_ucode_ldr
		initrd /boot/initrd.img-5.8.0-41-generic
	}
	menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.8.0-40-generic (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-40-generic--685f0961-73ca-4830-a23a-beeea74095e8' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
		else
		  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
		fi
		linux /boot/vmlinuz-5.8.0-40-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro quiet splash
		initrd /boot/initrd.img-5.8.0-40-generic
	}
	menuentry 'Linux Mint 20.1 Cinnamon, avec Linux 5.8.0-40-generic (recovery mode) (sur /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.8.0-40-generic-root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro recovery nomodeset dis_ucode_ldr-685f0961-73ca-4830-a23a-beeea74095e8' {
		savedefault
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  685f0961-73ca-4830-a23a-beeea74095e8
		else
		  search --no-floppy --fs-uuid --set=root 685f0961-73ca-4830-a23a-beeea74095e8
		fi
		linux /boot/vmlinuz-5.8.0-40-generic root=UUID=685f0961-73ca-4830-a23a-beeea74095e8 ro recovery nomodeset dis_ucode_ldr
		initrd /boot/initrd.img-5.8.0-40-generic
	}
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda6/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=51196b13-74b9-4b85-a07a-ee3ede57d605 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
UUID=2DDF992563F22C1C /mnt/2To-Eric auto rw,permissions,utf8,nosuid,nofail,x-gvfs-show 0 0
UUID=868C2EC98C2EB419 /mnt/Windows auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Windows 0 0
UUID=685f0961-73ca-4830-a23a-beeea74095e8 /mnt/Mint auto nosuid,nodev,nofail,x-gvfs-show 0 0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


======================== Unknown MBRs/Boot Sectors/etc: ========================
Malekal_morte
Messages : 107224
Inscription : 10 sept. 2005 13:57

Re: La ligne Grub pour charger Windows ne boot pas

par Malekal_morte »

Bonjour,
BJ69 a écrit : 06 févr. 2021 06:42
/dev/sda1 1 937,703,087 937,703,087 ee GPT


sda3: __________________________________________________________________________

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

~~

menuentry 'Windows Boot Manager (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-2621-2BD2' {
savedefault
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 2621-2BD2
else
search --no-floppy --fs-uuid --set=root 2621-2BD2
fi
chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
Si je lis bien ton disque sda est en GPT mais le bootmgr affiché est en MBR : /bootmgr /Windows/System32/winload.exe
C'est censé pointer sur winload.efi
Je ne sais pas trop si ça peut fonctionner correctement.

Par contre je ne sais pas trop comment l'arranger.
Peut-être qu'il faudrait faire un coup de bcdboot pour remettre en .efi et voir suite.

Après je ne suis pas 100% sûr.
Première règle élémentaire de sécurité : on réfléchit puis on clic et pas l'inverse - Les fichiers/programmes c'est comme les bonbons, quand ça vient d'un inconnu, on n'accepte pas !
Comment protéger son PC des virus

Comment demander de l'aide sur le forum
Partagez malekal.com : n'hésitez pas à partager les articles qui vous plaisent sur la page Facebook du site.
BJ69
Messages : 3
Inscription : 06 févr. 2021 06:25

Re: La ligne Grub pour charger Windows ne boot pas

par BJ69 »

Merci de ta réponse.

le disque 1 est bien en gpt mais c'est pas le bootmgfw.efi de la partition efi qui renvoi ensuite au winload.exe dans la partition Windows ?

je réfléchis avant de risquer gros.... J'en ai pas mal bavé pour trouver une clé usb avec mon windows bootable en mode efi car des que je passais en mode "efi" aucune clé ne bootait. ...

detail de la machine :

System:
Host: Mint-Lyon Kernel: 5.8.0-41-generic x86_64 bits: 64 compiler: N/A
Desktop: Cinnamon 4.8.6 wm: Metacity dm: LightDM
Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
Machine:
Type: Desktop Mobo: ASRock model: H410M-HDV
serial: <superuser/root required> UEFI: American Megatrends v: P1.30
date: 08/10/2020

Drives:
Local Storage: total: 2.26 TiB used: 489.28 GiB (21.2%)
ID-1: /dev/sda vendor: LDLC model: F7+480GB size: 447.13 GiB
speed: 6.0 Gb/s serial: 09232220T0089
ID-2: /dev/sdb vendor: Seagate model: ST2000DM006-2DM164 size: 1.82 TiB
speed: 6.0 Gb/s serial: Z560X60E
Optical-1: /dev/sr0 vendor: ASUS model: DRW-24D5MT rev: 2.00
dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 12 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
ID-1: / size: 144.06 GiB used: 22.20 GiB (15.4%) fs: ext4 dev: /dev/sda5 label: Mint uuid: 685f0961-73ca-4830-a23a-beeea74095e8
ID-2: /mnt/2To-Eric size: 1.80 TiB used: 416.80 GiB (22.6%) fs: ntfs dev: /dev/sdb1 label: 2To-Eric uuid: 2DDF992563F22C1C
ID-3: /mnt/ELT5 size: 143.94 GiB used: 22.42 GiB (15.6%) fs: ext4 dev: /dev/sda6 label: elt-OS uuid: 51196b13-74b9-4b85-a07a-ee3ede57d605
ID-4: /mnt/Windows size: 97.04 GiB used: 27.86 GiB (28.7%) fs: ntfs dev: /dev/sda3 label: N/A uuid: 868C2EC98C2EB419
Unmounted:
ID-1: /dev/sda1 size: 100.0 MiB fs: vfat label: N/A uuid: 2621-2BD2
ID-2: /dev/sda2 size: 16.0 MiB fs: <superuser/root required> label: N/A uuid: N/A
ID-3: /dev/sda4 size: 512.0 MiB fs: ntfs label: N/A uuid: F856B2C756B28642
ID-4: /dev/sdb2 size: 19.53 GiB fs: <superuser/root required> label: N/A
uuid: N/A
inxi: 3.0.38
BJ69
Messages : 3
Inscription : 06 févr. 2021 06:25

Re: La ligne Grub pour charger Windows ne boot pas

par BJ69 »

Finalement, j'ai résolu le pbm. J'ai constaté en mode grub rescue que le faire de charger le boutmgfw.efi sur hd0,gpt1 ne générait pas de message d'erreur mais qu'en en sortant par exit, je bootais sur Windows.

Du coup j'ai rajouté un exit dans mon 40_custom.. comme ca :

menuentry 'Windows sur 40_custom mint avec exit apres (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-2621-2BD2' {
savedefault
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 2621-2BD2
else
search --no-floppy --fs-uuid --set=root 2621-2BD2
fi
chainloader /efi/Microsoft/Boot/bootmgfw.efi
exit
}
Malekal_morte
Messages : 107224
Inscription : 10 sept. 2005 13:57

Re: La ligne Grub pour charger Windows ne boot pas

par Malekal_morte »

ha je n'aurais pas trouvé =)
bien joué.
Première règle élémentaire de sécurité : on réfléchit puis on clic et pas l'inverse - Les fichiers/programmes c'est comme les bonbons, quand ça vient d'un inconnu, on n'accepte pas !
Comment protéger son PC des virus

Comment demander de l'aide sur le forum
Partagez malekal.com : n'hésitez pas à partager les articles qui vous plaisent sur la page Facebook du site.
  • Sujets similaires
    Réponses
    Vues
    Dernier message

Revenir à « Utilisation de GNU/Linux »