Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#1 Le 28/02/2020, à 03:16

paved

[Résolu] Grub

Salut
J ai 2 partitions dans mon pc windows et ubuntu et la derniere fois quand j ai fini de travailler sur ubuntu, j ai voulu aller sur windows mais à chaque fois il me générait l 'erreur suivant INACCESSIBLE_BOOT_DEVICE, j ai sur suivi les tutoriels j ai pu le corriger mais une quand j allumais mon pc au démarrage  mon grub avait disparu, j' ai  suivi votre documentation dans laquelle vous réparez le grub et je l ai réparé mais une fois cela au niveau du grub c est afficher :
                               Ubuntu
                               Advanced potions for Ubuntu
                               Windows UEFI bootmgfw.efi
                               Windows Boot UEFI loader
                               windows 10 (on /dev/sda1)
                               Windows 10 (on /dev/sda2)
je voudrais retirer  :
                             Windows UEFI bootmgfw.efi
                             Windows Boot UEFI loader
                             Windows 10 (on /dev/sda2)
sur mon grub comment faire aussi ma partition ubuntu est affiché sur windows j aimerais la retirer?


[Résolu]

Dernière modification par Ayral (Le 07/08/2020, à 20:33)

Hors ligne

#2 Le 28/02/2020, à 08:04

malbo

Re : [Résolu] Grub

Bonjour,
Depuis une session de ton Ubuntu installé, je te prie de faire un Boot-info et de donner l'URL de ce Boot-info dans ta réponse. Motif : pour réaliser les modifications que tu souhaites, il est nécessaire de voir plus précisément l'installation.

Hors ligne

#3 Le 28/02/2020, à 09:09

paved

Re : [Résolu] Grub

salut le voici
boot-info

Hors ligne

#4 Le 28/02/2020, à 09:37

malbo

Re : [Résolu] Grub

Je colle ci-dessous le Boot-info dont tu as donné le lien dans ton post #3 :

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


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda4 starts 
                       at sector 248530944. But according to the info from 
                       fdisk, sda4 starts at sector 936151668.
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: ADATA SU630     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1               2,048       718,847       716,800   7 NTFS / exFAT / HPFS
/dev/sda2    *        718,848   558,662,259   557,943,412   7 NTFS / exFAT / HPFS
/dev/sda3         558,663,678   936,151,039   377,487,362   5 Extended
/dev/sda5         558,663,680   936,151,039   377,487,360  83 Linux
/dev/sda4         936,151,668   937,687,667     1,536,000  27 Hidden NTFS (Recovery Environment)


"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/loop15                                             squashfs   
/dev/loop16                                             squashfs   
/dev/loop17                                             squashfs   
/dev/loop18                                             squashfs   
/dev/loop19                                             squashfs   
/dev/loop2                                              squashfs   
/dev/loop20                                             squashfs   
/dev/loop21                                             squashfs   
/dev/loop22                                             squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/loop8                                              squashfs   
/dev/loop9                                              squashfs   
/dev/sda1        F0CE1E05CE1DC52E                       ntfs       
/dev/sda2        8EC66867C668520F                       ntfs       Windows
/dev/sda4        DC4E68A04E6874E4                       ntfs       Recovery image
/dev/sda5        b8e193a8-06e4-447f-8903-eb2ff51a8df2   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 Feb 28 08:04 ata-ADATA_SU630_2J3020051517 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 28 08:04 ata-ADATA_SU630_2J3020051517-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 28 08:05 ata-ADATA_SU630_2J3020051517-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 28 08:04 ata-ADATA_SU630_2J3020051517-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 28 08:05 ata-ADATA_SU630_2J3020051517-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Feb 28 08:04 ata-ADATA_SU630_2J3020051517-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Feb 28 07:46 ata-HL-DT-ST_DVD+_-RW_GU90N_KMOE5Q20718 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb 28 08:04 wwn-0x5000000000000000 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 28 08:04 wwn-0x5000000000000000-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 28 08:05 wwn-0x5000000000000000-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 28 08:04 wwn-0x5000000000000000-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 28 08:05 wwn-0x5000000000000000-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Feb 28 08:04 wwn-0x5000000000000000-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Feb 28 07:46 wwn-0x5001480000000000 -> ../../sr0

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

Device           Mount_Point              Type       Options

/dev/fuse        /root/.cache/doc         fuse       (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/fuse        /run/user/1000/doc       fuse       (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda1        /boot/efi                fuseblk    (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda5        /                        ext4       (rw,relatime,errors=remount-ro)


=========================== 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 [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="Windows Boot UEFI loader"
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 initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; 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_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
else
  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
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/light-gray
# previously #2c001e 44,0,30,0
# now yaru #4f194c 79,25,76
if background_color 79,25,76,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=7
	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-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
	else
	  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
	fi
	linux	/boot/vmlinuz-5.3.0-40-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-5.3.0-40-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
	menuentry 'Ubuntu, with Linux 5.3.0-40-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-40-generic-advanced-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
		else
		  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
		fi
		echo	'Loading Linux 5.3.0-40-generic ...'
		linux	/boot/vmlinuz-5.3.0-40-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.3.0-40-generic
	}
	menuentry 'Ubuntu, with Linux 5.3.0-40-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-40-generic-recovery-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
		else
		  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
		fi
		echo	'Loading Linux 5.3.0-40-generic ...'
		linux	/boot/vmlinuz-5.3.0-40-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.3.0-40-generic
	}
	menuentry 'Ubuntu, with Linux 5.3.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-29-generic-advanced-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
		else
		  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
		fi
		echo	'Loading Linux 5.3.0-29-generic ...'
		linux	/boot/vmlinuz-5.3.0-29-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.3.0-29-generic
	}
	menuentry 'Ubuntu, with Linux 5.3.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-29-generic-recovery-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
		else
		  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
		fi
		echo	'Loading Linux 5.3.0-29-generic ...'
		linux	/boot/vmlinuz-5.3.0-29-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.3.0-29-generic
	}
}

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

### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###

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

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

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

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

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-F0CE1E05CE1DC52E' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  F0CE1E05CE1DC52E
	else
	  search --no-floppy --fs-uuid --set=root F0CE1E05CE1DC52E
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry 'Windows 10 (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-8EC66867C668520F' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  8EC66867C668520F
	else
	  search --no-floppy --fs-uuid --set=root 8EC66867C668520F
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
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 ###
### 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 ###
--------------------------------------------------------------------------------

=============================== sda5/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=b8e193a8-06e4-447f-8903-eb2ff51a8df2 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
UUID=F0CE1E05CE1DC52E	/boot/efi	ntfs	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 340.745124817 = 365.872291840  boot/grub/grub.cfg                             1
 340.757373810 = 365.885444096  boot/grub/i386-pc/core.img                     1
 275.910022736 = 296.256131072  boot/vmlinuz                                   1
 287.417842865 = 308.612558848  boot/vmlinuz-5.3.0-29-generic                  1
 275.910022736 = 296.256131072  boot/vmlinuz-5.3.0-40-generic                  1
 287.417842865 = 308.612558848  boot/vmlinuz.old                               1
 272.459491730 = 292.551151616  boot/initrd.img                                6
 272.436088562 = 292.526022656  boot/initrd.img-5.3.0-29-generic               4
 272.459491730 = 292.551151616  boot/initrd.img-5.3.0-40-generic               6
 272.436088562 = 292.526022656  boot/initrd.img.old                            4


ADDITIONAL INFORMATION :
=================== log of boot-info 20200228_0804 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 19.10, eoan, Ubuntu, x86_64)
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   39 bits physical, 48 bits virtual
BOOT_IMAGE=/boot/vmlinuz-5.3.0-40-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro quiet splash vt.handoff=7

=================== os-prober:
/dev/sda5:L'OS actuellement utilisé - Ubuntu 19.10 CurrentSession:linux
/dev/sda1:Windows 10:Windows:chain
/dev/sda2:Windows 10:Windows1:chain

=================== blkid:
/dev/sda5: UUID="b8e193a8-06e4-447f-8903-eb2ff51a8df2" TYPE="ext4" PARTUUID="2d300c64-05"
/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="F0CE1E05CE1DC52E" TYPE="ntfs" PARTUUID="2d300c64-01"
/dev/sda2: LABEL="Windows" UUID="8EC66867C668520F" TYPE="ntfs" PARTUUID="2d300c64-02"
/dev/sda4: LABEL="Recovery image" UUID="DC4E68A04E6874E4" TYPE="ntfs" PARTUUID="2d300c64-04"
/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/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/loop18: TYPE="squashfs"
/dev/loop19: TYPE="squashfs"
/dev/loop20: TYPE="squashfs"
/dev/loop21: TYPE="squashfs"
/dev/loop22: TYPE="squashfs"


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


=================== /etc/grub.d/ :
drwxr-xr-x  2 root     root      4096 févr. 27 14:33 grub.d
drwxr-xr-x  2 root     root      4096 févr. 27 13:35 grub.d.bak
total 128
-rwxr-xr-x 1 root root 10627 nov.   1 20:16 00_header
-rwxr-xr-x 1 root root  6258 nov.   1 20:15 05_debian_theme
-rwxr-xr-x 1 root root 17123 nov.   1 20:16 10_linux
-rwxr-xr-x 1 root root 37613 nov.   1 20:16 10_linux_zfs
-rwxr-xr-x 1 root root 12894 nov.   1 20:16 20_linux_xen
-rwxr-xr-x 1 root root   325 févr. 27 14:33 25_custom
-rwxr-xr-x 1 root root 12059 nov.   1 20:16 30_os-prober
-rwxr-xr-x 1 root root  1418 nov.   1 20:16 30_uefi-firmware
-rwxr-xr-x 1 root root   214 nov.   1 20:16 40_custom
-rwxr-xr-x 1 root root   216 nov.   1 20:16 41_custom
-rw-r--r-- 1 root root   483 nov.   1 20:16 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="Windows Boot UEFI loader"
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
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 sda5: UUID=F0CE1E05CE1DC52E	 (sda1)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, but it is not setup in EFI-mode for this installed-session.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	signed 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,	is-os,	is-maybe-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /boot/efi.
sda2	: sda,	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,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda2.
sda4	: sda,	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,	farbios,	notbiosboot, /mnt/boot-sav/sda4.

sda	: not-GPT,	BIOSboot-not-needed,	has-maybe-EFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


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

BYT;
/dev/sda:480GB:scsi:512:512:msdos:ATA ADATA SU630:;
1:1049kB:368MB:367MB:ntfs::;
2:368MB:286GB:286GB:ntfs::boot;
3:286GB:479GB:193GB:::;
5:286GB:479GB:193GB:ext4::;
4:479GB:480GB:786MB:ntfs::diag;

=================== lsblk:
KNAME  TYPE FSTYPE     SIZE LABEL
loop0  loop squashfs   4,2M
loop1  loop squashfs  14,8M
loop2  loop squashfs 701,2M
loop3  loop squashfs   3,7M
loop4  loop squashfs  54,7M
loop5  loop squashfs   3,7M
loop6  loop squashfs  44,9M
loop7  loop squashfs  54,6M
loop8  loop squashfs  91,4M
loop9  loop squashfs 156,7M
loop10 loop squashfs  1008K
loop11 loop squashfs 674,7M
loop12 loop squashfs 612,1M
loop13 loop squashfs 347,9M
loop14 loop squashfs   956K
loop15 loop squashfs     4M
loop16 loop squashfs 202,9M
loop17 loop squashfs  91,3M
loop18 loop squashfs  44,2M
loop19 loop squashfs 347,9M
loop20 loop squashfs 610,4M
loop21 loop squashfs  14,8M
loop22 loop squashfs 160,2M
sda    disk          447,1G
sda1   part ntfs       350M
sda2   part ntfs       266G Windows
sda3   part              1K
sda4   part ntfs       750M Recovery image
sda5   part ext4       180G
sr0    rom            1024M

KNAME  ROTA RO RM STATE   MOUNTPOINT
loop0     0  1  0         /snap/gnome-calculator/544
loop1     0  1  0         /snap/gnome-characters/399
loop2     0  1  0         /snap/android-studio/83
loop3     0  1  0         /snap/gnome-system-monitor/127
loop4     0  1  0         /snap/core18/1668
loop5     0  1  0         /snap/gnome-system-monitor/123
loop6     0  1  0         /snap/gtk-common-themes/1440
loop7     0  1  0         /snap/core18/1288
loop8     0  1  0         /snap/core/8689
loop9     0  1  0         /snap/gnome-3-28-1804/110
loop10    0  1  0         /snap/gnome-logs/61
loop11    0  1  0         /snap/android-studio/82
loop12    0  1  0         /snap/intellij-idea-community/208
loop13    0  1  0         /snap/pycharm-community/175
loop14    0  1  0         /snap/gnome-logs/81
loop15    0  1  0         /snap/gnome-calculator/406
loop16    0  1  0         /snap/vlc/1397
loop17    0  1  0         /snap/core/8592
loop18    0  1  0         /snap/gtk-common-themes/1353
loop19    0  1  0         /snap/pycharm-community/179
loop20    0  1  0         /snap/intellij-idea-community/197
loop21    0  1  0         /snap/gnome-characters/375
loop22    0  1  0         /snap/gnome-3-28-1804/116
sda       0  0  0 running
sda1      0  0  0         /boot/efi
sda2      0  0  0         /mnt/boot-sav/sda2
sda3      0  0  0
sda4      0  0  0         /mnt/boot-sav/sda4
sda5      0  0  0         /
sr0       1  0  1 running


=================== 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=6058968k,nr_inodes=1514742,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=1217288k,mode=755)
/dev/sda5 on / type ext4 (rw,relatime,errors=remount-ro)
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)
cgroup2 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)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
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/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/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
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/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13888)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/var/lib/snapd/snaps/android-studio_83.snap on /snap/android-studio/83 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_127.snap on /snap/gnome-system-monitor/127 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_399.snap on /snap/gnome-characters/399 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1668.snap on /snap/core18/1668 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_123.snap on /snap/gnome-system-monitor/123 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1440.snap on /snap/gtk-common-themes/1440 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1288.snap on /snap/core18/1288 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_544.snap on /snap/gnome-calculator/544 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_8689.snap on /snap/core/8689 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_110.snap on /snap/gnome-3-28-1804/110 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_61.snap on /snap/gnome-logs/61 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/android-studio_82.snap on /snap/android-studio/82 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/intellij-idea-community_208.snap on /snap/intellij-idea-community/208 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/pycharm-community_175.snap on /snap/pycharm-community/175 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_81.snap on /snap/gnome-logs/81 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_406.snap on /snap/gnome-calculator/406 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/vlc_1397.snap on /snap/vlc/1397 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_8592.snap on /snap/core/8592 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1353.snap on /snap/gtk-common-themes/1353 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/pycharm-community_179.snap on /snap/pycharm-community/179 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/intellij-idea-community_197.snap on /snap/intellij-idea-community/197 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_375.snap on /snap/gnome-characters/375 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_116.snap on /snap/gnome-3-28-1804/116 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda1 on /boot/efi type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1217284k,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/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/fuse on /root/.cache/doc type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
gvfsd-fuse on /root/.cache/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 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 mq power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd freefall full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout udmabuf uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
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 ef 0a 00 00 00 00 00  |................|
00000030  aa 74 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.t..............|
00000040  f6 00 00 00 01 00 00 00  2e c5 1d ce 05 1e ce f0  |................|
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 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
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  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda2
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 f8 0a 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  73 8a 41 21 00 00 00 00  |........s.A!....|
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  0f 52 68 c6 67 68 c6 8e  |.........Rh.gh..|
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 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
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  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda4
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 48 d0 0e  |........?....H..|
00000020  00 00 00 00 80 00 80 00  ff 6f 17 00 00 00 00 00  |.........o......|
00000030  00 fa 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  e4 74 68 4e a0 68 4e dc  |.........thN.hN.|
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 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
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  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  5.8G     0  5.8G   0% /dev
tmpfs          tmpfs     1.2G  2.2M  1.2G   1% /run
/dev/sda5      ext4      177G   79G   89G  48% /
tmpfs          tmpfs     5.9G   34M  5.8G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     5.9G     0  5.9G   0% /sys/fs/cgroup
/dev/loop2     squashfs  702M  702M     0 100% /snap/android-studio/83
/dev/loop3     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/127
/dev/loop1     squashfs   15M   15M     0 100% /snap/gnome-characters/399
/dev/loop4     squashfs   55M   55M     0 100% /snap/core18/1668
/dev/loop5     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/123
/dev/loop6     squashfs   45M   45M     0 100% /snap/gtk-common-themes/1440
/dev/loop7     squashfs   55M   55M     0 100% /snap/core18/1288
/dev/loop0     squashfs  4.3M  4.3M     0 100% /snap/gnome-calculator/544
/dev/loop8     squashfs   92M   92M     0 100% /snap/core/8689
/dev/loop9     squashfs  157M  157M     0 100% /snap/gnome-3-28-1804/110
/dev/loop10    squashfs  1.0M  1.0M     0 100% /snap/gnome-logs/61
/dev/loop11    squashfs  675M  675M     0 100% /snap/android-studio/82
/dev/loop12    squashfs  613M  613M     0 100% /snap/intellij-idea-community/208
/dev/loop13    squashfs  348M  348M     0 100% /snap/pycharm-community/175
/dev/loop14    squashfs  1.0M  1.0M     0 100% /snap/gnome-logs/81
/dev/loop15    squashfs  4.2M  4.2M     0 100% /snap/gnome-calculator/406
/dev/loop16    squashfs  203M  203M     0 100% /snap/vlc/1397
/dev/loop17    squashfs   92M   92M     0 100% /snap/core/8592
/dev/loop18    squashfs   45M   45M     0 100% /snap/gtk-common-themes/1353
/dev/loop19    squashfs  348M  348M     0 100% /snap/pycharm-community/179
/dev/loop20    squashfs  611M  611M     0 100% /snap/intellij-idea-community/197
/dev/loop21    squashfs   15M   15M     0 100% /snap/gnome-characters/375
/dev/loop22    squashfs  161M  161M     0 100% /snap/gnome-3-28-1804/116
/dev/sda1      fuseblk   350M   55M  296M  16% /boot/efi
tmpfs          tmpfs     1.2G   56K  1.2G   1% /run/user/1000
/dev/sda2      fuseblk   267G   95G  172G  36% /mnt/boot-sav/sda2
/dev/sda4      fuseblk   750M  379M  372M  51% /mnt/boot-sav/sda4

=================== fdisk -l:
Disk /dev/loop0: 4.2 MiB, 4403200 bytes, 8600 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: 14.76 MiB, 15462400 bytes, 30200 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: 701.24 MiB, 735293440 bytes, 1436120 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: 3.66 MiB, 3825664 bytes, 7472 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: 54.66 MiB, 57294848 bytes, 111904 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.66 MiB, 3825664 bytes, 7472 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: 44.9 MiB, 47063040 bytes, 91920 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: 54.64 MiB, 57274368 bytes, 111864 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: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: ADATA SU630
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: dos
Disk identifier: 0x2d300c64

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1            2048    718847    716800  350M  7 HPFS/NTFS/exFAT
/dev/sda2  *       718848 558662259 557943412  266G  7 HPFS/NTFS/exFAT
/dev/sda3       558663678 936151039 377487362  180G  5 Extended
/dev/sda4       936151668 937687667   1536000  750M 27 Hidden NTFS WinRE
/dev/sda5       558663680 936151039 377487360  180G 83 Linux

Partition table entries are not in disk order.




Disk /dev/loop8: 91.38 MiB, 95805440 bytes, 187120 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: 156.7 MiB, 164290560 bytes, 320880 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: 1008 KiB, 1032192 bytes, 2016 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: 674.67 MiB, 707428352 bytes, 1381696 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: 612.12 MiB, 641851392 bytes, 1253616 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: 347.87 MiB, 364748800 bytes, 712400 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: 956 KiB, 978944 bytes, 1912 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/loop15: 4.2 MiB, 4218880 bytes, 8240 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/loop16: 202.92 MiB, 212758528 bytes, 415544 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/loop17: 91.32 MiB, 95748096 bytes, 187008 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/loop18: 44.18 MiB, 46325760 bytes, 90480 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/loop19: 347.9 MiB, 364773376 bytes, 712448 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/loop20: 610.38 MiB, 640016384 bytes, 1250032 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/loop21: 14.76 MiB, 15462400 bytes, 30200 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/loop22: 160.16 MiB, 167931904 bytes, 327992 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 sda5, using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s    use-standard-efi-file


=================== Blockers in case of suggested repair
La session actuelle est en mode Legacy. Veuillez redémarrer l'ordinateur, et utiliser ce logiciel dans une session EFI. Cela vous permettra d'utiliser cette fonctionnalité. Par exemple, utilisez un live-USB de Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), après avoir vérifié que votre BIOS est réglé pour démarrer l'USB en mode EFI.


=================== Advice in case of suggested repair
Le démarrage de votre ordinateur est en mode Legacy. Vous voudrez peut-être ré-essayer après l'avoir changé en mode EFI.
Voulez-vous continuer ?


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

Le démarrage de votre ordinateur est en mode Legacy. Vous voudrez peut-être ré-essayer après l'avoir changé en mode EFI.


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

Effectivement, c'est un peu le boxon là-dedans.
Peux-tu confirmer que tu obtiens une session Windows parfaitement fonctionnelle en sélectionnant "windows 10 (on /dev/sda1)" dans le menu Grub ?

Dernière modification par malbo (Le 28/02/2020, à 09:38)

Hors ligne

#5 Le 28/02/2020, à 09:47

paved

Re : [Résolu] Grub

Oui effectivement

Hors ligne

#6 Le 28/02/2020, à 11:13

paved

Re : [Résolu] Grub

oui
J obtiens une session Windows parfaitement fonctionnelle en sélectionnant "windows 10 (on /dev/sda1)"

Hors ligne

#7 Le 28/02/2020, à 13:49

MichA6A10

Re : [Résolu] Grub

Bonjour à tous,

@paved,
Avez-vous obtenu ce résultat du grub en utilisant un utilitaire?
Le script vous dit "Partition table entries are not in disk order.", donc c'est vraiment le bordel.
Vous avez executé en ligne la commande "grub-mkconfig" pour obtenir ca, ou bien carrement l'utilitaire "boot-repair-disk" ?
Sinon, est-il bien normal que vous ayez 2 partitions avec la même OS installée cad Windows 8 (/dev/sda1 et et sda2)?? Et sinon "boot-repair" vous suggère de changer de legacy à uefi dans le bios.

@malbo,
Merci d'avoir collé en détails le boot-info de paved, c'est donc bien après qu'il ai exécuté le "boot-repair-disk" qu'il a une telle table de partitions installée ? Il ne vaudrait pas mieux qu'il refasse sa table sous gparted, quitte à enlever une des 2 partitions Win8 au moins ?
En /dev/sda1 c'est Win8 2012, et pas Win10 non ?

Merci à vous 2 pour votre retour d'infos !!

MichelA6A10

Hors ligne

#8 Le 28/02/2020, à 15:27

paved

Re : [Résolu] Grub

J ai obtenu sur ce résultat du grub en utilisant la commande sudo grub-isntall ..
Mais avant ça j avais déjà dev/sda1 et et sda2 sur mon grub qunad j essaie de réparer INACCESSIBLE_BOOT_DEVICE, c est lors  dune manipulation qu'elle est venue, je sais pas comment

Hors ligne

#9 Le 28/02/2020, à 20:00

malbo

Re : [Résolu] Grub

Pour supprimer les deux entrées "Windows UEFI bootmgfw.efi" et "Windows Boot UEFI loader", tu peux passer la commande suivante dans un terminal (elle va désactiver le script 25_custom :

sudo chmod -x /etc/grub.d/25_custom

Puis tu mets à jour Grub en passant cette commande :

sudo update-grub 

Et au démarrage suivant de l'ordi, ces deux entrées auront disparu.
Moi je ne te conseille pas de virer l'entrée "Windows 10 (on /dev/sda2)"

Dernière modification par malbo (Le 28/02/2020, à 20:01)

Hors ligne

#10 Le 28/02/2020, à 20:04

paved

Re : [Résolu] Grub

Merci compris
je peux savoir pourquoi  vous  conseillez ne  pas de virer l'entrée "Windows 10 (on /dev/sda2)"

Dernière modification par paved (Le 28/02/2020, à 20:05)

Hors ligne

#11 Le 28/02/2020, à 20:07

paved

Re : [Résolu] Grub

Ma partition ubuntu est vu sur windows comment faire pourqu'elle ne soit plus vu ?

Hors ligne

#12 Le 28/02/2020, à 20:17

paved

Re : [Résolu] Grub

vous avez surement raison j ai remarque qu quand je suis ubuntu et je veux accéder sur Windows c est Windows 10 (on /dev/sda2) qui s affiche et non Windows 10 (on /dev/sda1)

Hors ligne

#13 Le 28/02/2020, à 20:49

MichA6A10

Re : [Résolu] Grub

@malbo,

Comme déjà demandé, le boot-info précise Win8 2012, ce n'est pas un Win10 normalement, vous confirmez svp ?

@paved,
Malbo vous fait utiliser un grub-update, Ok. Je comprends. Vous pouvez aussi continuer boo-repair-disk pour compléter.

Merci !

MichelA6A10

Hors ligne

#14 Le 28/02/2020, à 21:10

paved

Re : [Résolu] Grub

quand je fais boot-repair-dik on genere l erreur suivant ;
                                              La session actuelle est en mode Legacy. Veuillez redémarrer l'ordinateur, et utiliser ce logiciel dans une session EFI. Cela vous permettra d'utiliser cette fonctionnalité. Par exemple, utilisez un live-USB de Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), après avoir vérifié que votre BIOS est réglé pour démarrer l'USB en mode EFI.

Mais quand je passe en mode EFI  le grub n est pas lance ça lance directement Windows comment faire?

Hors ligne

#15 Le 29/02/2020, à 00:34

Babdu89

Re : [Résolu] Grub

Bonsoir.

Il me semble me rappeler que boot-repair ne fonctionne pas bien avec Ubuntu 19.10. En installé ou en session live.

Je te conseille ceci.
Ne pas utiliser Boot-Repair-Disk qui est obsolète, et ne fonctionne pas bien en mode UEFI.

Télécharger une iso Ubuntu 18.O4.
Refaire un média live (DVD ou clé usb) avec l'iso téléchargée.
Obliger ta machine à démarrer en mode UEFI. pour lancer une session live et y installer boot repair.
On voit dans le boot info que ta machine démarre en mode Bios_Legacy.

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, but it is not setup in EFI-mode for this installed-session.
SecureBoot disabled.

Pour installer boot-repair;

 sudo add-apt-repository -y ppa:yannubuntu/boot-repair && sudo apt update && sudo apt install -y boot-repair boot-info 

Faire un copier coller de a commande dans le terminal.

Faire un nouveau boot info et donner l'URL dans ta réponse. Merci.

Édit!

On voit dans le boot info (qui n'est pas fiable) que ton installation est faite sur disque avec table de partition en MSDos.
Ton Windows semble être installé en mode Bios_Legacy.
Ton Ubuntu 19.10 semble installé en mode UEFI.

Si tu veux bien aussi faire un deuxième boot info en session live Ubuntu 18.04, mais en démarrant la machine en mode Bios_Legacy?
Merci.

Si çà confirme que tes deux systèmes sont installés dans deux mode différents, il faudra re-installer Ubuntu dans le même mode que Windows, en Bios_Legacy, sinon tu seras toujours dans l’embarras.

Édit;
Concernant le contenu du fstab;

=============================== sda5/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=b8e193a8-06e4-447f-8903-eb2ff51a8df2 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
UUID=F0CE1E05CE1DC52E    /boot/efi    ntfs    defaults    0    1

Çà c'est fait à l'installation, je ne pense pas que boot-repair/boot-info soit le coupable.

@+.   Babdu89   .

Dernière modification par Babdu89 (Le 29/02/2020, à 10:32)


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#16 Le 29/02/2020, à 05:23

paved

Re : [Résolu] Grub

compris
et comment faire pourque ma partition ubuntu ne soit plus vu sur windows ?

Hors ligne

#17 Le 29/02/2020, à 05:53

moko138

Re : [Résolu] Grub

Question à malbo et à Babdu89

==== sda5/etc/fstab: ====
(...)
UUID=F0CE1E05CE1DC52E	/boot/efi	ntfs	defaults	0	1

Une partition /boot/efi en "ntfs" : c'est la première fois que j'en remarque une.

Serait-ce une nouveauté de 19.10 ?
Ou le résultat d'une mauvaise intervention manuelle avant ou pendant l'installation ?
Ou bien est-ce moi qui n'avais pas les yeux en face des trous et ça existait déjà ?


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#18 Le 29/02/2020, à 08:03

nany

Re : [Résolu] Grub

Bonjour,


moko138 a écrit :

Question à malbo et à Babdu89

Tu ne t’adresses pas à moi mais j’ai quand même envie de répondre;

moko138 a écrit :
==== sda5/etc/fstab: ====
(...)
UUID=F0CE1E05CE1DC52E	/boot/efi	ntfs	defaults	0	1

Une partition /boot/efi en "ntfs" : c'est la première fois que j'en remarque une.

Serait-ce une nouveauté de 19.10 ?

Nullement.

moko138 a écrit :

Ou le résultat d'une mauvaise intervention manuelle avant ou pendant l'installation ?

C’est l’hypothèse la plus probable.

moko138 a écrit :

Ou bien est-ce moi qui n'avais pas les yeux en face des trous et ça existait déjà ?

Tu n’as pas besoin de prendre rendez-vous chez un ophtalmo pour le moment.


Explications :

boot-info a écrit :
…
"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

…
/dev/sda1        F0CE1E05CE1DC52E                       ntfs       
…
=================== blkid:
…
/dev/sda1: UUID="F0CE1E05CE1DC52E" TYPE="ntfs" PARTUUID="2d300c64-01"
…

C’est donc la partition /dev/sda1 qui est montée grâce au fstab sur le point de montage /boot/efi.
Or,

boot-info a écrit :
sda1: __________________________________________________________________________

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

C’est donc bien une partition ntfs mais nullement une partition efi.
Elle contient les fichiers de démarrage de Windows qui lancent probablement celui-ci sur /dev/sda2.

boot-info a écrit :
sda2: __________________________________________________________________________

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

/dev/sda2 contient aussi les fichiers de démarrage plus les fichiers système.

Première conclusion, la partition /dev/sda1 pourrait peut-être être supprimée. Mais ce n’est pas certain (la dernière fois que j’ai touché un Windows, c’était seven). Quelqu’un de plus expérimenté sur Windows (maxire ?) pourrait nous en dire plus.


Ensuite,

boot-info a écrit :
/boot/efi detected in the fstab of sda5: UUID=F0CE1E05CE1DC52E	 (sda1)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi

Visiblement boot-info se contente de lire le fstab pour « voir » une partition efi (sans se préoccuper du fs ni des drapeaux) pour y rechercher des fichiers efi.
Or il en trouve. J’ignore si la présence de ces fichiers est normale dans une telle partition (qui est une partition de démarrage).
Il en déduit peut-être alors que l’installation est en EFI. En effet,

boot-info a écrit :
=================== PARTITIONS & DISKS:
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	signed 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,	is-os,	is-maybe-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /boot/efi.
sda2	: sda,	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,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda2.
sda4	: sda,	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,	farbios,	notbiosboot, /mnt/boot-sav/sda4.

sda	: not-GPT,	BIOSboot-not-needed,	, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

sda1 → is-maybe-EFI
sda → has-maybe-EFI
Et aussi,

boot-info a écrit :
=================== Blockers in case of suggested repair
La session actuelle est en mode Legacy. Veuillez redémarrer l'ordinateur, et utiliser ce logiciel dans une session EFI. Cela vous permettra d'utiliser cette fonctionnalité. Par exemple, utilisez un live-USB de Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), après avoir vérifié que votre BIOS est réglé pour démarrer l'USB en mode EFI.


=================== Advice in case of suggested repair
Le démarrage de votre ordinateur est en mode Legacy. Vous voudrez peut-être ré-essayer après l'avoir changé en mode EFI.
Voulez-vous continuer ?


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

Le démarrage de votre ordinateur est en mode Legacy. Vous voudrez peut-être ré-essayer après l'avoir changé en mode EFI.

Il ne cesse de répéter de redémarrer en mode EFI.

Or on voit la présence d’une installation en mode LEGACY,

boot-info a écrit :
============================= Boot Info Summary: ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
…
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, but it is not setup in EFI-mode for this installed-session.

De plus,

boot-info a écrit :
### BEGIN /etc/grub.d/25_custom ###

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

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

D’où vient ce fichier 25_custom ?
Je crois que c’est boot-repair qui le crée (mais de quoi se mêle-t-il ?).

boot-info a écrit :
=================== /etc/grub.d/ :
drwxr-xr-x  2 root     root      4096 févr. 27 14:33 grub.d
drwxr-xr-x  2 root     root      4096 févr. 27 13:35 grub.d.bak
…
-rwxr-xr-x 1 root root   325 févr. 27 14:33 25_custom
…

Deux dossiers de sauvegarde de grub.d plus ce fameux fichier 25_custom ont été créés le 27 février.

Deuxième conclusion, boot-repair a dû être utilisé à cette date (à 14:33) et c’est là qu’il a mis ce fichier car il se croyait en mode EFI.


Conclusion finale,

malbo a écrit :

c'est un peu le boxon là-dedans.

Je dirais même plus, c’est un vrai boxon.

Hors ligne

#19 Le 29/02/2020, à 09:07

paved

Re : [Résolu] Grub

bonjour voici le résultat du boot-repair-dik booter dans une clé démarrée en mode EFI
boot-info

Hors ligne

#20 Le 29/02/2020, à 09:10

paved

Re : [Résolu] Grub

je n arrive a démarrer  Ubuntu en mode EFI
comment faire?

Hors ligne

#21 Le 29/02/2020, à 09:27

moko138

Re : [Résolu] Grub

Merci nany !  smile


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#22 Le 29/02/2020, à 10:29

Babdu89

Re : [Résolu] Grub

Bonjour.

paved a écrit :

je n arrive a démarrer  Ubuntu en mode EFI
comment faire?

Peut-être n'as tu pas lu l'Édit de mon post#15?.

J'explique pourquoi ne pas utiliser  Boot-Repair-Disk. et faire les manip boot-info/boot-repair en session live Ubuntu 18.04. et non Ubuntu 19.10.

Dans le boot-info du post#3.  On voit ceci;

ADDITIONAL INFORMATION :
=================== log of boot-info 20200228_0804 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 19.10, eoan, Ubuntu, x86_64)
CPU op-mode(s):                  32-bit, 64-bit

Address sizes:                   39 bits physical, 48 bits virtual
BOOT_IMAGE=/boot/vmlinuz-5.3.0-40-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro quiet splash vt.handoff=7

Entre les deux lignes en gras, il manque une ligne qui indique la partition d'installation de Ubuntu 19.10 avec son UUID. Çà a fait l'objet d'une remarque avec malbo dans un sujet, où boot-info/boot-repair est utilisé avec Ubuntu 19.10. On a constaté que boot-repair/boot-info ne fonctionne pas bien.

C'est la raison pour laquelle je préconise son utilisation avec Ubuntu 18.04 en live.

Puis comme le fait remarquer nany, ton installation est faite en mode Bios_Legacy. Et peut être que tu as tenté d'installer Ubuntu en mode UEFI, mais sur un disque avec table de partition de typer MSDos, ce n'est pas courant de voir çà.
J'ai même l'impression que l'installateur de Ubuntu 19.10 permet de drôles de choses...

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#23 Le 29/02/2020, à 10:34

paved

Re : [Résolu] Grub

compris

Hors ligne

#24 Le 29/02/2020, à 10:39

Babdu89

Re : [Résolu] Grub

@paved.

Pourquoi installer Ubuntu 19.10 version intermédiaire, et non une version LTS ? 18.04  ou bientôt la 20;04 ?

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#25 Le 29/02/2020, à 10:40

nany

Re : [Résolu] Grub

paste.ubuntu.com a écrit :

This paste expires on 2020-03-31.

Je colle donc le deuxième boot-info ici pour la pérennité.

     1	Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]
     2	
     3	
     4	============================= Boot Info Summary: ===============================
     5	
     6	 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
     7	    the same hard drive for core.img. core.img is at this location and looks 
     8	    for (,msdos5)/boot/grub. It also embeds following components:
     9	    
    10	    modules
    11	    ---------------------------------------------------------------------------
    12	    fshelp ext2 part_msdos biosdisk
    13	    ---------------------------------------------------------------------------
    14	 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
    15	
    16	sda1: __________________________________________________________________________
    17	
    18	    File system:       ntfs
    19	    Boot sector type:  Windows 8/2012: NTFS
    20	    Boot sector info:  No errors found in the Boot Parameter Block.
    21	    Operating System:  
    22	    Boot files:        /bootmgr /Boot/BCD
    23	
    24	sda2: __________________________________________________________________________
    25	
    26	    File system:       ntfs
    27	    Boot sector type:  Windows 8/2012: NTFS
    28	    Boot sector info:  No errors found in the Boot Parameter Block.
    29	    Operating System:  
    30	    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe
    31	
    32	sda3: __________________________________________________________________________
    33	
    34	    File system:       Extended Partition
    35	    Boot sector type:  -
    36	    Boot sector info: 
    37	
    38	sda5: __________________________________________________________________________
    39	
    40	    File system:       ext4
    41	    Boot sector type:  -
    42	    Boot sector info: 
    43	    Operating System:  Ubuntu 19.10
    44	    Boot files:        /boot/grub/grub.cfg /etc/fstab 
    45	                       /boot/grub/i386-pc/core.img
    46	
    47	sda4: __________________________________________________________________________
    48	
    49	    File system:       ntfs
    50	    Boot sector type:  Windows 8/2012: NTFS
    51	    Boot sector info:  According to the info in the boot sector, sda4 starts 
    52	                       at sector 248530944. But according to the info from 
    53	                       fdisk, sda4 starts at sector 936151668.
    54	    Operating System:  
    55	    Boot files:        
    56	
    57	sdb1: __________________________________________________________________________
    58	
    59	    File system:       vfat
    60	    Boot sector type:  SYSLINUX 6.03
    61	    Boot sector info:  Syslinux looks at sector 32776 of /dev/sdb1 for its 
    62	                       second stage. The integrity check of Syslinux failed. 
    63	                       No errors found in the Boot Parameter Block.
    64	    Operating System:  
    65	    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
    66	                       /EFI/BOOT/grubx64.efi /ldlinux.sys
    67	
    68	============================ Drive/Partition Info: =============================
    69	
    70	Drive: sda _____________________________________________________________________
    71	Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
    72	Units: sectors of 1 * 512 = 512 bytes
    73	Sector size (logical/physical): 512 bytes / 512 bytes
    74	I/O size (minimum/optimal): 512 bytes / 512 bytes
    75	Disklabel type: dos
    76	
    77	Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    78	
    79	/dev/sda1               2,048       718,847       716,800   7 NTFS / exFAT / HPFS
    80	/dev/sda2    *        718,848   558,662,259   557,943,412   7 NTFS / exFAT / HPFS
    81	/dev/sda3         558,663,678   936,151,039   377,487,362   5 Extended
    82	/dev/sda5         558,663,680   936,151,039   377,487,360  83 Linux
    83	/dev/sda4         936,151,668   937,687,667     1,536,000  27 Hidden NTFS (Recovery Environment)
    84	
    85	
    86	Drive: sdb _____________________________________________________________________
    87	Disk /dev/sdb: 7.5 GiB, 8019509248 bytes, 15663104 sectors
    88	Units: sectors of 1 * 512 = 512 bytes
    89	Sector size (logical/physical): 512 bytes / 512 bytes
    90	I/O size (minimum/optimal): 512 bytes / 512 bytes
    91	Disklabel type: dos
    92	
    93	Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    94	
    95	/dev/sdb1    *          2,048    15,663,103    15,661,056   c W95 FAT32 (LBA)
    96	
    97	
    98	"blkid" output: ________________________________________________________________
    99	
   100	Device           UUID                                   TYPE       LABEL
   101	
   102	/dev/loop0                                              squashfs   
   103	/dev/sda1        F0CE1E05CE1DC52E                       ntfs       
   104	/dev/sda2        8EC66867C668520F                       ntfs       Windows
   105	/dev/sda4        DC4E68A04E6874E4                       ntfs       Recovery image
   106	/dev/sda5        b8e193a8-06e4-447f-8903-eb2ff51a8df2   ext4       
   107	/dev/sdb1        FA9B-44B6                              vfat       BOOT-REPAIR
   108	/dev/zram0       22a8c37f-5969-4487-9f74-b19c0d63ca92   swap       
   109	/dev/zram1       6d6aecb9-67ab-4493-a916-1a55bb4177ab   swap       
   110	/dev/zram2       ecf2d6e6-58d5-46a7-9892-9b50fc652a45   swap       
   111	/dev/zram3       431b0f1b-6afe-4a1a-81c8-55d7ae8b96f6   swap       
   112	
   113	========================= "ls -l /dev/disk/by-id" output: ======================
   114	
   115	total 0
   116	lrwxrwxrwx 1 root root  9 Feb 29 07:00 ata-ADATA_SU630_2J3020051517 -> ../../sda
   117	lrwxrwxrwx 1 root root 10 Feb 29 07:01 ata-ADATA_SU630_2J3020051517-part1 -> ../../sda1
   118	lrwxrwxrwx 1 root root 10 Feb 29 07:01 ata-ADATA_SU630_2J3020051517-part2 -> ../../sda2
   119	lrwxrwxrwx 1 root root 10 Feb 29 07:00 ata-ADATA_SU630_2J3020051517-part3 -> ../../sda3
   120	lrwxrwxrwx 1 root root 10 Feb 29 07:01 ata-ADATA_SU630_2J3020051517-part4 -> ../../sda4
   121	lrwxrwxrwx 1 root root 10 Feb 29 07:00 ata-ADATA_SU630_2J3020051517-part5 -> ../../sda5
   122	lrwxrwxrwx 1 root root  9 Feb 29 06:56 ata-HL-DT-ST_DVD+_-RW_GU90N_KMOE5Q20718 -> ../../sr0
   123	lrwxrwxrwx 1 root root  9 Feb 29 07:00 usb-_USB_DISK_2.0_070A911E819C4C03-0:0 -> ../../sdb
   124	lrwxrwxrwx 1 root root 10 Feb 29 07:00 usb-_USB_DISK_2.0_070A911E819C4C03-0:0-part1 -> ../../sdb1
   125	lrwxrwxrwx 1 root root  9 Feb 29 07:00 wwn-0x5000000000000000 -> ../../sda
   126	lrwxrwxrwx 1 root root 10 Feb 29 07:01 wwn-0x5000000000000000-part1 -> ../../sda1
   127	lrwxrwxrwx 1 root root 10 Feb 29 07:01 wwn-0x5000000000000000-part2 -> ../../sda2
   128	lrwxrwxrwx 1 root root 10 Feb 29 07:00 wwn-0x5000000000000000-part3 -> ../../sda3
   129	lrwxrwxrwx 1 root root 10 Feb 29 07:01 wwn-0x5000000000000000-part4 -> ../../sda4
   130	lrwxrwxrwx 1 root root 10 Feb 29 07:00 wwn-0x5000000000000000-part5 -> ../../sda5
   131	lrwxrwxrwx 1 root root  9 Feb 29 06:56 wwn-0x5001480000000000 -> ../../sr0
   132	
   133	================================ Mount points: =================================
   134	
   135	Device           Mount_Point              Type       Options
   136	
   137	/dev/loop0       /rofs                    squashfs   (ro,noatime)
   138	/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
   139	
   140	
   141	=========================== sda5/boot/grub/grub.cfg: ===========================
   142	
   143	--------------------------------------------------------------------------------
   144	#
   145	# DO NOT EDIT THIS FILE
   146	#
   147	# It is automatically generated by grub-mkconfig using templates
   148	# from /etc/grub.d and settings from /etc/default/grub
   149	#
   150	
   151	### BEGIN /etc/grub.d/00_header ###
   152	if [ -s $prefix/grubenv ]; then
   153	  set have_grubenv=true
   154	  load_env
   155	fi
   156	if [ "${initrdfail}" = 2 ]; then
   157	   set initrdfail=
   158	elif [ "${initrdfail}" = 1 ]; then
   159	   set next_entry="${prev_entry}"
   160	   set prev_entry=
   161	   save_env prev_entry
   162	   if [ "${next_entry}" ]; then
   163	      set initrdfail=2
   164	   fi
   165	fi
   166	if [ "${next_entry}" ] ; then
   167	   set default="${next_entry}"
   168	   set next_entry=
   169	   save_env next_entry
   170	   set boot_once=true
   171	else
   172	   set default="Windows Boot UEFI loader"
   173	fi
   174	
   175	if [ x"${feature_menuentry_id}" = xy ]; then
   176	  menuentry_id_option="--id"
   177	else
   178	  menuentry_id_option=""
   179	fi
   180	
   181	export menuentry_id_option
   182	
   183	if [ "${prev_saved_entry}" ]; then
   184	  set saved_entry="${prev_saved_entry}"
   185	  save_env saved_entry
   186	  set prev_saved_entry=
   187	  save_env prev_saved_entry
   188	  set boot_once=true
   189	fi
   190	
   191	function savedefault {
   192	  if [ -z "${boot_once}" ]; then
   193	    saved_entry="${chosen}"
   194	    save_env saved_entry
   195	  fi
   196	}
   197	function initrdfail {
   198	    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
   199	      if [ -z "${initrdfail}" ]; then
   200	        set initrdfail=1
   201	        if [ -n "${boot_once}" ]; then
   202	          set prev_entry="${default}"
   203	          save_env prev_entry
   204	        fi
   205	      fi
   206	      save_env initrdfail
   207	    fi; fi
   208	}
   209	function recordfail {
   210	  set recordfail=1
   211	  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
   212	}
   213	function load_video {
   214	  if [ x$feature_all_video_module = xy ]; then
   215	    insmod all_video
   216	  else
   217	    insmod efi_gop
   218	    insmod efi_uga
   219	    insmod ieee1275_fb
   220	    insmod vbe
   221	    insmod vga
   222	    insmod video_bochs
   223	    insmod video_cirrus
   224	  fi
   225	}
   226	
   227	if [ x$feature_default_font_path = xy ] ; then
   228	   font=unicode
   229	else
   230	insmod part_msdos
   231	insmod ext2
   232	set root='hd0,msdos5'
   233	if [ x$feature_platform_search_hint = xy ]; then
   234	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
   235	else
   236	  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
   237	fi
   238	    font="/usr/share/grub/unicode.pf2"
   239	fi
   240	
   241	if loadfont $font ; then
   242	  set gfxmode=auto
   243	  load_video
   244	  insmod gfxterm
   245	  set locale_dir=$prefix/locale
   246	  set lang=C
   247	  insmod gettext
   248	fi
   249	terminal_output gfxterm
   250	if [ "${recordfail}" = 1 ] ; then
   251	  set timeout=10
   252	else
   253	  if [ x$feature_timeout_style = xy ] ; then
   254	    set timeout_style=hidden
   255	    set timeout=10
   256	  # Fallback hidden-timeout code in case the timeout_style feature is
   257	  # unavailable.
   258	  elif sleep --interruptible 10 ; then
   259	    set timeout=10
   260	  fi
   261	fi
   262	### END /etc/grub.d/00_header ###
   263	
   264	### BEGIN /etc/grub.d/05_debian_theme ###
   265	set menu_color_normal=white/black
   266	set menu_color_highlight=black/light-gray
   267	# previously #2c001e 44,0,30,0
   268	# now yaru #4f194c 79,25,76
   269	if background_color 79,25,76,0; then
   270	  clear
   271	fi
   272	### END /etc/grub.d/05_debian_theme ###
   273	
   274	### BEGIN /etc/grub.d/10_linux ###
   275	function gfxmode {
   276		set gfxpayload="${1}"
   277		if [ "${1}" = "keep" ]; then
   278			set vt_handoff=vt.handoff=7
   279		else
   280			set vt_handoff=
   281		fi
   282	}
   283	if [ "${recordfail}" != 1 ]; then
   284	  if [ -e ${prefix}/gfxblacklist.txt ]; then
   285	    if hwmatch ${prefix}/gfxblacklist.txt 3; then
   286	      if [ ${match} = 0 ]; then
   287	        set linux_gfx_mode=keep
   288	      else
   289	        set linux_gfx_mode=text
   290	      fi
   291	    else
   292	      set linux_gfx_mode=text
   293	    fi
   294	  else
   295	    set linux_gfx_mode=keep
   296	  fi
   297	else
   298	  set linux_gfx_mode=text
   299	fi
   300	export linux_gfx_mode
   301	menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
   302		recordfail
   303		load_video
   304		gfxmode $linux_gfx_mode
   305		insmod gzio
   306		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   307		insmod part_msdos
   308		insmod ext2
   309		set root='hd0,msdos5'
   310		if [ x$feature_platform_search_hint = xy ]; then
   311		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
   312		else
   313		  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
   314		fi
   315		linux	/boot/vmlinuz-5.3.0-40-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro  quiet splash $vt_handoff
   316		initrd	/boot/initrd.img-5.3.0-40-generic
   317	}
   318	submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
   319		menuentry 'Ubuntu, with Linux 5.3.0-40-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-40-generic-advanced-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
   320			recordfail
   321			load_video
   322			gfxmode $linux_gfx_mode
   323			insmod gzio
   324			if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   325			insmod part_msdos
   326			insmod ext2
   327			set root='hd0,msdos5'
   328			if [ x$feature_platform_search_hint = xy ]; then
   329			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
   330			else
   331			  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
   332			fi
   333			echo	'Loading Linux 5.3.0-40-generic ...'
   334			linux	/boot/vmlinuz-5.3.0-40-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro  quiet splash $vt_handoff
   335			echo	'Loading initial ramdisk ...'
   336			initrd	/boot/initrd.img-5.3.0-40-generic
   337		}
   338		menuentry 'Ubuntu, with Linux 5.3.0-40-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-40-generic-recovery-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
   339			recordfail
   340			load_video
   341			insmod gzio
   342			if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   343			insmod part_msdos
   344			insmod ext2
   345			set root='hd0,msdos5'
   346			if [ x$feature_platform_search_hint = xy ]; then
   347			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
   348			else
   349			  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
   350			fi
   351			echo	'Loading Linux 5.3.0-40-generic ...'
   352			linux	/boot/vmlinuz-5.3.0-40-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro recovery nomodeset 
   353			echo	'Loading initial ramdisk ...'
   354			initrd	/boot/initrd.img-5.3.0-40-generic
   355		}
   356		menuentry 'Ubuntu, with Linux 5.3.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-29-generic-advanced-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
   357			recordfail
   358			load_video
   359			gfxmode $linux_gfx_mode
   360			insmod gzio
   361			if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   362			insmod part_msdos
   363			insmod ext2
   364			set root='hd0,msdos5'
   365			if [ x$feature_platform_search_hint = xy ]; then
   366			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
   367			else
   368			  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
   369			fi
   370			echo	'Loading Linux 5.3.0-29-generic ...'
   371			linux	/boot/vmlinuz-5.3.0-29-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro  quiet splash $vt_handoff
   372			echo	'Loading initial ramdisk ...'
   373			initrd	/boot/initrd.img-5.3.0-29-generic
   374		}
   375		menuentry 'Ubuntu, with Linux 5.3.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-29-generic-recovery-b8e193a8-06e4-447f-8903-eb2ff51a8df2' {
   376			recordfail
   377			load_video
   378			insmod gzio
   379			if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
   380			insmod part_msdos
   381			insmod ext2
   382			set root='hd0,msdos5'
   383			if [ x$feature_platform_search_hint = xy ]; then
   384			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  b8e193a8-06e4-447f-8903-eb2ff51a8df2
   385			else
   386			  search --no-floppy --fs-uuid --set=root b8e193a8-06e4-447f-8903-eb2ff51a8df2
   387			fi
   388			echo	'Loading Linux 5.3.0-29-generic ...'
   389			linux	/boot/vmlinuz-5.3.0-29-generic root=UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 ro recovery nomodeset 
   390			echo	'Loading initial ramdisk ...'
   391			initrd	/boot/initrd.img-5.3.0-29-generic
   392		}
   393	}
   394	
   395	### END /etc/grub.d/10_linux ###
   396	
   397	### BEGIN /etc/grub.d/10_linux_zfs ###
   398	### END /etc/grub.d/10_linux_zfs ###
   399	
   400	### BEGIN /etc/grub.d/20_linux_xen ###
   401	
   402	### END /etc/grub.d/20_linux_xen ###
   403	
   404	### BEGIN /etc/grub.d/25_custom ###
   405	
   406	menuentry "Windows UEFI bootmgfw.efi" {
   407	search --fs-uuid --no-floppy --set=root F0CE1E05CE1DC52E
   408	chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
   409	}
   410	
   411	menuentry "Windows Boot UEFI loader" {
   412	search --fs-uuid --no-floppy --set=root F0CE1E05CE1DC52E
   413	chainloader (${root})/EFI/Boot/bootx64.efi
   414	}
   415	### END /etc/grub.d/25_custom ###
   416	
   417	### BEGIN /etc/grub.d/30_os-prober ###
   418	### END /etc/grub.d/30_os-prober ###
   419	
   420	### BEGIN /etc/grub.d/30_uefi-firmware ###
   421	menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
   422		fwsetup
   423	}
   424	### END /etc/grub.d/30_uefi-firmware ###
   425	
   426	### BEGIN /etc/grub.d/40_custom ###
   427	# This file provides an easy way to add custom menu entries.  Simply type the
   428	# menu entries you want to add after this comment.  Be careful not to change
   429	# the 'exec tail' line above.
   430	### END /etc/grub.d/40_custom ###
   431	
   432	### BEGIN /etc/grub.d/41_custom ###
   433	if [ -f  ${config_directory}/custom.cfg ]; then
   434	  source ${config_directory}/custom.cfg
   435	elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
   436	  source $prefix/custom.cfg;
   437	fi
   438	### END /etc/grub.d/41_custom ###
   439	--------------------------------------------------------------------------------
   440	
   441	=============================== sda5/etc/fstab: ================================
   442	
   443	--------------------------------------------------------------------------------
   444	# /etc/fstab: static file system information.
   445	#
   446	# Use 'blkid' to print the universally unique identifier for a
   447	# device; this may be used with UUID= as a more robust way to name devices
   448	# that works even if disks are added and removed. See fstab(5).
   449	#
   450	# <file system> <mount point>   <type>  <options>       <dump>  <pass>
   451	# / was on /dev/sda5 during installation
   452	UUID=b8e193a8-06e4-447f-8903-eb2ff51a8df2 /               ext4    errors=remount-ro 0       1
   453	/swapfile                                 none            swap    sw              0       0
   454	UUID=F0CE1E05CE1DC52E	/boot/efi	ntfs	defaults	0	1
   455	--------------------------------------------------------------------------------
   456	
   457	=================== sda5: Location of files loaded by Grub: ====================
   458	
   459	           GiB - GB             File                                 Fragment(s)
   460	
   461	 340.723098755 = 365.848641536  boot/grub/grub.cfg                             1
   462	 340.757373810 = 365.885444096  boot/grub/i386-pc/core.img                     1
   463	 275.910022736 = 296.256131072  boot/vmlinuz                                   1
   464	 287.417842865 = 308.612558848  boot/vmlinuz-5.3.0-29-generic                  1
   465	 275.910022736 = 296.256131072  boot/vmlinuz-5.3.0-40-generic                  1
   466	 287.417842865 = 308.612558848  boot/vmlinuz.old                               1
   467	 272.459491730 = 292.551151616  boot/initrd.img                                6
   468	 272.436088562 = 292.526022656  boot/initrd.img-5.3.0-29-generic               4
   469	 272.459491730 = 292.551151616  boot/initrd.img-5.3.0-40-generic               6
   470	 272.436088562 = 292.526022656  boot/initrd.img.old                            4
   471	
   472	=========================== sdb1/boot/grub/grub.cfg: ===========================
   473	
   474	--------------------------------------------------------------------------------
   475	
   476	if loadfont /boot/grub/font.pf2 ; then
   477		set gfxmode=auto
   478		insmod efi_gop
   479		insmod efi_uga
   480		insmod gfxterm
   481		terminal_output gfxterm
   482	fi
   483	
   484	set menu_color_normal=white/black
   485	set menu_color_highlight=black/light-gray
   486	
   487	menuentry "Boot-Repair-Disk session" {
   488		set gfxpayload=keep
   489		linux	/casper/vmlinuz.efi  file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
   490		initrd	/casper/initrd.lz
   491	}
   492	--------------------------------------------------------------------------------
   493	
   494	============================== sdb1/syslinux.cfg: ==============================
   495	
   496	--------------------------------------------------------------------------------
   497	DEFAULT loadconfig
   498	
   499	LABEL loadconfig
   500	  CONFIG /isolinux/isolinux.cfg
   501	  APPEND /isolinux/
   502	--------------------------------------------------------------------------------
   503	
   504	=================== sdb1: Location of files loaded by Grub: ====================
   505	
   506	           GiB - GB             File                                 Fragment(s)
   507	
   508	            ?? = ??             boot/grub/grub.cfg                             1
   509	
   510	================= sdb1: Location of files loaded by Syslinux: ==================
   511	
   512	           GiB - GB             File                                 Fragment(s)
   513	
   514	            ?? = ??             syslinux.cfg                                   1
   515	            ?? = ??             ldlinux.sys                                    1
   516	
   517	
   518	ADDITIONAL INFORMATION :
   519	=================== log of boot-info 20200229_0700 ===================
   520	boot-info version : 4ppa62
   521	boot-sav version : 4ppa62
   522	boot-sav-extra version : 4ppa62
   523	glade2script version : 3.2.3~ppa4
   524	boot-info is executed in live-session (Boot-Repair-Disk 64bit 1oct2017, zesty, Ubuntu, x86_64)
   525	CPU op-mode(s):      32-bit, 64-bit
   526	BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
   527	ls: cannot access '/home/usr/.config': No such file or directory
   528	
   529	=================== os-prober:
   530	/dev/sda5:Ubuntu 19.10 (19.10):Ubuntu:linux
   531	
   532	=================== blkid:
   533	/dev/sda1: UUID="F0CE1E05CE1DC52E" TYPE="ntfs" PARTUUID="2d300c64-01"
   534	/dev/sda2: LABEL="Windows" UUID="8EC66867C668520F" TYPE="ntfs" PARTUUID="2d300c64-02"
   535	/dev/sda4: LABEL="Recovery image" UUID="DC4E68A04E6874E4" TYPE="ntfs" PARTUUID="2d300c64-04"
   536	/dev/sda5: UUID="b8e193a8-06e4-447f-8903-eb2ff51a8df2" TYPE="ext4" PARTUUID="2d300c64-05"
   537	/dev/sdb1: LABEL="BOOT-REPAIR" UUID="FA9B-44B6" TYPE="vfat" PARTUUID="04130657-01"
   538	/dev/loop0: TYPE="squashfs"
   539	/dev/zram0: UUID="22a8c37f-5969-4487-9f74-b19c0d63ca92" TYPE="swap"
   540	/dev/zram1: UUID="6d6aecb9-67ab-4493-a916-1a55bb4177ab" TYPE="swap"
   541	/dev/zram2: UUID="ecf2d6e6-58d5-46a7-9892-9b50fc652a45" TYPE="swap"
   542	/dev/zram3: UUID="431b0f1b-6afe-4a1a-81c8-55d7ae8b96f6" TYPE="swap"
   543	
   544	
   545	1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
   546	
   547	Windows not detected by os-prober on sda2.
   548	Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
   549	Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
   550	
   551	=================== sda5/etc/grub.d/ :
   552	drwxr-xr-x  2 root root    4096 Feb 29 06:57 grub.d
   553	drwxr-xr-x  2 root root    4096 Feb 27 12:35 grub.d.bak
   554	total 128
   555	-rwxr-xr-x 1 root root 10627 Nov  1 19:16 00_header
   556	-rwxr-xr-x 1 root root  6258 Nov  1 19:15 05_debian_theme
   557	-rwxr-xr-x 1 root root 17123 Nov  1 19:16 10_linux
   558	-rwxr-xr-x 1 root root 37613 Nov  1 19:16 10_linux_zfs
   559	-rwxr-xr-x 1 root root 12894 Nov  1 19:16 20_linux_xen
   560	-rwxr-xr-x 1 root root   325 Feb 29 06:57 25_custom
   561	-rwxr-xr-x 1 root root 12059 Nov  1 19:16 30_os-prober
   562	-rwxr-xr-x 1 root root  1418 Nov  1 19:16 30_uefi-firmware
   563	-rwxr-xr-x 1 root root   214 Nov  1 19:16 40_custom
   564	-rwxr-xr-x 1 root root   216 Nov  1 19:16 41_custom
   565	-rw-r--r-- 1 root root   483 Nov  1 19:16 README
   566	
   567	
   568	
   569	
   570	=================== sda5/etc/default/grub :
   571	
   572	# If you change this file, run 'update-grub' afterwards to update
   573	# /boot/grub/grub.cfg.
   574	# For full documentation of the options in this file, see:
   575	#   info -f grub -n 'Simple configuration'
   576	
   577	GRUB_DEFAULT="Windows Boot UEFI loader"
   578	GRUB_TIMEOUT_STYLE=hidden
   579	GRUB_TIMEOUT=10
   580	GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
   581	GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
   582	GRUB_CMDLINE_LINUX=""
   583	
   584	# Uncomment to enable BadRAM filtering, modify to suit your needs
   585	# This works with Linux (no patch required) and with any kernel that obtains
   586	# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
   587	#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
   588	
   589	# Uncomment to disable graphical terminal (grub-pc only)
   590	#GRUB_TERMINAL=console
   591	
   592	# The resolution used on graphical terminal
   593	# note that you can use only modes which your graphic card supports via VBE
   594	# you can see them in real GRUB with the command `vbeinfo'
   595	#GRUB_GFXMODE=640x480
   596	
   597	# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
   598	#GRUB_DISABLE_LINUX_UUID=true
   599	
   600	# Uncomment to disable generation of recovery mode menu entries
   601	#GRUB_DISABLE_RECOVERY="true"
   602	
   603	# Uncomment to get a beep at grub start
   604	#GRUB_INIT_TUNE="480 440 1"
   605	
   606	
   607	
   608	/boot/efi detected in the fstab of sda5: UUID=F0CE1E05CE1DC52E	 (sda1)
   609	/usr/share/boot-sav/bs-cmd_terminal.sh: line 179: warning: command substitution: ignored null byte in input
   610	
   611	=================== efibootmgr -v
   612	BootCurrent: 0007
   613	Timeout: 0 seconds
   614	BootOrder: 0006,0007,0001,0002,0003,0004,0005
   615	Boot0001* Diskette Drive	BBS(Floppy,Diskette Drive,0x0)AMBO
   616	Boot0002* Internal HDD	BBS(HD,P1: ADATA SU630,0x0)AMBO
   617	Boot0003* USB Storage	BBS(USB, USB DISK 2.0 PMAP,0x0)AMBO
   618	Boot0004* CD/DVD/CD-RW Drive	BBS(CDROM,P2: HL-DT-ST DVD+/-RW GU90N   ,0x0)AMBO
   619	Boot0005* Onboard NIC	BBS(Network,IBA CL Slot 00C8 v0110,0x0)AMBO
   620	Boot0006* UEFI: Hard Drive 	PciRoot(0x0)/Pci(0x1f,0x2)/EDD10(0x2a010480)/HD(1,MBR,0x2d300c64,0x800,0xaf000)AMBO
   621	Boot0007* UEFI:  USB DISK 2.0 PMAP	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x4130657,0x800,0xeef800)AMBO
   622	
   623	=================== UEFI/Legacy mode:
   624	BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
   625	SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
   626	
   627	
   628	=================== PARTITIONS & DISKS:
   629	sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-maybe-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
   630	sda2	: sda,	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,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda2.
   631	sda4	: sda,	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,	farbios,	notbiosboot, /mnt/boot-sav/sda4.
   632	sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	signed 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, /mnt/boot-sav/sda5.
   633	
   634	sda	: not-GPT,	BIOSboot-not-needed,	has-maybe-EFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
   635	
   636	
   637	=================== parted -lm:
   638	
   639	BYT;
   640	/dev/sda:480GB:scsi:512:512:msdos:ATA ADATA SU630:;
   641	1:1049kB:368MB:367MB:ntfs::;
   642	2:368MB:286GB:286GB:ntfs::boot;
   643	3:286GB:479GB:193GB:::;
   644	5:286GB:479GB:193GB:ext4::;
   645	4:479GB:480GB:786MB:ntfs::diag;
   646	
   647	BYT;
   648	/dev/sdb:8020MB:scsi:512:512:msdos: USB DISK 2.0:;
   649	1:1049kB:8020MB:8018MB:fat32::boot, lba;
   650	
   651	BYT;
   652	/dev/zram3:1562MB:unknown:4096:4096:loop:Unknown:;
   653	1:0.00B:1562MB:1562MB:linux-swap(v1)::;
   654	
   655	BYT;
   656	/dev/zram1:1562MB:unknown:4096:4096:loop:Unknown:;
   657	1:0.00B:1562MB:1562MB:linux-swap(v1)::;
   658	
   659	BYT;
   660	/dev/zram2:1562MB:unknown:4096:4096:loop:Unknown:;
   661	1:0.00B:1562MB:1562MB:linux-swap(v1)::;
   662	
   663	BYT;
   664	/dev/zram0:1562MB:unknown:4096:4096:loop:Unknown:;
   665	1:0.00B:1562MB:1562MB:linux-swap(v1)::;
   666	
   667	=================== lsblk:
   668	KNAME TYPE FSTYPE     SIZE LABEL
   669	loop0 loop squashfs 629.3M
   670	sda   disk          447.1G
   671	sda1  part ntfs       350M
   672	sda2  part ntfs       266G Windows
   673	sda3  part              1K
   674	sda4  part ntfs       750M Recovery image
   675	sda5  part ext4       180G
   676	sdb   disk            7.5G
   677	sdb1  part vfat       7.5G BOOT-REPAIR
   678	sr0   rom            1024M
   679	zram0 disk            1.5G
   680	zram1 disk            1.5G
   681	zram2 disk            1.5G
   682	zram3 disk            1.5G
   683	
   684	KNAME ROTA RO RM STATE   MOUNTPOINT
   685	loop0    1  1  0         /rofs
   686	sda      0  0  0 running
   687	sda1     0  0  0         /mnt/boot-sav/sda1
   688	sda2     0  0  0         /mnt/boot-sav/sda2
   689	sda3     0  0  0
   690	sda4     0  0  0         /mnt/boot-sav/sda4
   691	sda5     0  0  0         /mnt/boot-sav/sda5
   692	sdb      1  0  1 running
   693	sdb1     1  0  1         /cdrom
   694	sr0      1  0  1 running
   695	zram0    0  0  0         [SWAP]
   696	zram1    0  0  0         [SWAP]
   697	zram2    0  0  0         [SWAP]
   698	zram3    0  0  0         [SWAP]
   699	
   700	
   701	=================== mount:
   702	sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
   703	proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
   704	udev on /dev type devtmpfs (rw,nosuid,relatime,size=6074912k,nr_inodes=1518728,mode=755)
   705	devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
   706	tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1220420k,mode=755)
   707	/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
   708	/dev/loop0 on /rofs type squashfs (ro,noatime)
   709	/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
   710	securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
   711	tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
   712	tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
   713	tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
   714	cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
   715	cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
   716	pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
   717	efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
   718	cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
   719	cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
   720	cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
   721	cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
   722	cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
   723	cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
   724	cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
   725	cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
   726	cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
   727	cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
   728	cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
   729	systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13308)
   730	mqueue on /dev/mqueue type mqueue (rw,relatime)
   731	hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
   732	configfs on /sys/kernel/config type configfs (rw,relatime)
   733	debugfs on /sys/kernel/debug type debugfs (rw,relatime)
   734	fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
   735	tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
   736	tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1220416k,mode=700,uid=999,gid=999)
   737	gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
   738	/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
   739	/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
   740	/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
   741	/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw,relatime,data=ordered)
   742	
   743	
   744	=================== ls:
   745	/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
   746	/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
   747	/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
   748	/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd freefall full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue mtd0 mtd0ro net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
   749	ls /dev/mapper:  control
   750	
   751	=================== hexdump -n512 -C /dev/sda1
   752	00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
   753	00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
   754	00000020  00 00 00 00 80 00 80 00  ff ef 0a 00 00 00 00 00  |................|
   755	00000030  aa 74 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.t..............|
   756	00000040  f6 00 00 00 01 00 00 00  2e c5 1d ce 05 1e ce f0  |................|
   757	00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
   758	00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
   759	00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
   760	00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
   761	00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
   762	000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
   763	000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
   764	000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
   765	000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
   766	000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
   767	000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
   768	00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
   769	00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
   770	00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
   771	00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
   772	00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
   773	00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
   774	00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
   775	00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
   776	00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
   777	00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
   778	000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
   779	000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
   780	000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
   781	000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
   782	000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
   783	000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
   784	00000200
   785	
   786	=================== hexdump -n512 -C /dev/sda2
   787	00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
   788	00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 f8 0a 00  |........?.......|
   789	00000020  00 00 00 00 80 00 80 00  73 8a 41 21 00 00 00 00  |........s.A!....|
   790	00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
   791	00000040  f6 00 00 00 01 00 00 00  0f 52 68 c6 67 68 c6 8e  |.........Rh.gh..|
   792	00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
   793	00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
   794	00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
   795	00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
   796	00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
   797	000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
   798	000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
   799	000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
   800	000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
   801	000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
   802	000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
   803	00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
   804	00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
   805	00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
   806	00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
   807	00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
   808	00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
   809	00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
   810	00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
   811	00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
   812	00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
   813	000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
   814	000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
   815	000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
   816	000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
   817	000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
   818	000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
   819	00000200
   820	
   821	=================== hexdump -n512 -C /dev/sda4
   822	00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
   823	00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 48 d0 0e  |........?....H..|
   824	00000020  00 00 00 00 80 00 80 00  ff 6f 17 00 00 00 00 00  |.........o......|
   825	00000030  00 fa 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
   826	00000040  f6 00 00 00 01 00 00 00  e4 74 68 4e a0 68 4e dc  |.........thN.hN.|
   827	00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
   828	00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
   829	00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
   830	00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
   831	00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
   832	000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
   833	000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
   834	000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
   835	000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
   836	000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
   837	000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
   838	00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
   839	00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
   840	00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
   841	00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
   842	00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
   843	00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
   844	00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
   845	00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
   846	00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
   847	00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
   848	000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
   849	000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
   850	000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
   851	000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
   852	000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
   853	000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
   854	00000200
   855	
   856	=================== df -Th:
   857	
   858	Filesystem     Type      Size  Used Avail Use% Mounted on
   859	udev           devtmpfs  5.8G     0  5.8G   0% /dev
   860	tmpfs          tmpfs     1.2G  9.4M  1.2G   1% /run
   861	/dev/sdb1      vfat      7.5G  708M  6.8G  10% /cdrom
   862	/dev/loop0     squashfs  630M  630M     0 100% /rofs
   863	/cow           overlay   5.9G  6.2M  5.9G   1% /
   864	tmpfs          tmpfs     5.9G     0  5.9G   0% /dev/shm
   865	tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
   866	tmpfs          tmpfs     5.9G     0  5.9G   0% /sys/fs/cgroup
   867	tmpfs          tmpfs     5.9G  348K  5.9G   1% /tmp
   868	tmpfs          tmpfs     1.2G  8.0K  1.2G   1% /run/user/999
   869	/dev/sda1      fuseblk   350M   55M  296M  16% /mnt/boot-sav/sda1
   870	/dev/sda2      fuseblk   267G   95G  173G  36% /mnt/boot-sav/sda2
   871	/dev/sda4      fuseblk   750M  379M  372M  51% /mnt/boot-sav/sda4
   872	/dev/sda5      ext4      177G   81G   87G  49% /mnt/boot-sav/sda5
   873	
   874	=================== fdisk -l:
   875	Disk /dev/loop0: 629.3 MiB, 659873792 bytes, 1288816 sectors
   876	Units: sectors of 1 * 512 = 512 bytes
   877	Sector size (logical/physical): 512 bytes / 512 bytes
   878	I/O size (minimum/optimal): 512 bytes / 512 bytes
   879	
   880	
   881	Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
   882	Units: sectors of 1 * 512 = 512 bytes
   883	Sector size (logical/physical): 512 bytes / 512 bytes
   884	I/O size (minimum/optimal): 512 bytes / 512 bytes
   885	Disklabel type: dos
   886	Disk identifier: 0x2d300c64
   887	
   888	Device     Boot     Start       End   Sectors  Size Id Type
   889	/dev/sda1            2048    718847    716800  350M  7 HPFS/NTFS/exFAT
   890	/dev/sda2  *       718848 558662259 557943412  266G  7 HPFS/NTFS/exFAT
   891	/dev/sda3       558663678 936151039 377487362  180G  5 Extended
   892	/dev/sda4       936151668 937687667   1536000  750M 27 Hidden NTFS WinRE
   893	/dev/sda5       558663680 936151039 377487360  180G 83 Linux
   894	
   895	Partition table entries are not in disk order.
   896	
   897	
   898	
   899	
   900	Disk /dev/sdb: 7.5 GiB, 8019509248 bytes, 15663104 sectors
   901	Units: sectors of 1 * 512 = 512 bytes
   902	Sector size (logical/physical): 512 bytes / 512 bytes
   903	I/O size (minimum/optimal): 512 bytes / 512 bytes
   904	Disklabel type: dos
   905	Disk identifier: 0x04130657
   906	
   907	Device     Boot Start      End  Sectors  Size Id Type
   908	/dev/sdb1  *     2048 15663103 15661056  7.5G  c W95 FAT32 (LBA)
   909	
   910	
   911	Disk /dev/zram0: 1.5 GiB, 1562136576 bytes, 381381 sectors
   912	Units: sectors of 1 * 4096 = 4096 bytes
   913	Sector size (logical/physical): 4096 bytes / 4096 bytes
   914	I/O size (minimum/optimal): 4096 bytes / 4096 bytes
   915	
   916	
   917	Disk /dev/zram1: 1.5 GiB, 1562136576 bytes, 381381 sectors
   918	Units: sectors of 1 * 4096 = 4096 bytes
   919	Sector size (logical/physical): 4096 bytes / 4096 bytes
   920	I/O size (minimum/optimal): 4096 bytes / 4096 bytes
   921	
   922	
   923	Disk /dev/zram2: 1.5 GiB, 1562136576 bytes, 381381 sectors
   924	Units: sectors of 1 * 4096 = 4096 bytes
   925	Sector size (logical/physical): 4096 bytes / 4096 bytes
   926	I/O size (minimum/optimal): 4096 bytes / 4096 bytes
   927	
   928	
   929	Disk /dev/zram3: 1.5 GiB, 1562136576 bytes, 381381 sectors
   930	Units: sectors of 1 * 4096 = 4096 bytes
   931	Sector size (logical/physical): 4096 bytes / 4096 bytes
   932	I/O size (minimum/optimal): 4096 bytes / 4096 bytes
   933	
   934	
   935	
   936	
   937	=================== Suggested repair
   938	The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda5, using the following options:        sda1/boot/efi,
   939	Additional repair would be performed: unhide-bootmenu-10s    use-standard-efi-file
   940	
   941	
   942	=================== Final advice in case of suggested repair
   943	Please do not forget to make your BIOS boot on sda1/efi/.../grub*.efi file!
   944	
   945	If your computer reboots directly into Windows, try to change the boot order in your BIOS.
   946	If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
   947	For example you can boot into Windows, then type the following command in an admin command prompt:
   948	bcdedit /set {bootmgr} path \EFI\...\grub*.efi
   949	
   950	
   951	=================== User settings
   952	The settings chosen by the user will not act on the boot.

 

On y voit :

   611	=================== efibootmgr -v
   612	BootCurrent: 0007
   613	Timeout: 0 seconds
   614	BootOrder: 0006,0007,0001,0002,0003,0004,0005
   615	Boot0001* Diskette Drive	BBS(Floppy,Diskette Drive,0x0)AMBO
   616	Boot0002* Internal HDD	BBS(HD,P1: ADATA SU630,0x0)AMBO
   617	Boot0003* USB Storage	BBS(USB, USB DISK 2.0 PMAP,0x0)AMBO
   618	Boot0004* CD/DVD/CD-RW Drive	BBS(CDROM,P2: HL-DT-ST DVD+/-RW GU90N   ,0x0)AMBO
   619	Boot0005* Onboard NIC	BBS(Network,IBA CL Slot 00C8 v0110,0x0)AMBO
   620	Boot0006* UEFI: Hard Drive 	PciRoot(0x0)/Pci(0x1f,0x2)/EDD10(0x2a010480)/HD(1,MBR,0x2d300c64,0x800,0xaf000)AMBO
   621	Boot0007* UEFI:  USB DISK 2.0 PMAP	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x4130657,0x800,0xeef800)AMBO

Il n’y a aucune référence à quelque fichier efi que ce soit.
Donc, aucune chance de démarrer en mode EFI.


Je découvre seulement maintenant (mais ça y était déjà dans le précédent boot-info) ceci :

   570	=================== sda5/etc/default/grub :
…
   577	GRUB_DEFAULT="Windows Boot UEFI loader"

Cette entrée ne devrait plus exister mais on voit encore :

   404	### BEGIN /etc/grub.d/25_custom ###
   405	
   406	menuentry "Windows UEFI bootmgfw.efi" {
   407	search --fs-uuid --no-floppy --set=root F0CE1E05CE1DC52E
   408	chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
   409	}
   410	
   411	menuentry "Windows Boot UEFI loader" {
   412	search --fs-uuid --no-floppy --set=root F0CE1E05CE1DC52E
   413	chainloader (${root})/EFI/Boot/bootx64.efi
   414	}
   415	### END /etc/grub.d/25_custom ###

Et pourtant,

malbo a écrit :

Pour supprimer les deux entrées "Windows UEFI bootmgfw.efi" et "Windows Boot UEFI loader", tu peux passer la commande suivante dans un terminal (elle va désactiver le script 25_custom :

sudo chmod -x /etc/grub.d/25_custom

Puis tu mets à jour Grub en passant cette commande :

sudo update-grub 

Et au démarrage suivant de l'ordi, ces deux entrées auront disparu.

Mais le fichier a été modifié ce matin à 06:57.


Alors je te prie :

  • de démarrer sur ton Ubuntu installé (donc en mode LEGACY) ;

  • de donner les retours de ;

    sudo sed -i '$d' /etc/fstab && sudo sed -i 's/\(GRUB_DEFAULT=\).*/\10' /etc/default/grub && cd /etc/grub.d && sudo rm -v 25_custom && cd
    sudo update-grub
  • enfin de redémarrer.


Puis refais un rapport boot-info (SANS FAIRE UNE RÉPARATION BOOT-REPAIR AUPARAVANT).

Hors ligne