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 21/07/2019, à 18:05

Alfrat

Grub est installé mais e s'affiche pas.

Bonjour,
Donc j'ai installer Linux sur mon disque mais en laissant windows dessus, je veux avoir accès au deux. A la fin de l'installation linux, j'ai relancer mon pc et aucune interface n'est apparue pour me proposer soit windows sois linux. Je me suis donc renseigné et j'ai vu que c’était apparemment un problème de grub. Durant la partition de mon disque j'ai libéré une partition puis je les recrée (c’était non volontaire), je pense que c’était la partition de boot. J'ai donc essayer beacoup de solution et aucune ne marche. Je vous met mon lien vers mon boot info.
http://paste.ubuntu.com/p/YGWNqk4ZcP/
Merci

Hors ligne

#2 Le 22/07/2019, à 01:50

Alfrat

Re : Grub est installé mais e s'affiche pas.

En d'autre terme, j'aimerai que mon ordi boot sur la partition grub ou linux

Hors ligne

#3 Le 22/07/2019, à 09:32

lucmars

Re : Grub est installé mais e s'affiche pas.

le boot-info

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 
    1226752 of the same hard drive for core.img. core.img is at this location 
    and looks for (,gpt5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt 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:        

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    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:        

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

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

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1      R          2,048     1,023,999     1,021,952 Windows Recovery Environment (Windows)
/dev/sda2             1,024,000     1,226,751       202,752 EFI System partition
/dev/sda3             1,226,752     1,259,519        32,768 BIOS Boot partition
/dev/sda4             1,259,520 1,563,759,519 1,562,500,000 Data partition (Windows/Linux)
/dev/sda5         1,563,760,640 1,759,072,255   195,311,616 Data partition (Linux)
/dev/sda6         1,759,072,256 1,762,977,791     3,905,536 Swap partition (Linux)

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

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/sda1        8ECCEA53CCEA34DD                       ntfs       Récupération
/dev/sda2        86EC-0FEF                              vfat       
/dev/sda3                                                          
/dev/sda4        E62EEECF2EEE9837                       ntfs       
/dev/sda5        41173ebf-6eff-44f4-93b1-3d2943bfeb36   ext4       
/dev/sda6        cf5499a2-2670-44ba-b9d0-16b364b8b021   swap       
/dev/sr0         2019-02-10-00-27-34-00                 iso9660    Ubuntu 18.04.2 LTS amd64

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

total 0
lrwxrwxrwx 1 root root  9 Jul 21 16:38 ata-MATSHITADVD-RAM_UJ8G6_H092_317870 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jul 21 16:49 ata-WDC_WD10JPVX-22JC3T0_WD-WXS1A678L3R8 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 21 16:49 ata-WDC_WD10JPVX-22JC3T0_WD-WXS1A678L3R8-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 21 16:49 ata-WDC_WD10JPVX-22JC3T0_WD-WXS1A678L3R8-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 21 16:49 ata-WDC_WD10JPVX-22JC3T0_WD-WXS1A678L3R8-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 21 16:49 ata-WDC_WD10JPVX-22JC3T0_WD-WXS1A678L3R8-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul 21 16:49 ata-WDC_WD10JPVX-22JC3T0_WD-WXS1A678L3R8-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jul 21 16:49 ata-WDC_WD10JPVX-22JC3T0_WD-WXS1A678L3R8-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 Jul 21 16:49 wwn-0x50014ee2b9a6b520 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 21 16:49 wwn-0x50014ee2b9a6b520-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 21 16:49 wwn-0x50014ee2b9a6b520-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 21 16:49 wwn-0x50014ee2b9a6b520-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 21 16:49 wwn-0x50014ee2b9a6b520-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul 21 16:49 wwn-0x50014ee2b9a6b520-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jul 21 16:49 wwn-0x50014ee2b9a6b520-part6 -> ../../sda6

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda1        /mnt/chrootdir           fuseblk    (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda5        /mnt                     ext4       (rw,relatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)


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

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  41173ebf-6eff-44f4-93b1-3d2943bfeb36
else
  search --no-floppy --fs-uuid --set=root 41173ebf-6eff-44f4-93b1-3d2943bfeb36
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=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-41173ebf-6eff-44f4-93b1-3d2943bfeb36' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  41173ebf-6eff-44f4-93b1-3d2943bfeb36
	else
	  search --no-floppy --fs-uuid --set=root 41173ebf-6eff-44f4-93b1-3d2943bfeb36
	fi
        linux	/boot/vmlinuz-4.18.0-15-generic root=UUID=41173ebf-6eff-44f4-93b1-3d2943bfeb36 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.18.0-15-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-41173ebf-6eff-44f4-93b1-3d2943bfeb36' {
	menuentry 'Ubuntu, avec Linux 4.18.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-15-generic-advanced-41173ebf-6eff-44f4-93b1-3d2943bfeb36' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  41173ebf-6eff-44f4-93b1-3d2943bfeb36
		else
		  search --no-floppy --fs-uuid --set=root 41173ebf-6eff-44f4-93b1-3d2943bfeb36
		fi
		echo	'Chargement de Linux 4.18.0-15-generic…'
	        linux	/boot/vmlinuz-4.18.0-15-generic root=UUID=41173ebf-6eff-44f4-93b1-3d2943bfeb36 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.18.0-15-generic
	}
	menuentry 'Ubuntu, with Linux 4.18.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.0-15-generic-recovery-41173ebf-6eff-44f4-93b1-3d2943bfeb36' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  41173ebf-6eff-44f4-93b1-3d2943bfeb36
		else
		  search --no-floppy --fs-uuid --set=root 41173ebf-6eff-44f4-93b1-3d2943bfeb36
		fi
		echo	'Chargement de Linux 4.18.0-15-generic…'
	        linux	/boot/vmlinuz-4.18.0-15-generic root=UUID=41173ebf-6eff-44f4-93b1-3d2943bfeb36 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.18.0-15-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  41173ebf-6eff-44f4-93b1-3d2943bfeb36
	else
	  search --no-floppy --fs-uuid --set=root 41173ebf-6eff-44f4-93b1-3d2943bfeb36
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  41173ebf-6eff-44f4-93b1-3d2943bfeb36
	else
	  search --no-floppy --fs-uuid --set=root 41173ebf-6eff-44f4-93b1-3d2943bfeb36
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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=41173ebf-6eff-44f4-93b1-3d2943bfeb36 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=cf5499a2-2670-44ba-b9d0-16b364b8b021 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 753.804397583 = 809.391308800  boot/grub/grub.cfg                             1
 747.956050873 = 803.111694336  boot/vmlinuz-4.18.0-15-generic                 2
 747.956050873 = 803.111694336  vmlinuz                                        2
 824.961200714 = 885.795344384  boot/initrd.img-4.18.0-15-generic              2
 824.961200714 = 885.795344384  initrd.img                                     2
 824.961200714 = 885.795344384  initrd.img.old                                 2

=============================== StdErr Messages: ===============================

/usr/share/boot-sav/b-i-s.sh: line 3042: cd: /mnt/chrootdir/: No such file or directory
File descriptor 9 (/proc/21183/mountinfo) leaked on lvs invocation. Parent PID 533: bash
File descriptor 63 (pipe:[111765]) leaked on lvs invocation. Parent PID 533: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20190721_1648 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in live-session (Ubuntu 18.04.2 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd quiet splash --- maybe-ubiquity
ls: cannot access '/home/usr/.config': No such file or directory
df: /mnt/chrootdir: No such file or directory
df: /mnt/chrootdir: No such file or directory
df: /mnt/chrootdir: No such file or directory

=================== os-prober:
/dev/sda5:Ubuntu 18.04.2 LTS (18.04):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="8ECCEA53CCEA34DD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="7413ea9a-e7fe-41c6-8881-39cbd45810a3"
/dev/sda2: UUID="86EC-0FEF" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="665f2243-763b-41c5-ba50-b12b017959dc"
/dev/sda4: UUID="E62EEECF2EEE9837" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="7c6595d9-7ec0-4600-882b-f5fc4786364a"
/dev/sda5: UUID="41173ebf-6eff-44f4-93b1-3d2943bfeb36" TYPE="ext4" PARTUUID="9a37a4c4-9784-404b-800d-8c1e820d8969"
/dev/sr0: UUID="2019-02-10-00-27-34-00" LABEL="Ubuntu 18.04.2 LTS amd64" TYPE="iso9660" PTUUID="40993ab6" PTTYPE="dos"
/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/sda6: UUID="cf5499a2-2670-44ba-b9d0-16b364b8b021" TYPE="swap" PARTUUID="6acfcaf7-1585-435f-b70d-a5248b2f5689"
/dev/sda3: PARTUUID="33261427-ced9-4132-adc8-2dd988d1f7c4"


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

df: /mnt/chrootdir: No such file or directory
ls: cannot access '/mnt/chrootdir/': No such file or directory
ls: cannot access '/mnt/chrootdir/': No such file or directory
ls: cannot access '/mnt/chrootdir/': No such file or directory
ls: cannot access '/mnt/chrootdir/': No such file or directory
ls: cannot access '/mnt/chrootdir/': No such file or directory
ls: cannot access '/mnt/chrootdir/': No such file or directory
Windows not detected by os-prober on sda4.
Linux not detected by os-prober on sda3. Please report this message to boot.repair@gmail.com
ls: cannot access '/mnt/chrootdir/': No such file or directory
ls: cannot access '/mnt/chrootdir/': No such file or directory
ls: cannot access '/mnt/chrootdir/': No such file or directory
ls: cannot access '/mnt/chrootdir/': No such file or directory
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi

=================== /mnt/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Feb 10 00:15 grub.d
total 80
-rwxr-xr-x 1 root root 10046 Feb  7 23:20 00_header
-rwxr-xr-x 1 root root  6258 Feb  4 19:10 05_debian_theme
-rwxr-xr-x 1 root root 12693 Feb  7 23:20 10_linux
-rwxr-xr-x 1 root root 11298 Feb  7 23:20 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 Feb  7 23:20 30_os-prober
-rwxr-xr-x 1 root root  1418 Feb  7 23:20 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Feb  7 23:20 40_custom
-rwxr-xr-x 1 root root   216 Feb  7 23:20 41_custom
-rw-r--r-- 1 root root   483 Feb  7 23:20 README




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

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
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"




=================== /etc/grub.d/ :
drwxr-xr-x 2 root root     204 Feb 10 00:15 grub.d
total 58
-rwxr-xr-x 1 root root 10046 Feb  7 23:20 00_header
-rwxr-xr-x 1 root root  6258 Feb  4 19:10 05_debian_theme
-rwxr-xr-x 1 root root 12693 Feb  7 23:20 10_linux
-rwxr-xr-x 1 root root 11298 Feb  7 23:20 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 Feb  7 23:20 30_os-prober
-rwxr-xr-x 1 root root  1418 Feb  7 23:20 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Feb  7 23:20 40_custom
-rwxr-xr-x 1 root root   216 Feb  7 23:20 41_custom
-rw-r--r-- 1 root root   483 Feb  7 23:20 README




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

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
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"



=================== No kernel in /boot:
System.map-4.18.0-15-generic
config-4.18.0-15-generic
grub
memtest86+.bin
memtest86+.elf
memtest86+_multiboot.bin



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


=================== PARTITIONS & DISKS:
sda1	: 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,	not-far,	notbiosboot, /mnt/chrootdir.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda2.
sda4	: 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,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda4.
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	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.
sda3	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	no-kernel,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	is-biosboot, .

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


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

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPVX-22J:;
1:1049kB:524MB:523MB:ntfs:Basic data partition:hidden, diag;
2:524MB:628MB:104MB:fat32:EFI system partition:boot, esp;
3:628MB:645MB:16.8MB:::bios_grub;
4:645MB:801GB:800GB:ntfs:Basic data partition:msftdata;
5:801GB:901GB:100GB:ext4::;
6:901GB:903GB:2000MB:linux-swap(v1)::;

BYT;
/dev/sr0:1996MB:scsi:2048:2048:mac:MATSHITA DVD-RAM UJ8G6:;
1:2048B:6143B:4096B::Apple:;
2:1961MB:1964MB:2523kB::EFI:;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs   1.8G
loop1 loop squashfs    91M
loop2 loop squashfs  34.6M
loop3 loop squashfs 140.7M
loop4 loop squashfs   2.3M
loop5 loop squashfs    13M
loop6 loop squashfs  14.5M
loop7 loop squashfs   3.7M
sda   disk          931.5G
sda1  part ntfs       499M Récupération
sda2  part vfat        99M
sda3  part             16M
sda4  part ntfs     745.1G
sda5  part ext4      93.1G
sda6  part swap       1.9G
sr0   rom  iso9660    1.9G Ubuntu 18.04.2 LTS amd64

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
loop1    1  1  0         /snap/core/6350
loop2    1  1  0         /snap/gtk-common-themes/818
loop3    1  1  0         /snap/gnome-3-26-1604/74
loop4    1  1  0         /snap/gnome-calculator/260
loop5    1  1  0         /snap/gnome-characters/139
loop6    1  1  0         /snap/gnome-logs/45
loop7    1  1  0         /snap/gnome-system-monitor/57
sda      1  0  0 running
sda1     1  0  0         /mnt/chrootdir
sda2     1  0  0         /mnt/boot-sav/sda2
sda3     1  0  0
sda4     1  0  0         /mnt/boot-sav/sda4
sda5     1  0  0         /mnt
sda6     1  0  0         [SWAP]
sr0      1  0  1 running /cdrom


=================== 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=2969824k,nr_inodes=742456,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=598456k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15398)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/121 type tmpfs (rw,nosuid,nodev,relatime,size=598452k,mode=700,uid=121,gid=125)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=598452k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/var/lib/snapd/snaps/core_6350.snap on /snap/core/6350 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_818.snap on /snap/gtk-common-themes/818 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_74.snap on /snap/gnome-3-26-1604/74 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_260.snap on /snap/gnome-calculator/260 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_139.snap on /snap/gnome-characters/139 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_45.snap on /snap/gnome-logs/45 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_57.snap on /snap/gnome-system-monitor/57 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda1 on /mnt/chrootdir type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/cow on /mnt/chrootdir/boot type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
proc on /mnt/chrootdir/proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /mnt/chrootdir/dev type devtmpfs (rw,nosuid,relatime,size=2969824k,nr_inodes=742456,mode=755)
sysfs on /mnt/chrootdir/sys type sysfs (rw,nosuid,nodev,noexec,relatime)
/cow on /mnt/chrootdir/etc type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
/cow on /mnt/chrootdir/bin type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
/cow on /mnt/chrootdir/sbin type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
/cow on /mnt/chrootdir/var type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
/cow on /mnt/chrootdir/usr type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
/cow on /mnt/chrootdir/lib type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
/cow on /mnt/chrootdir/lib64 type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
tmpfs on /mnt/chrootdir/tmp type tmpfs (rw,nosuid,nodev,relatime)
/dev/sda5 on /mnt type ext4 (rw,relatime)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/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 power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 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 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 dvd dvdrw ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero
ls /dev/mapper:  control
ls: cannot access '/mnt/chrootdir/': No such file or directory

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

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

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

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  2.9G     0  2.9G   0% /dev
tmpfs          tmpfs     585M  2.0M  583M   1% /run
/dev/sr0       iso9660   1.9G  1.9G     0 100% /cdrom
/dev/loop0     squashfs  1.8G  1.8G     0 100% /rofs
/cow           overlay   2.9G  447M  2.5G  16% /
tmpfs          tmpfs     2.9G   33M  2.9G   2% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     2.9G     0  2.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     2.9G  964K  2.9G   1% /tmp
tmpfs          tmpfs     585M   12K  585M   1% /run/user/121
tmpfs          tmpfs     585M   40K  585M   1% /run/user/999
/dev/loop1     squashfs   91M   91M     0 100% /snap/core/6350
/dev/loop2     squashfs   35M   35M     0 100% /snap/gtk-common-themes/818
/dev/loop3     squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/74
/dev/loop4     squashfs  2.3M  2.3M     0 100% /snap/gnome-calculator/260
/dev/loop5     squashfs   13M   13M     0 100% /snap/gnome-characters/139
/dev/loop6     squashfs   15M   15M     0 100% /snap/gnome-logs/45
/dev/loop7     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/57
/dev/sda5      ext4       92G  4.7G   82G   6% /mnt
/dev/sda2      vfat       95M   26M   70M  27% /mnt/boot-sav/sda2
/dev/sda4      fuseblk   746G  143G  603G  20% /mnt/boot-sav/sda4

=================== fdisk -l:
Disk /dev/loop0: 1.8 GiB, 1905045504 bytes, 3720792 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: 91 MiB, 95408128 bytes, 186344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


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


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


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


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


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


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


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6EE7FA64-906A-4B66-A338-DA9D947E6149

Device          Start        End    Sectors   Size Type
/dev/sda1        2048    1023999    1021952   499M Windows recovery environment
/dev/sda2     1024000    1226751     202752    99M EFI System
/dev/sda3     1226752    1259519      32768    16M BIOS boot
/dev/sda4     1259520 1563759519 1562500000 745.1G Microsoft basic data
/dev/sda5  1563760640 1759072255  195311616  93.1G Linux filesystem
/dev/sda6  1759072256 1762977791    3905536   1.9G Linux swap




=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of sda5, using the following options:        sda2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot use-standard-efi-file


=================== Blockers in case of suggested repair
The current session is in Legacy mode. Please reboot the computer, and use this software in an EFI session. This will enable this feature. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode.


=================== Advice in case of suggested repair
The boot of your PC is in Legacy mode. You may want to retry after changing it to EFI mode.
Do you want to continue?


=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda2/efi/.../grub*.efi file!

If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\...\grub*.efi

The boot of your PC is in Legacy mode. You may want to retry after changing it to EFI mode.


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

Gaulois Matter !

Hors ligne

#4 Le 22/07/2019, à 09:36

lucmars

Re : Grub est installé mais e s'affiche pas.

Windows est installé en EFI et t'aurais du installer buntu aussi en efi.

Toutefois, windows démarre-t-il ? Car là je vois rien dans le rapport pour qu'il puisse démarrer.


Gaulois Matter !

Hors ligne

#5 Le 22/07/2019, à 11:33

Alfrat

Re : Grub est installé mais e s'affiche pas.

Oui windows se lance normalement. Et justement j'ai pas trop compris cette histoire de EFI, lors de mes session live linux, j'ai a un moment quitter brusquement l'installation de linux puis impossible de revenir sur le cd. Je me suis renseigner et en bidouillant mon bios j'ai réussi a booter 2 version différente du CD, une UEFI qui ne marchait pas et une P2 qui marchait.

Hors ligne

#6 Le 22/07/2019, à 11:58

lucmars

Re : Grub est installé mais e s'affiche pas.

Ben justement, il faut que tu boot ton support en mode efi, pour faire une installe en efi comme le win, sinon grub ne verra pas windows.

Ou bien tu boot le cd en efi et tu tentes la réparation proposé par boot-repair.

Dans les 2 cas assures toi d'avoir booter le cd en efi.


Gaulois Matter !

Hors ligne

#7 Le 22/07/2019, à 12:10

Alfrat

Re : Grub est installé mais e s'affiche pas.

Comment je boot en efi ? En faite, je peut pas booter mon CD sur uefi, quand je le fait il me met un message d'erreur comme quoi il n'a pas trouver un fichier .efi

Hors ligne

#8 Le 22/07/2019, à 12:20

Alfrat

Re : Grub est installé mais e s'affiche pas.

Autre probleme, pour utiliser le boot repair on me demande d'être en mode efi, sauf que pour aller en mode efi il faut avoir acces au boot repair.

Hors ligne

#9 Le 22/07/2019, à 12:40

Nasman

Re : Grub est installé mais e s'affiche pas.

Il faut aller tripatouiller dans les options du "bios" pour voir comment démarrer sur DVD ou clé usb en mode uefi (la version bios classique s'appelle peut être legacy ou hérité).

Le firware du PC devrait proposer le choix de démarrage dans les deux modes, soit le mode bios (qui est celui qui a été utilisé pour ton installation d'ubuntu), soit le mode uefi.

En mode uefi il faut (au minimum)  :
- une partition EFI (en fat)
- une partition système ubuntu

En mode bios il faut (sur disque partitionné en gpt)
- une partition Bios_boot (pour y placer le code de core.img)
- une partition système ubuntu

Tu pourras avoir le choix de boot sur les deux systèmes s'ils sont installés dans le même mode (tout en bios ou tout en uefi)
- Windows (quelle version ?) a été installé en mode uefi puisque la partition EFI est déjà présente
- Ubuntu a été installé en mode bios puisque son installation a créé la partition bios_boot

Sauf à tout réinstaller, il faut que tu trouves le moyen de démarrer ton CD (DVD plutôt ?) ou ta clé usb en mode UEFI (les fichiers de boot d'ubuntu seront placés dans la partition EFI déjà présente).


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#10 Le 22/07/2019, à 12:46

Alfrat

Re : Grub est installé mais e s'affiche pas.

C'est bien la le problème sad, en bidouillant je peux booter sur un UEFI: quelquechose  qui représente mon DVD avec ubuntu dessus sauf qu'il me demande des fichier .efi. Et j'ai deja essayer de réinstaller ubuntu, rien a changer. Apres je sais pas si c'est normal mais dans mon disque j'ai une partition grub, et est-ce possible de boot sur cette partition ou ça ne change rien ?

Hors ligne

#11 Le 22/07/2019, à 12:48

Babdu89

Re : Grub est installé mais e s'affiche pas.

Bonjour.

On voit ceci dans le boot info;

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

En désactivant le SecureBoot dans le Bios, est-ce que çà permet de démarrer la session DVD live en mode UEFI ?.

@+.   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

#12 Le 22/07/2019, à 12:52

Alfrat

Re : Grub est installé mais e s'affiche pas.

Non même en désactivant le secure boot, lorsque je lance mon uefi il me met un message d’erreur.

Hors ligne

#13 Le 22/07/2019, à 14:17

lucmars

Re : Grub est installé mais e s'affiche pas.

Alfrat a écrit :

Non même en désactivant le secure boot, lorsque je lance mon uefi il me met un message d’erreur.

Recommences et rapportes-nous exactement le message d'erreur.

Car depuis la 18-10 il y a eut un bug relatif à un fichier efi manquant/mal placé; sur certain pc ce bug se produisait. Malheureusement aussi avec la 180402.


Gaulois Matter !

Hors ligne

#14 Le 22/07/2019, à 15:05

Alfrat

Re : Grub est installé mais e s'affiche pas.

Alors le message d'erreur dit :
Failed to open \EFI\BOOT\mmx64.efi - Not found
Failed to load image \EFI\BOOT\mmx64.efi Not found
Failed to start MokManager Not found
Something has gone seriously wrong : import_mok_state()

Hors ligne

#15 Le 22/07/2019, à 15:20

lucmars

Re : Grub est installé mais e s'affiche pas.

Alfrat a écrit :

Alors le message d'erreur dit :
Failed to open \EFI\BOOT\mmx64.efi - Not found
Failed to load image \EFI\BOOT\mmx64.efi Not found
Failed to start MokManager Not found
Something has gone seriously wrong : import_mok_state()

C'est tout à fait le bug en question, tu peux voir ici : https://bugs.launchpad.net/ubuntu/+sour … ug/1798171

Ce serait bien que Malbo soit là, car pour remedier à ce probleme, faut que ton support soit une clef usb, pas un dvd.

Par ailleurs ton pc n'a p'tete pas besoin de la 180402, rabats toi sur la 180401 lts, qui ne devrait pas etre sujette à ce bug, et avec laquelle tu fais ta clef de boot.


Gaulois Matter !

Hors ligne

#16 Le 22/07/2019, à 15:29

Alfrat

Re : Grub est installé mais e s'affiche pas.

D'accord, mais je pense avoir eu ce meme probleme sur clé mais je vais réessayer, sinon c'est quoi la 180402 ?

Hors ligne

#17 Le 22/07/2019, à 15:40

lucmars

Re : Grub est installé mais e s'affiche pas.

Alfrat a écrit :

D'accord, mais je pense avoir eu ce meme probleme sur clé mais je vais réessayer, sinon c'est quoi la 180402 ?

Une sorte de rolling release qui te fera passer par la 03, 04 etc avec chaque fois le dernier noyau disponible, cela sur 5 ans. Ça peut etre casse gueule et ça vise les pc très récents.

Avec la 180401 lts, tu restes sur le noyau 4.15 pendant 5 ans. C'est donc plus stable. Et elle ne devrait pas etre affectée par ce bug.

Si quand bien meme, il faut de toute façon une clef car le remède consiste à faire des modifs de fichiers sur la clef.


Gaulois Matter !

Hors ligne

#18 Le 22/07/2019, à 18:36

Alfrat

Re : Grub est installé mais e s'affiche pas.

Non ça ne marche pas si je lance linux sesion live sur une cle en mode efi, ça me met le même message d'erreur.

Hors ligne

#19 Le 22/07/2019, à 18:38

lucmars

Re : Grub est installé mais e s'affiche pas.

Alfrat a écrit :

Non ça ne marche pas si je lance linux sesion live sur une cle en mode efi, ça me met le même message d'erreur.

C'est avec la 180401 ?


Gaulois Matter !

Hors ligne

#20 Le 22/07/2019, à 18:46

geole

Re : Grub est installé mais e s'affiche pas.

Alfrat a écrit :

D'accord, mais je pense avoir eu ce meme probleme sur clé mais je vais réessayer, sinon c'est quoi la 180402 ?

Bonjour
Si tu as une clé USB et que tu acceptes de bidouiller    regarde cet échange https://forum.ubuntu-fr.org/viewtopic.p … #p22087204


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#21 Le 23/07/2019, à 11:13

Alfrat

Re : Grub est installé mais e s'affiche pas.

OK c'a a bien marché en version 180401 avec un DVD, Merci beaucoup !

Hors ligne