Contenu | Rechercher | Menus

Annonce

La nouvelle clé USB Ubuntu-fr est en prévente
Rendez-vous sur la boutique En Vente Libre

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 10/02/2019, à 16:54

Liriope

[Résolu] Nettoyer le Grub (dual boot Ubuntu/Windows)

Bonjour,

J'ai installé un dual boot ubuntu/windows sur mon pc et je suis assez fière de dire que tout s'est bien passé ! Windows étant sur un disque à part, il n'a rien cassé, enfin tout marche bien, je n'ai pas de problème à ce niveau-là.

J'ai bien Grub qui me demande sur quoi je veux démarrer (par défaut, c'est ubuntu qui démarre) quand j'allume le pc (normal), par contre j'ai bien plus de choix que le simple ubuntu ou windows. J'aimerais donc nettoyer un peu tout ça, rendre le grub plus "propre" mais pour ça je préfère demander à des pro par peur de tout casser.

J'ai installé boot repair et grub customizer. D'ailleurs voici ce que m'affiche ce dernier dans l'onglet "configuration de liste":

1549831559.png

A quoi correspond chaque entrée ? Qu'est-ce que je peux enlever (ou mettre en dernier au pire) sans rien casser ? Sachant que je voudrais utiliser la commande "sudo grub-reboot 1 ; reboot" lorsque j'aurai envie de jouer sur windows (et windows ne servira vraiment qu'à installer des jeux) pour m'éviter de rester plantée devant mon écran de démarrage pour choisir la bonne option.

[EDIT : merci pour le tuto miniature d'image]

Dernière modification par Liriope (Le 11/02/2019, à 00:33)

Hors ligne

#2 Le 10/02/2019, à 20:19

Naziel

Re : [Résolu] Nettoyer le Grub (dual boot Ubuntu/Windows)

Les deux entrées ubuntu et windows sont bien évidemment à garder.
En général, il y a une entrée supplémentaire windows pour le recovery windows.

Il y a aussi options avancées à garder qui permet de démarrer sur un ancien noyau (pratique si le dernier noyau fait des siennes)

Je sais pas ce que tu as d'autres comme entrées. Peux tu faire un boot info?
Je suis pas pour enlever des trucs mais les mettre en fin de liste.


[ poster correctement un retour de commande ] [ poster correctement une photo ]
Nouvel adhérent FDN
thinkpad x220, Thinkstation E32 modifié: i5-4570, GTX 1060 6 Gb, 16 Gb de RAM, ...
Pour reprendre le contrôle des semences: https://kokopelli-semences.fr/fr/

Hors ligne

#3 Le 10/02/2019, à 22:39

Liriope

Re : [Résolu] Nettoyer le Grub (dual boot Ubuntu/Windows)

En fait l'entrée pour windows, j'ai essayé au pif la première qui apparaissait (et c'était visiblement la bonne), mais les autres je ne comprends pas trop à quoi ça correspond (pareil pour Ubuntu, la première c'est la bonne, mais après...).

boot info

Ubuntu est installé sur un SSD (sda).
J'ai un HDD de stockage formaté en EXT4 (sdb).
Windows est installé sur un autre SSD (sdc, c'est le dernier truc que j'ai installé). Fun fact (mais qui m'arrange bien), lors d'une session windows j'ai remarqué que windows ne détectait que son disque (et je suppose que c'est absolument normal).

Hors ligne

#4 Le 10/02/2019, à 22:50

Naziel

Re : [Résolu] Nettoyer le Grub (dual boot Ubuntu/Windows)

Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


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

 => No boot loader is installed in the MBR of /dev/sda.
 => Windows 7/8/2012 is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

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

sdc2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi 
                       /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi 
                       /boot-repair/log/20190207_223051/sda1/bootx64.efi 
                       /boot-repair/log/20190207_223051/sdc2/bootx64.efi 
                       /boot-repair/log/20190207_223548/sda1/bootx64.efi 
                       /boot-repair/log/20190207_223548/sdc2/bootx64.efi

sdc3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sdc3: unknown filesystem type ''.

sdc4: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   488,397,167   488,397,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048     1,050,623     1,048,576 EFI System partition
/dev/sda2             1,050,624   488,396,799   487,346,176 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1                   1 4,294,967,295 4,294,967,295  ee GPT

/dev/sdc1 ends after the last sector of /dev/sdc

GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdc1   +  R          2,048     1,023,999     1,021,952 Windows Recovery Environment (Windows)
/dev/sdc2   +         1,024,000     1,226,751       202,752 EFI System partition
/dev/sdc3   +         1,226,752     1,259,519        32,768 Microsoft Reserved Partition (Windows)
/dev/sdc4             1,259,520   488,396,799   487,137,280 Data partition (Windows/Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop10                                             squashfs   
/dev/loop11                                             squashfs   
/dev/loop12                                             squashfs   
/dev/loop13                                             squashfs   
/dev/loop14                                             squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/loop8                                              squashfs   
/dev/loop9                                              squashfs   
/dev/sda1        F9C9-085B                              vfat       
/dev/sda2        d776da0e-b42b-4262-b135-5f2072b04df7   ext4       
/dev/sdb         ddc7827e-267d-475a-be4e-c9ad13a0187d   ext4       Arda
/dev/sdc1        484EE6E84EE6CDAE                       ntfs       Récupération
/dev/sdc2        B2E7-391E                              vfat       
/dev/sdc3                                                          
/dev/sdc4        528EEA458EEA20E9                       ntfs       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Feb 10 21:31 ata-CT250MX500SSD1_1846E1D7F144 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb 10 21:31 ata-CT250MX500SSD1_1846E1D7F144-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Feb 10 21:31 ata-CT250MX500SSD1_1846E1D7F144-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Feb 10 21:31 ata-CT250MX500SSD1_1846E1D7F144-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Feb 10 21:32 ata-CT250MX500SSD1_1846E1D7F144-part4 -> ../../sdc4
lrwxrwxrwx 1 root root  9 Feb 10 21:31 ata-TOSHIBA_HDWD120_78CJNBACS -> ../../sdb
lrwxrwxrwx 1 root root  9 Feb 10 21:31 ata-WDC_WDS250G2B0A-00SM50_181960800314 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 10 21:31 ata-WDC_WDS250G2B0A-00SM50_181960800314-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 10 21:31 ata-WDC_WDS250G2B0A-00SM50_181960800314-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Feb 10 21:31 wwn-0x5000039fd4e3c165 -> ../../sdb
lrwxrwxrwx 1 root root  9 Feb 10 21:31 wwn-0x5001b448b677eb7d -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 10 21:31 wwn-0x5001b448b677eb7d-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 10 21:31 wwn-0x5001b448b677eb7d-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Feb 10 21:31 wwn-0x500a0751e1d7f144 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb 10 21:31 wwn-0x500a0751e1d7f144-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Feb 10 21:31 wwn-0x500a0751e1d7f144-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Feb 10 21:31 wwn-0x500a0751e1d7f144-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Feb 10 21:32 wwn-0x500a0751e1d7f144-part4 -> ../../sdc4

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

Device           Mount_Point              Type       Options

/dev/sda1        /boot/efi                vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid d776da0e-b42b-4262-b135-5f2072b04df7 root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== sda2/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="0"
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,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  d776da0e-b42b-4262-b135-5f2072b04df7
else
  search --no-floppy --fs-uuid --set=root d776da0e-b42b-4262-b135-5f2072b04df7
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=3
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 3 ; 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/light-gray
if background_color 44,0,30,0; then
  clear
fi
### 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 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d776da0e-b42b-4262-b135-5f2072b04df7' {
	recordfail
	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,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  d776da0e-b42b-4262-b135-5f2072b04df7
	else
	  search --no-floppy --fs-uuid --set=root d776da0e-b42b-4262-b135-5f2072b04df7
	fi
        linux	/boot/vmlinuz-4.15.0-45-generic root=UUID=d776da0e-b42b-4262-b135-5f2072b04df7 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.15.0-45-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-d776da0e-b42b-4262-b135-5f2072b04df7' {
	menuentry 'Ubuntu, avec Linux 4.15.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-45-generic-advanced-d776da0e-b42b-4262-b135-5f2072b04df7' {
		recordfail
		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,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  d776da0e-b42b-4262-b135-5f2072b04df7
		else
		  search --no-floppy --fs-uuid --set=root d776da0e-b42b-4262-b135-5f2072b04df7
		fi
		echo	'Chargement de Linux 4.15.0-45-generic…'
	        linux	/boot/vmlinuz-4.15.0-45-generic root=UUID=d776da0e-b42b-4262-b135-5f2072b04df7 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-45-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-45-generic-recovery-d776da0e-b42b-4262-b135-5f2072b04df7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  d776da0e-b42b-4262-b135-5f2072b04df7
		else
		  search --no-floppy --fs-uuid --set=root d776da0e-b42b-4262-b135-5f2072b04df7
		fi
		echo	'Chargement de Linux 4.15.0-45-generic…'
	        linux	/boot/vmlinuz-4.15.0-45-generic root=UUID=d776da0e-b42b-4262-b135-5f2072b04df7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-45-generic
	}
	menuentry 'Ubuntu, avec Linux 4.15.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-44-generic-advanced-d776da0e-b42b-4262-b135-5f2072b04df7' {
		recordfail
		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,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  d776da0e-b42b-4262-b135-5f2072b04df7
		else
		  search --no-floppy --fs-uuid --set=root d776da0e-b42b-4262-b135-5f2072b04df7
		fi
		echo	'Chargement de Linux 4.15.0-44-generic…'
	        linux	/boot/vmlinuz-4.15.0-44-generic root=UUID=d776da0e-b42b-4262-b135-5f2072b04df7 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-44-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-44-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-44-generic-recovery-d776da0e-b42b-4262-b135-5f2072b04df7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  d776da0e-b42b-4262-b135-5f2072b04df7
		else
		  search --no-floppy --fs-uuid --set=root d776da0e-b42b-4262-b135-5f2072b04df7
		fi
		echo	'Chargement de Linux 4.15.0-44-generic…'
	        linux	/boot/vmlinuz-4.15.0-44-generic root=UUID=d776da0e-b42b-4262-b135-5f2072b04df7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-44-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/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_custom ###

menuentry "EFI/BOOT/bkpbootx64.efi" {
search --fs-uuid --no-floppy --set=root F9C9-085B
chainloader (${root})/EFI/BOOT/bkpbootx64.efi
}

menuentry "EFI/BOOT/fbx64.efi" {
search --fs-uuid --no-floppy --set=root F9C9-085B
chainloader (${root})/EFI/BOOT/fbx64.efi
}

menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root F9C9-085B
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root F9C9-085B
chainloader (${root})/EFI/ubuntu/mmx64.efi
}

menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root B2E7-391E
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root B2E7-391E
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (sur /dev/sdc2)' --class windows --class os $menuentry_id_option 'osprober-efi-B2E7-391E' {
	insmod part_gpt
	insmod fat
	set root='hd2,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2  B2E7-391E
	else
	  search --no-floppy --fs-uuid --set=root B2E7-391E
	fi
	chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
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 ###
--------------------------------------------------------------------------------

=============================== sda2/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/sda2 during installation
UUID=d776da0e-b42b-4262-b135-5f2072b04df7 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=F9C9-085B  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
UUID=F9C9-085B	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 186.754192352 = 200.525787136  boot/grub/grub.cfg                             3
 138.153217316 = 148.340887552  boot/vmlinuz-4.15.0-44-generic                 1
 130.875873566 = 140.526899200  boot/vmlinuz-4.15.0-45-generic                 1
 130.875873566 = 140.526899200  vmlinuz                                        1
 138.153217316 = 148.340887552  vmlinuz.old                                    1
 138.936748505 = 149.182197760  boot/initrd.img-4.15.0-44-generic              2
  18.443542480 = 19.803602944   boot/initrd.img-4.15.0-45-generic              2
  18.443542480 = 19.803602944   initrd.img                                     2
 138.936748505 = 149.182197760  initrd.img.old                                 2

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


/dev/sdc1: unknown GPT attributes
8000000000000001

/dev/sdc2: unknown GPT attributes
8000000000000000

/dev/sdc3: unknown GPT attributes
8000000000000000


ADDITIONAL INFORMATION :
=================== log of boot-info 20190210_2131 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 18.04.1 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.15.0-45-generic root=UUID=d776da0e-b42b-4262-b135-5f2072b04df7 ro quiet splash vt.handoff=1
sdb may have broken partition table.
sdb may have broken partition table.

=================== os-prober:
/dev/sda2:L'OS actuellement utilisé - Ubuntu 18.04.1 LTS CurrentSession:linux
/dev/sdc2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda1: UUID="F9C9-085B" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="3130233d-a744-4238-94ea-58484a4ab873"
/dev/sda2: UUID="d776da0e-b42b-4262-b135-5f2072b04df7" TYPE="ext4" PARTUUID="e0f4c289-c1ac-4e5e-8df0-2a7d25abc78d"
/dev/sdb: LABEL="Arda" UUID="ddc7827e-267d-475a-be4e-c9ad13a0187d" TYPE="ext4"
/dev/sdc1: LABEL="RM-CM-)cupM-CM-)ration" UUID="484EE6E84EE6CDAE" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="9db34196-e2de-4190-a8f5-376d876f8eca"
/dev/sdc2: UUID="B2E7-391E" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="f3693037-12ad-4b98-be78-4ce660c3b436"
/dev/sdc4: UUID="528EEA458EEA20E9" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="a6b8113d-f79f-4bdc-90ba-b4f9f13ee58a"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/sdc3: PARTLABEL="Microsoft reserved partition" PARTUUID="da114c0f-80b6-4737-9f72-f71a9215461b"


2 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

Windows not detected by os-prober on sdc4.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 févr. 10 12:55 grub.d
drwxr-xr-x  2 root root     4096 févr.  7 22:38 grub.d.ori
total 84
-rwxr-xr-x 1 root root 10046 févr.  8 00:20 00_header
-rwxr-xr-x 1 root root  6258 juil. 16  2018 05_debian_theme
-rwxr-xr-x 1 root root 12693 juil. 17  2018 10_linux
-rwxr-xr-x 1 root root 11298 juil. 17  2018 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root   844 févr.  7 22:38 25_custom
-rwxr-xr-x 1 root root 12059 juil. 17  2018 30_os-prober
-rwxr-xr-x 1 root root  1418 juil. 17  2018 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juil. 17  2018 40_custom
-rwxr-xr-x 1 root root   216 juil. 17  2018 41_custom
-rw-r--r-- 1 root root   483 juil. 17  2018 README




=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

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

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



/boot/efi detected in the fstab of sda2: UUID=F9C9-085B	 (sda1)

=================== sda2next_entry=/grub/grubenv :
next_entry=



Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/fbx64.efi
Presence of bkp file detected: /boot/efi/EFI/BOOT/bkpbootx64.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sdc2/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sdc2/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sdc2/EFI/Boot/bootx64.efi
Presence of bkp file detected: /mnt/boot-sav/sdc2/EFI/Boot/bkpbootx64.efi
/usr/share/boot-sav/bs-cmd_terminal.sh: ligne 179: avertissement : command substitution: ignored null byte in input

=================== efibootmgr -v
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0000,0003,0001
Boot0000* Windows Boot Manager	HD(2,GPT,f3693037-12ad-4b98-be78-4ce660c3b436,0xfa000,0x31800)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...1................
Boot0001* Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........W.D.C. .W.D.S.2.5.0.G.2.B.0.A.-.0.0.S.M.5.0....................,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.8.1.9.1.0.6.0.8.3.0.4.1. . . . . . . . ........BO..NO..........C.T.2.5.0.M.X.5.0.0.S.S.D.1....................,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.8.1.6.4.1.E.7.D.1.F.4.4. . . . . . . . ........BO..NO..........T.O.S.H.I.B.A. .H.D.W.D.1.2.0....................,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . .7. .C.8.N.J.A.B.S.C........BO
Boot0002* ubuntu	HD(1,GPT,3130233d-a744-4238-94ea-58484a4ab873,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0003* ubuntu	HD(2,GPT,f3693037-12ad-4b98-be78-4ce660c3b436,0xfa000,0x31800)/File(EFIUBUNTUSHIMX64.EFI)..BO

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda2	: sda,	not-sepboot,	grubenv-ng	grub2,	signed grub-pc grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	notbiosboot, .
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /boot/efi.
sdc1	: sdc,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sdc1.
sdc2	: sdc,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sdc2.
sdc4	: sdc,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sdc4.

sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdc	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:250GB:scsi:512:512:gpt:ATA WDC WDS250G2B0A-:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:250GB:250GB:ext4::;

BYT;
/dev/sdb:2000GB:scsi:512:4096:loop:ATA TOSHIBA HDWD120:;
1:0.00B:2000GB:2000GB:ext4::;

BYT;
/dev/sdc:250GB:scsi:512:512:gpt:ATA CT250MX500SSD1:;
1:1049kB:524MB:523MB:ntfs:Basic data partition:hidden, diag;
2:524MB:628MB:104MB:fat32:EFI system partition:boot, esp;
3:628MB:645MB:16.8MB::Microsoft reserved partition:msftres;
4:645MB:250GB:249GB:ntfs:Basic data partition:msftdata;

=================== lsblk:
KNAME  TYPE FSTYPE     SIZE LABEL
loop0  loop squashfs  34,6M
loop1  loop squashfs   2,3M
loop2  loop squashfs  34,7M
loop3  loop squashfs  89,5M
loop4  loop squashfs    13M
loop5  loop squashfs   3,7M
loop6  loop squashfs    91M
loop7  loop squashfs   3,7M
loop8  loop squashfs  14,5M
loop9  loop squashfs  91,1M
loop10 loop squashfs   2,3M
loop11 loop squashfs 140,9M
loop12 loop squashfs  14,5M
loop13 loop squashfs 140,7M
loop14 loop squashfs    13M
sda    disk          232,9G
sda1   part vfat       512M
sda2   part ext4     232,4G
sdb    disk ext4       1,8T Arda
sdc    disk          232,9G
sdc1   part ntfs       499M Récupération
sdc2   part vfat        99M
sdc3   part             16M
sdc4   part ntfs     232,3G

KNAME  ROTA RO RM STATE   MOUNTPOINT
loop0     1  1  0         /snap/gtk-common-themes/818
loop1     1  1  0         /snap/gnome-calculator/260
loop2     1  1  0         /snap/gtk-common-themes/319
loop3     1  1  0         /snap/core/6130
loop4     1  1  0         /snap/gnome-characters/103
loop5     1  1  0         /snap/gnome-system-monitor/51
loop6     1  1  0         /snap/core/6350
loop7     1  1  0         /snap/gnome-system-monitor/57
loop8     1  1  0         /snap/gnome-logs/45
loop9     1  1  0         /snap/core/6259
loop10    1  1  0         /snap/gnome-calculator/180
loop11    1  1  0         /snap/gnome-3-26-1604/70
loop12    1  1  0         /snap/gnome-logs/37
loop13    1  1  0         /snap/gnome-3-26-1604/74
loop14    1  1  0         /snap/gnome-characters/139
sda       0  0  0 running
sda1      0  0  0         /boot/efi
sda2      0  0  0         /
sdb       1  0  0 running
sdc       0  0  0 running
sdc1      0  0  0         /mnt/boot-sav/sdc1
sdc2      0  0  0         /mnt/boot-sav/sdc2
sdc3      0  0  0
sdc4      0  0  0         /mnt/boot-sav/sdc4


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8152356k,nr_inodes=2038089,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1643964k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=40,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1212)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/var/lib/snapd/snaps/gtk-common-themes_818.snap on /snap/gtk-common-themes/818 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_260.snap on /snap/gnome-calculator/260 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_319.snap on /snap/gtk-common-themes/319 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_6130.snap on /snap/core/6130 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/var/lib/snapd/snaps/gnome-system-monitor_51.snap on /snap/gnome-system-monitor/51 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_103.snap on /snap/gnome-characters/103 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_57.snap on /snap/gnome-system-monitor/57 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_6350.snap on /snap/core/6350 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_45.snap on /snap/gnome-logs/45 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_6259.snap on /snap/core/6259 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_180.snap on /snap/gnome-calculator/180 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_70.snap on /snap/gnome-3-26-1604/70 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_37.snap on /snap/gnome-logs/37 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_74.snap on /snap/gnome-3-26-1604/74 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_139.snap on /snap/gnome-characters/139 type squashfs (ro,nodev,relatime,x-gdu.hide)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1643960k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdc1 on /mnt/boot-sav/sdc1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdc2 on /mnt/boot-sav/sdc2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdc4 on /mnt/boot-sav/sdc4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 sda2 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdc (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sdc1 sdc2 sdc3 sdc4 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse gpiochip0 gpiochip1 hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg lightnvm log lp0 mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null nvidia0 nvidiactl nvidia-modeset nvidia-uvm parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sdc sdc1 sdc2 sdc3 sdc4 sg0 sg1 sg2 shm snapshot snd stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 08 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 10 00 00 04 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 5b 08 c9 f9 4e  4f 20 4e 41 4d 45 20 20  |..)[...NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdc1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 97 0f 00 00 00 00 00  |................|
00000030  55 a6 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U...............|
00000040  f6 00 00 00 01 00 00 00  ae cd e6 4e e8 e6 4e 48  |...........N..NH|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdc2
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 02 0e 1a  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 a0 0f 00  |........?.......|
00000020  00 18 03 00 f9 02 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 1e 39 e7 b2 4e  4f 20 4e 41 4d 45 20 20  |..).9..NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 45 72  |..............Er|
000001b0  72 2e 20 64 69 73 71 75  65 ff 0d 0a 50 72 65 73  |r. disque...Pres|
000001c0  73 65 7a 20 75 6e 65 20  74 6f 75 63 68 65 20 70  |sez une touche p|
000001d0  6f 75 72 20 72 65 64 82  6d 61 72 72 65 72 0d 0a  |our red.marrer..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  ac 01 ba 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdc4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 38 13 00  |........?....8..|
00000020  00 00 00 00 80 00 80 00  ff 1f 09 1d 00 00 00 00  |................|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  e9 20 ea 8e 45 ea 8e 52  |......... ..E..R|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7.8G     0  7.8G   0% /dev
tmpfs          tmpfs     1.6G  1.8M  1.6G   1% /run
/dev/sda2      ext4      228G   27G  190G  13% /
tmpfs          tmpfs     7.9G   70M  7.8G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/loop0     squashfs   35M   35M     0 100% /snap/gtk-common-themes/818
/dev/loop1     squashfs  2.3M  2.3M     0 100% /snap/gnome-calculator/260
/dev/loop2     squashfs   35M   35M     0 100% /snap/gtk-common-themes/319
/dev/loop3     squashfs   90M   90M     0 100% /snap/core/6130
/dev/sda1      vfat      511M  7.4M  504M   2% /boot/efi
/dev/loop5     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/51
/dev/loop4     squashfs   13M   13M     0 100% /snap/gnome-characters/103
/dev/loop7     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/57
/dev/loop6     squashfs   91M   91M     0 100% /snap/core/6350
/dev/loop8     squashfs   15M   15M     0 100% /snap/gnome-logs/45
/dev/loop9     squashfs   92M   92M     0 100% /snap/core/6259
/dev/loop10    squashfs  2.4M  2.4M     0 100% /snap/gnome-calculator/180
/dev/loop11    squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/70
/dev/loop12    squashfs   15M   15M     0 100% /snap/gnome-logs/37
/dev/loop13    squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/74
/dev/loop14    squashfs   13M   13M     0 100% /snap/gnome-characters/139
tmpfs          tmpfs     1.6G   28K  1.6G   1% /run/user/1000
/dev/sdc1      fuseblk   499M   11M  489M   3% /mnt/boot-sav/sdc1
/dev/sdc2      vfat       95M   34M   62M  36% /mnt/boot-sav/sdc2
/dev/sdc4      fuseblk   233G   35G  198G  15% /mnt/boot-sav/sdc4

=================== fdisk -l:
Disk /dev/loop0: 34.6 MiB, 36216832 bytes, 70736 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 2.3 MiB, 2355200 bytes, 4600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 34.7 MiB, 36323328 bytes, 70944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 89.5 MiB, 93835264 bytes, 183272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 13 MiB, 13619200 bytes, 26600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 3.7 MiB, 3887104 bytes, 7592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 91 MiB, 95408128 bytes, 186344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop7: 3.7 MiB, 3878912 bytes, 7576 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: FF8B6079-82E2-4F1D-AD4E-8E9CA2CB2806

Device       Start       End   Sectors   Size Type
/dev/sda1     2048   1050623   1048576   512M EFI System
/dev/sda2  1050624 488396799 487346176 232.4G Linux filesystem


Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdc: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D88E16A6-C944-4F2C-B4A3-D75792038CBC

Device       Start       End   Sectors   Size Type
/dev/sdc1     2048   1023999   1021952   499M Windows recovery environment
/dev/sdc2  1024000   1226751    202752    99M EFI System
/dev/sdc3  1226752   1259519     32768    16M Microsoft reserved
/dev/sdc4  1259520 488396799 487137280 232.3G Microsoft basic data


Disk /dev/loop8: 14.5 MiB, 15208448 bytes, 29704 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop9: 91.1 MiB, 95494144 bytes, 186512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop10: 2.3 MiB, 2433024 bytes, 4752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop11: 140.9 MiB, 147722240 bytes, 288520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop12: 14.5 MiB, 15196160 bytes, 29680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop13: 140.7 MiB, 147496960 bytes, 288080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop14: 13 MiB, 13619200 bytes, 26600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda2, using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot use-standard-efi-file  restore-efi-backups


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !

Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\...\grub*.efi


=================== User settings
The settings chosen by the user will not act on the boot.

Ah oui, étonnant cette liste de fichiers efi proposés. Je comprends mieux pourquoi tu veux faire ça.

Tu peux faire

sudo mv /etc/grub.d/25_custom ~/25_custom
sudo update-grub

et redémarrer (il devrait rester ubuntu, les options avancées d'ubuntu, windows, et un utilitaire)

Dernière modification par Naziel (Le 10/02/2019, à 22:54)


[ poster correctement un retour de commande ] [ poster correctement une photo ]
Nouvel adhérent FDN
thinkpad x220, Thinkstation E32 modifié: i5-4570, GTX 1060 6 Gb, 16 Gb de RAM, ...
Pour reprendre le contrôle des semences: https://kokopelli-semences.fr/fr/

Hors ligne

#5 Le 11/02/2019, à 00:32

Liriope

Re : [Résolu] Nettoyer le Grub (dual boot Ubuntu/Windows)

Tout a parfaitement bien marché, j'ai bien ubuntu, ses options avancées, windows et un utilitaire en choix.
Merci bien ! C'est quand même plus propre comme ça smile

Hors ligne

#6 Le 11/02/2019, à 11:32

Naziel

Re : [Résolu] Nettoyer le Grub (dual boot Ubuntu/Windows)

Veux tu continuer à modifier grub afin de pouvoir demander à ce que le prochain démarrage (uniquement le prochain) soit sur windows?


[ poster correctement un retour de commande ] [ poster correctement une photo ]
Nouvel adhérent FDN
thinkpad x220, Thinkstation E32 modifié: i5-4570, GTX 1060 6 Gb, 16 Gb de RAM, ...
Pour reprendre le contrôle des semences: https://kokopelli-semences.fr/fr/

Hors ligne

#7 Le 11/02/2019, à 13:17

Liriope

Re : [Résolu] Nettoyer le Grub (dual boot Ubuntu/Windows)

Je pense que c'est suffisant comme ça ; j'ai testé la commande :

sudo grub-reboot 2 ; reboot

(windows étant en troisième position)
J'ai bien rebooté sur windows. Qu'il soit en deuxième ou troisième position n'est pas bien grave du coup, si j'ai bien compris la commande(les choix sont numérotés en 0, 1, 2 et 3). J'ai déjà modifié le temps où grub s'affiche avec boot repair, ça me convient bien.

Par contre, si un jour par erreur je sélectionne les options avancées d'ubuntu ou l'utilitaire pour booter, il se passera quoi ?

Hors ligne

#8 Le 11/02/2019, à 13:20

Naziel

Re : [Résolu] Nettoyer le Grub (dual boot Ubuntu/Windows)

Ca va exploser
Rien d'incroyable, tu auras le choix entre aller en arrière (échap), choisir un noyau recovery pour réparer des bêtises, noyau upstart (sert presque jamais), noyau normal pour démarrer sur un ancien noyau (si le dernier noyau est mal installé).
Tu peux essayer un ancien noyau (sans revovery ni upstart), tu verras ça va démarrer normalement


[ poster correctement un retour de commande ] [ poster correctement une photo ]
Nouvel adhérent FDN
thinkpad x220, Thinkstation E32 modifié: i5-4570, GTX 1060 6 Gb, 16 Gb de RAM, ...
Pour reprendre le contrôle des semences: https://kokopelli-semences.fr/fr/

Hors ligne

#9 Le 12/02/2019, à 00:17

Liriope

Re : [Résolu] Nettoyer le Grub (dual boot Ubuntu/Windows)

Tant que ça pète pas big_smile
Merci pour l'aide smile

Hors ligne