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 10/04/2019, à 08:37

gotcha5832

[Résolu] Vérifier / Réparer Grub

Bonjour à tous,

Lors d'une mise à jour automatique le système à mis à jour Grub, puis m'a dis que le disque du Grub n'était pas présent et me proposait de le réinstalle sur le disque de mon choix.
N'ayant qu'un case possible, je n'avais pas de choix.
La cochant celà échouait à chaque fois, et je n'avais d'autre choix que de continuer sans installer Grub.
Du coup j'ai l'immense crainte, qu'au prochain redemarrage, le système ne démarre pas.
Comment pourrais vérifier, réparer le Grub?

Merci

Dernière modification par gotcha5832 (Le 11/04/2019, à 12:21)

Hors ligne

#2 Le 10/04/2019, à 09:01

malbo

Re : [Résolu] Vérifier / Réparer Grub

Bonjour,
Pour qu'on en sache davantage, je te prie de faire un Boot-Info. Si tu peux faire ce Boot-Info depuis une session de ton Ubuntu installé, c'est préférable. Sinon, tu peux le faire depuis une session live de Ubuntu 16.04 ou Ubuntu 18.04. Tu donneras l'URL de ce Boot-Info dans ta réponse.

Hors ligne

#3 Le 10/04/2019, à 12:27

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

@malbo
Je t'en remercie

Et voici
Boot-info

Hors ligne

#4 Le 10/04/2019, à 13:19

malbo

Re : [Résolu] Vérifier / Réparer Grub

Bonjour,
Ton Boot-Info est là :

 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 (,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   929,740,799   929,738,752  83 Linux
/dev/sda2         929,742,846   937,701,375     7,958,530   5 Extended
/dev/sda5         929,742,848   937,701,375     7,958,528  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/mapper/veracrypt1 C84C-E8AC                              vfat       
/dev/mapper/veracrypt7 ef90359b-eda1-44ae-b448-bf4f08672795   ext4       
/dev/sda1        96dc168d-731f-4ab2-85fc-c9d433a061f5   ext4       
/dev/sda5        e5dc05f6-92c8-4cb4-b6b5-e63c7f61088e   swap       

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

total 0
lrwxrwxrwx 1 root root  9 Apr 10 12:26 ata-WDC_WD5000LPLX-00ZNTT0_WD-WXV1E364V8K5 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr  9 08:25 ata-WDC_WD5000LPLX-00ZNTT0_WD-WXV1E364V8K5-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr  9 08:25 ata-WDC_WD5000LPLX-00ZNTT0_WD-WXV1E364V8K5-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr  9 08:25 ata-WDC_WD5000LPLX-00ZNTT0_WD-WXV1E364V8K5-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Apr 10 12:26 dm-name-veracrypt1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Apr 10 12:26 dm-name-veracrypt7 -> ../../dm-0
lrwxrwxrwx 1 root root  9 Apr 10 12:25 usb-Generic-_Multi-Card_20071114173400000-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9 Apr 10 12:26 wwn-0x50014ee60731ea81 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr  9 08:25 wwn-0x50014ee60731ea81-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr  9 08:25 wwn-0x50014ee60731ea81-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr  9 08:25 wwn-0x50014ee60731ea81-part5 -> ../../sda5

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
veracrypt1
veracrypt7

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

Device           Mount_Point              Type       Options

/dev/mapper/veracrypt1 /home/gotcha/.filezilla  vfat       (rw,uid=1000,gid=1000,umask=077)
/dev/mapper/veracrypt7 /media/veracrypt7        ext4       (rw)
/dev/sda1        /                        ext4       (rw,errors=remount-ro)


=========================== sda1/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_msdos
insmod ext2
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  96dc168d-731f-4ab2-85fc-c9d433a061f5
else
  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
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=menu
    set timeout=2
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=2
  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
### 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-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	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  96dc168d-731f-4ab2-85fc-c9d433a061f5
	else
	  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
	fi
	linux	/boot/vmlinuz-4.4.0-144-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-144-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
	menuentry 'Ubuntu, avec Linux 4.4.0-144-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-144-generic-advanced-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  96dc168d-731f-4ab2-85fc-c9d433a061f5
		else
		  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
		fi
		echo	'Chargement de Linux 4.4.0-144-generic…'
		linux	/boot/vmlinuz-4.4.0-144-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-144-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-144-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-144-generic-recovery-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  96dc168d-731f-4ab2-85fc-c9d433a061f5
		else
		  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
		fi
		echo	'Chargement de Linux 4.4.0-144-generic…'
		linux	/boot/vmlinuz-4.4.0-144-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-144-generic
	}
	menuentry 'Ubuntu, avec Linux 4.4.0-143-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-143-generic-advanced-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  96dc168d-731f-4ab2-85fc-c9d433a061f5
		else
		  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
		fi
		echo	'Chargement de Linux 4.4.0-143-generic…'
		linux	/boot/vmlinuz-4.4.0-143-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-143-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-143-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-143-generic-recovery-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  96dc168d-731f-4ab2-85fc-c9d433a061f5
		else
		  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
		fi
		echo	'Chargement de Linux 4.4.0-143-generic…'
		linux	/boot/vmlinuz-4.4.0-143-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-143-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_msdos
	insmod ext2
	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  96dc168d-731f-4ab2-85fc-c9d433a061f5
	else
	  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	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  96dc168d-731f-4ab2-85fc-c9d433a061f5
	else
	  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
	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 ###
--------------------------------------------------------------------------------

=============================== sda1/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/sda1 during installation
UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=e5dc05f6-92c8-4cb4-b6b5-e63c7f61088e none            swap    sw              0       0
--------------------------------------------------------------------------------

====================== sda1/boot/extlinux/extlinux.conf: =======================

--------------------------------------------------------------------------------
## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update


default l0
prompt 1
timeout 50

include themes/debian/theme.cfg
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 315.504348755 = 338.770214912  boot/grub/grub.cfg                             1
 438.863044739 = 471.225606144  boot/vmlinuz-4.4.0-143-generic                 2
 165.872066498 = 178.103775232  boot/vmlinuz-4.4.0-144-generic                 2
 165.872066498 = 178.103775232  vmlinuz                                        2
 438.863044739 = 471.225606144  vmlinuz.old                                    2
 441.898925781 = 474.485358592  boot/initrd.img-4.4.0-143-generic              2
 184.929805756 = 198.566866944  boot/initrd.img-4.4.0-144-generic              4
 184.929805756 = 198.566866944  initrd.img                                     4
 441.898925781 = 474.485358592  initrd.img.old                                 2

================= sda1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

 288.130702972 = 309.377986560  boot/extlinux/extlinux.conf                    1
 179.168148041 = 192.380334080  boot/extlinux/chain.c32                        1

============== sda1: Version of COM32(R) files used by Syslinux: ===============

 boot/extlinux/chain.c32            :  COM32R module (v4.xx)

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

Unknown BootLoader on sda2

00000000  07 7c 74 19 a0 41 8c be  15 b2 4a 21 0a aa d8 66  |.|t..A....J!...f|
00000010  c7 6f 71 fe 34 a7 68 24  95 93 3b 42 a7 cf 80 0e  |.oq.4.h$..;B....|
00000020  7a 9f 5f ff 00 55 00 00  a9 62 cb bb 73 0c 31 7e  |z._..U...b..s.1~|
00000030  79 f5 fa 53 cb e1 71 9d  d9 1d 47 40 68 01 c0 36  |y..S..q...G@h..6|
00000040  e2 a2 44 53 c1 0a d9 f9  bd 87 bd 31 8e 72 33 80  |..DS.......1.r3.|
00000050  00 66 c1 39 1f fe ba 05  ad f6 24 c2 b1 56 09 2e  |.f.9......$..V..|
00000060  dd 85 59 81 dc 41 ed e9  c5 0c 78 50 31 80 09 c6  |..Y..A....xP1...|
00000070  d0 0e 7e bd e8 18 a0 67  a1 cb 76 03 93 41 25 93  |..~....g..v..A%.|
00000080  60 2a c1 41 39 5c 82 3f  91 f4 a0 05 c0 45 8d 42  |`*.A9\.?.....E.B|
00000090  15 2a a0 95 27 24 9f 5e  69 4b 20 76 38 90 a9 1d  |.*..'$.^iK v8...|
000000a0  f0 09 fc 39 c5 00 34 47  b8 48 c8 19 89 03 0d b8  |...9..4G.H......|
000000b0  90 0f 3d a8 3b 15 be 50  65 c2 03 f2 37 20 f7 1c  |..=.;..Pe...7 ..|
000000c0  ff 00 9e 94 00 b9 ce 4f  7d bb 7a f3 4f 77 dc c5  |.......O}.z.Ow..|
000000d0  8a 80 42 00 02 e0 03 c6  3a 7a f7 e6 80 10 1c 1c  |..B.....:z......|
000000e0  01 82 31 82 df 74 1f 7f  51 40 6c b6 e5 2a 5b 27  |..1..t..Q@l..*['|
000000f0  73 29 3b 49 fa 7e 74 07  98 31 6d ca 48 0c c3 a1  |s);I.~t..1m.H...|
00000100  da 31 4e 52 15 94 12 14  83 92 18 12 40 f5 3e a2  |.1NR........@.>.|
00000110  80 11 9a 2c 85 07 95 3b  f2 70 18 7b 7d 3f cf 6a  |...,...;.p.{}?.j|
00000120  92 56 56 de 0b 85 99 d4  13 18 42 a4 af ae 71 81  |.VV.......B...q.|
00000130  f5 a0 04 24 b1 21 96 44  00 1c 2b e0 f1 ff 00 d7  |...$.!.D..+.....|
00000140  a4 c1 1c a2 3a 05 c2 fc  e7 3c d0 04 9b 15 58 48  |....:....<....XH|
00000150  e1 d8 91 b0 32 39 0a 7f  3e e3 34 d2 24 24 1c 23  |....29..>.4.$$.#|
00000160  2b 02 17 6e 01 07 b7 4e  f4 00 d0 5c 0c 15 c6 78  |+..n...N...\...x|
00000170  24 81 c0 a7 31 6d b9 12  28 0a 40 db 83 9e 9f 96  |$...1m..(.@.....|
00000180  28 01 c3 6f 05 1b ef a1  39 1d fd 47 ff 00 ae 9e  |(..o....9..G....|
00000190  e6 32 e0 41 13 aa 6c 50  62 2e 19 8b 7f 11 c8 03  |.2.A..lPb.......|
000001a0  82 7a 0e de f8 a0 04 56  61 81 1a f2 ff 00 20 de  |.z.....Va..... .|
000001b0  a1 b2 7f cf a5 34 f7 62  1c b2 0f 90 46 71 00 cf  |.....4.b....Fq..|
000001c0  bf 11 82 35 34 01 02 00  00 00 00 70 79 00 00 00  |...54......py...|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


========= Devices which don't seem to have a corresponding hard drive: =========

sdb 


ADDITIONAL INFORMATION :
=================== log of boot-info 20190410_1225 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4

(zenity:10169): Gtk-WARNING **: Theme parsing error: gtk.css:64:18: Not using units is deprecated. Assuming 'px'.

(zenity:10169): Gtk-WARNING **: Theme parsing error: gtk.css:64:20: Not using units is deprecated. Assuming 'px'.
Y a-t-il un RAID sur cet ordinateur ? no
Disk /dev/mapper/veracrypt7 doesn't contain a valid partition table
boot-info is executed in installed-session (Ubuntu 14.04.6 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.4.0-144-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro quiet splash vt.handoff=7
Set sda as corresponding disk of mapper/veracrypt7
Set sda as corresponding disk of mapper/veracrypt1
Set sda as corresponding disk of mapper/veracrypt7
Set sda as corresponding disk of mapper/veracrypt1

=================== os-prober:
/dev/sda1:L'OS actuellement utilisé - Ubuntu 14.04.6 LTS CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="96dc168d-731f-4ab2-85fc-c9d433a061f5" TYPE="ext4"
/dev/sda5: UUID="e5dc05f6-92c8-4cb4-b6b5-e63c7f61088e" TYPE="swap"
/dev/mapper/veracrypt7: UUID="ef90359b-eda1-44ae-b448-bf4f08672795" TYPE="ext4"
/dev/mapper/veracrypt1: UUID="C84C-E8AC" TYPE="vfat"


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

Avertissement : la partition étendue ne commence pas sur une frontière de
cylindres. DOS et Linux interpréteront les contenus différemment.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root      4096 avril 10 08:07 grub.d
total 76
-rwxr-xr-x 1 root root  9791 déc.  17  2015 00_header
-rwxr-xr-x 1 root root  6058 mai   13  2015 05_debian_theme
-rwxr-xr-x 1 root root 11608 juin  26  2015 10_linux
-rwxr-xr-x 1 root root 10412 juin  26  2015 20_linux_xen
-rwxr-xr-x 1 root root  1992 mars  12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 juin  26  2015 30_os-prober
-rwxr-xr-x 1 root root  1418 août   2  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juin  26  2015 40_custom
-rwxr-xr-x 1 root root   216 juin  26  2015 41_custom
-rw-r--r-- 1 root root   483 juin  26  2015 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_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=2
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"




=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda1	: 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, .
mapper/veracrypt7	: sda,	maybesepboot,	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,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /media/veracrypt7.
mapper/veracrypt1	: 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,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /home/gotcha/.filezilla.

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


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

BYT;
/dev/sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000LPLX-0;
1:1049kB:476GB:476GB:ext4::boot;
2:476GB:480GB:4075MB:::;
5:476GB:480GB:4075MB:linux-swap(v1)::;

BYT;
/dev/mapper/veracrypt1:262MB:dm:512:512:loop:Linux device-mapper (crypt);
1:0.00B:262MB:262MB:fat32::;

BYT;
/dev/mapper/veracrypt7:268MB:dm:512:512:loop:Linux device-mapper (crypt);
1:0.00B:268MB:268MB:ext4::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        465,8G
sda1  part ext4   443,3G
sda2  part            1K
sda5  part swap     3,8G
loop0 loop          256M
dm-0  dm   ext4   255,8M
loop1 loop          250M
dm-1  dm   vfat   249,8M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /
sda2     1  0  0
sda5     1  0  0         [SWAP]
loop0    1  0  0
dm-0     1  0  0 running /media/veracrypt7
loop1    1  0  0
dm-1     1  0  0 running /home/gotcha/.filezilla


=================== mount:
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=gotcha)
veracrypt on /tmp/.veracrypt_aux_mnt1 type fuse.veracrypt (rw,nosuid,nodev,allow_other)
/dev/mapper/veracrypt7 on /media/veracrypt7 type ext4 (rw)
veracrypt on /tmp/.veracrypt_aux_mnt2 type fuse.veracrypt (rw,nosuid,nodev,allow_other)
/dev/mapper/veracrypt1 on /home/gotcha/.filezilla type vfat (rw,uid=1000,gid=1000,umask=077)


=================== ls:
/sys/block/dm-0 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-1 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/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 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dri drm_dp_aux0 ecryptfs fb0 fd freefall full fuse hidraw0 hidraw1 hidraw2 hpet hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 input kmsg kvm lightnvm log mapper mcelog mei0 mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sdb sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom usb userio vboxdrv vboxdrvu vboxnetctl vboxusb vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper:  control veracrypt1 veracrypt7

=================== hexdump -n512 -C /dev/mapper/veracrypt1
00000000  eb 3c 90 4d 53 44 4f 53  35 2e 30 00 02 02 24 00  |.<.MSDOS5.0...$.|
00000010  02 00 00 00 00 f8 00 00  01 00 01 00 00 00 00 00  |................|
00000020  00 ce 07 00 ce 07 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  00 01 29 ac e8 4c c8 4e  4f 20 4e 41 4d 45 20 20  |..)..L.NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 00 00 00 00 00 00  |  FAT32   ......|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200
Disk /dev/mapper/veracrypt7 doesn't contain a valid partition table

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

Filesystem             Type      Size  Used Avail Use% Mounted on
udev                   devtmpfs  3.8G   12K  3.8G   1% /dev
tmpfs                  tmpfs     778M  1.5M  777M   1% /run
/dev/sda1              ext4      437G  347G   68G  84% /
none                   tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
none                   tmpfs     5.0M     0  5.0M   0% /run/lock
none                   tmpfs     3.8G  316M  3.5G   9% /run/shm
none                   tmpfs     100M  108K  100M   1% /run/user
/dev/mapper/veracrypt7 ext4      244M  129M   99M  57% /media/veracrypt7
/dev/mapper/veracrypt1 vfat      248M  140K  248M   1% /home/gotcha/.filezilla

=================== fdisk -l:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000ed98c

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   929740799   464869376   83  Linux
/dev/sda2       929742846   937701375     3979265    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5       929742848   937701375     3979264   82  Linux swap / Solaris

Disk /dev/mapper/veracrypt7: 268 MB, 268173312 bytes
255 heads, 63 sectors/track, 32 cylinders, total 523776 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 identifier: 0x00000000


Disk /dev/mapper/veracrypt1: 261 MB, 261881856 bytes
255 heads, 63 sectors/track, 31 cylinders, total 511488 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 identifier: 0x00000000

Device Boot      Start         End      Blocks   Id  System




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s


=================== Advice in case of suggested repair
Vous souhaiterez peut-être ré-essayer après avoir déchiffré vos partitions. (http://doc.ubuntu-fr.org/ecryptfs)
Voulez-vous continuer ?


=================== Final advice in case of suggested repair


Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 14.04.6 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)


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

On y voit la mention "veracrypt" et je constate que c'est un logiciel de chiffrement dans cette doc : https://doc.ubuntu-fr.org/veracrypt
Est-ce que tu utilises actuellement le chiffrement pour ton installation de Ubuntu ?

Hors ligne

#5 Le 10/04/2019, à 13:31

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

Effectivement j'ai un petit contener chiffré via veracrypt, mais toute l'installation n'est pas crypt
Je l'ai relancé sans:
http://paste.ubuntu.com/p/zvTShndtNy/

Hors ligne

#6 Le 10/04/2019, à 13:46

malbo

Re : [Résolu] Vérifier / Réparer Grub

Ton dernier Boot-Info est là :

 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 (,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   929,740,799   929,738,752  83 Linux
/dev/sda2         929,742,846   937,701,375     7,958,530   5 Extended
/dev/sda5         929,742,848   937,701,375     7,958,528  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        96dc168d-731f-4ab2-85fc-c9d433a061f5   ext4       
/dev/sda5        e5dc05f6-92c8-4cb4-b6b5-e63c7f61088e   swap       

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

total 0
lrwxrwxrwx 1 root root  9 Apr 10 13:29 ata-WDC_WD5000LPLX-00ZNTT0_WD-WXV1E364V8K5 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr  9 08:25 ata-WDC_WD5000LPLX-00ZNTT0_WD-WXV1E364V8K5-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr  9 08:25 ata-WDC_WD5000LPLX-00ZNTT0_WD-WXV1E364V8K5-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr  9 08:25 ata-WDC_WD5000LPLX-00ZNTT0_WD-WXV1E364V8K5-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Apr 10 13:28 usb-Generic-_Multi-Card_20071114173400000-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9 Apr 10 13:29 wwn-0x50014ee60731ea81 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr  9 08:25 wwn-0x50014ee60731ea81-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr  9 08:25 wwn-0x50014ee60731ea81-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr  9 08:25 wwn-0x50014ee60731ea81-part5 -> ../../sda5

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

Device           Mount_Point              Type       Options

/dev/sda1        /                        ext4       (rw,errors=remount-ro)


=========================== sda1/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_msdos
insmod ext2
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  96dc168d-731f-4ab2-85fc-c9d433a061f5
else
  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
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=menu
    set timeout=2
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=2
  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
### 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-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	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  96dc168d-731f-4ab2-85fc-c9d433a061f5
	else
	  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
	fi
	linux	/boot/vmlinuz-4.4.0-144-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-144-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
	menuentry 'Ubuntu, avec Linux 4.4.0-144-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-144-generic-advanced-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  96dc168d-731f-4ab2-85fc-c9d433a061f5
		else
		  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
		fi
		echo	'Chargement de Linux 4.4.0-144-generic…'
		linux	/boot/vmlinuz-4.4.0-144-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-144-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-144-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-144-generic-recovery-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  96dc168d-731f-4ab2-85fc-c9d433a061f5
		else
		  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
		fi
		echo	'Chargement de Linux 4.4.0-144-generic…'
		linux	/boot/vmlinuz-4.4.0-144-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-144-generic
	}
	menuentry 'Ubuntu, avec Linux 4.4.0-143-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-143-generic-advanced-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  96dc168d-731f-4ab2-85fc-c9d433a061f5
		else
		  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
		fi
		echo	'Chargement de Linux 4.4.0-143-generic…'
		linux	/boot/vmlinuz-4.4.0-143-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-143-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-143-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-143-generic-recovery-96dc168d-731f-4ab2-85fc-c9d433a061f5' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		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  96dc168d-731f-4ab2-85fc-c9d433a061f5
		else
		  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
		fi
		echo	'Chargement de Linux 4.4.0-143-generic…'
		linux	/boot/vmlinuz-4.4.0-143-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-143-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_msdos
	insmod ext2
	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  96dc168d-731f-4ab2-85fc-c9d433a061f5
	else
	  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	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  96dc168d-731f-4ab2-85fc-c9d433a061f5
	else
	  search --no-floppy --fs-uuid --set=root 96dc168d-731f-4ab2-85fc-c9d433a061f5
	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 ###
--------------------------------------------------------------------------------

=============================== sda1/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/sda1 during installation
UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=e5dc05f6-92c8-4cb4-b6b5-e63c7f61088e none            swap    sw              0       0
--------------------------------------------------------------------------------

====================== sda1/boot/extlinux/extlinux.conf: =======================

--------------------------------------------------------------------------------
## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update


default l0
prompt 1
timeout 50

include themes/debian/theme.cfg
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 315.504348755 = 338.770214912  boot/grub/grub.cfg                             1
 438.863044739 = 471.225606144  boot/vmlinuz-4.4.0-143-generic                 2
 165.872066498 = 178.103775232  boot/vmlinuz-4.4.0-144-generic                 2
 165.872066498 = 178.103775232  vmlinuz                                        2
 438.863044739 = 471.225606144  vmlinuz.old                                    2
 441.898925781 = 474.485358592  boot/initrd.img-4.4.0-143-generic              2
 184.929805756 = 198.566866944  boot/initrd.img-4.4.0-144-generic              4
 184.929805756 = 198.566866944  initrd.img                                     4
 441.898925781 = 474.485358592  initrd.img.old                                 2

================= sda1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

 288.130702972 = 309.377986560  boot/extlinux/extlinux.conf                    1
 179.168148041 = 192.380334080  boot/extlinux/chain.c32                        1

============== sda1: Version of COM32(R) files used by Syslinux: ===============

 boot/extlinux/chain.c32            :  COM32R module (v4.xx)

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

Unknown BootLoader on sda2

00000000  07 7c 74 19 a0 41 8c be  15 b2 4a 21 0a aa d8 66  |.|t..A....J!...f|
00000010  c7 6f 71 fe 34 a7 68 24  95 93 3b 42 a7 cf 80 0e  |.oq.4.h$..;B....|
00000020  7a 9f 5f ff 00 55 00 00  a9 62 cb bb 73 0c 31 7e  |z._..U...b..s.1~|
00000030  79 f5 fa 53 cb e1 71 9d  d9 1d 47 40 68 01 c0 36  |y..S..q...G@h..6|
00000040  e2 a2 44 53 c1 0a d9 f9  bd 87 bd 31 8e 72 33 80  |..DS.......1.r3.|
00000050  00 66 c1 39 1f fe ba 05  ad f6 24 c2 b1 56 09 2e  |.f.9......$..V..|
00000060  dd 85 59 81 dc 41 ed e9  c5 0c 78 50 31 80 09 c6  |..Y..A....xP1...|
00000070  d0 0e 7e bd e8 18 a0 67  a1 cb 76 03 93 41 25 93  |..~....g..v..A%.|
00000080  60 2a c1 41 39 5c 82 3f  91 f4 a0 05 c0 45 8d 42  |`*.A9\.?.....E.B|
00000090  15 2a a0 95 27 24 9f 5e  69 4b 20 76 38 90 a9 1d  |.*..'$.^iK v8...|
000000a0  f0 09 fc 39 c5 00 34 47  b8 48 c8 19 89 03 0d b8  |...9..4G.H......|
000000b0  90 0f 3d a8 3b 15 be 50  65 c2 03 f2 37 20 f7 1c  |..=.;..Pe...7 ..|
000000c0  ff 00 9e 94 00 b9 ce 4f  7d bb 7a f3 4f 77 dc c5  |.......O}.z.Ow..|
000000d0  8a 80 42 00 02 e0 03 c6  3a 7a f7 e6 80 10 1c 1c  |..B.....:z......|
000000e0  01 82 31 82 df 74 1f 7f  51 40 6c b6 e5 2a 5b 27  |..1..t..Q@l..*['|
000000f0  73 29 3b 49 fa 7e 74 07  98 31 6d ca 48 0c c3 a1  |s);I.~t..1m.H...|
00000100  da 31 4e 52 15 94 12 14  83 92 18 12 40 f5 3e a2  |.1NR........@.>.|
00000110  80 11 9a 2c 85 07 95 3b  f2 70 18 7b 7d 3f cf 6a  |...,...;.p.{}?.j|
00000120  92 56 56 de 0b 85 99 d4  13 18 42 a4 af ae 71 81  |.VV.......B...q.|
00000130  f5 a0 04 24 b1 21 96 44  00 1c 2b e0 f1 ff 00 d7  |...$.!.D..+.....|
00000140  a4 c1 1c a2 3a 05 c2 fc  e7 3c d0 04 9b 15 58 48  |....:....<....XH|
00000150  e1 d8 91 b0 32 39 0a 7f  3e e3 34 d2 24 24 1c 23  |....29..>.4.$$.#|
00000160  2b 02 17 6e 01 07 b7 4e  f4 00 d0 5c 0c 15 c6 78  |+..n...N...\...x|
00000170  24 81 c0 a7 31 6d b9 12  28 0a 40 db 83 9e 9f 96  |$...1m..(.@.....|
00000180  28 01 c3 6f 05 1b ef a1  39 1d fd 47 ff 00 ae 9e  |(..o....9..G....|
00000190  e6 32 e0 41 13 aa 6c 50  62 2e 19 8b 7f 11 c8 03  |.2.A..lPb.......|
000001a0  82 7a 0e de f8 a0 04 56  61 81 1a f2 ff 00 20 de  |.z.....Va..... .|
000001b0  a1 b2 7f cf a5 34 f7 62  1c b2 0f 90 46 71 00 cf  |.....4.b....Fq..|
000001c0  bf 11 82 35 34 01 02 00  00 00 00 70 79 00 00 00  |...54......py...|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


========= Devices which don't seem to have a corresponding hard drive: =========

sdb 


ADDITIONAL INFORMATION :
=================== log of boot-info 20190410_1329 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 14.04.6 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.4.0-144-generic root=UUID=96dc168d-731f-4ab2-85fc-c9d433a061f5 ro quiet splash vt.handoff=7

=================== os-prober:
/dev/sda1:L'OS actuellement utilisé - Ubuntu 14.04.6 LTS CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="96dc168d-731f-4ab2-85fc-c9d433a061f5" TYPE="ext4"
/dev/sda5: UUID="e5dc05f6-92c8-4cb4-b6b5-e63c7f61088e" TYPE="swap"


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

Avertissement : la partition étendue ne commence pas sur une frontière de
cylindres. DOS et Linux interpréteront les contenus différemment.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root      4096 avril 10 08:07 grub.d
total 76
-rwxr-xr-x 1 root root  9791 déc.  17  2015 00_header
-rwxr-xr-x 1 root root  6058 mai   13  2015 05_debian_theme
-rwxr-xr-x 1 root root 11608 juin  26  2015 10_linux
-rwxr-xr-x 1 root root 10412 juin  26  2015 20_linux_xen
-rwxr-xr-x 1 root root  1992 mars  12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 juin  26  2015 30_os-prober
-rwxr-xr-x 1 root root  1418 août   2  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juin  26  2015 40_custom
-rwxr-xr-x 1 root root   216 juin  26  2015 41_custom
-rw-r--r-- 1 root root   483 juin  26  2015 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_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=2
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"




=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda1	: 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, .

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


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

BYT;
/dev/sda:500GB:scsi:512:4096:msdos:ATA WDC WD5000LPLX-0;
1:1049kB:476GB:476GB:ext4::boot;
2:476GB:480GB:4075MB:::;
5:476GB:480GB:4075MB:linux-swap(v1)::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        465,8G
sda1  part ext4   443,3G
sda2  part            1K
sda5  part swap     3,8G

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /
sda2     1  0  0
sda5     1  0  0         [SWAP]


=================== mount:
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=gotcha)


=================== ls:
/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 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 ecryptfs fb0 fd freefall full fuse hidraw0 hidraw1 hidraw2 hpet hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 input kmsg kvm lightnvm log mapper mcelog mei0 mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sdb sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom usb userio vboxdrv vboxdrvu vboxnetctl vboxusb vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper:  control

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.8G   12K  3.8G   1% /dev
tmpfs          tmpfs     778M  1.5M  777M   1% /run
/dev/sda1      ext4      437G  347G   68G  84% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     3.8G  244M  3.6G   7% /run/shm
none           tmpfs     100M  108K  100M   1% /run/user

=================== fdisk -l:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000ed98c

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   929740799   464869376   83  Linux
/dev/sda2       929742846   937701375     3979265    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5       929742848   937701375     3979264   82  Linux swap / Solaris




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s


=================== Final advice in case of suggested repair


Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 14.04.6 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)


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

Si j'avais regardé plus attentivement le Boot-Info que j'ai collé dans le post #4, j'aurais vu dans la partie "Mount points" les preuves que tu utilisais bien veracrypt.
A présent que ce point est éclairci, je te prie de passer la commande suivante depuis une session de ton Ubuntu :

sudo debconf-show grub-pc

Tu donneras le retour utilisable de cette commande dans ta réponse.

Hors ligne

#7 Le 10/04/2019, à 15:07

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

Le voici

gotcha@prbook:/boot/grub$ sudo debconf-show grub-pc
[sudo] password for gotcha: 
  grub2/linux_cmdline_default: quiet splash
  grub-pc/mixed_legacy_and_grub2: true
  grub2/update_nvram: true
* grub-pc/install_devices:
  grub-pc/partition_description:
  grub2/device_map_regenerated:
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline:
  grub2/linux_cmdline:
* grub-pc/install_devices_disks_changed:
* grub-pc/install_devices_empty: true
  grub-pc/hidden_timeout: false
  grub-pc/chainload_from_menu.lst: true
  grub2/kfreebsd_cmdline_default: quiet splash
  grub-pc/install_devices_failed: false
  grub-pc/kopt_extracted: false
  grub-pc/timeout: 2
  grub-pc/disk_description:
  grub-pc/install_devices_failed_upgrade: true

Hors ligne

#8 Le 10/04/2019, à 15:12

malbo

Re : [Résolu] Vérifier / Réparer Grub

Effectivement, il n'y a rien d'enregistré. Je te suggère de t'appuyer sur ce tuto pour réparer cette anomalie : https://forum.ubuntu-fr.org/viewtopic.php?id=440159
Tu vas commencer le tuto à l'étape "2) MISE A JOUR DE GRUB-PC"

Hors ligne

#9 Le 10/04/2019, à 16:11

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

Merci pour ton aide,

J'ai bien tenté de réparer le grub à partir de l'étape 2)
J'ai bien eu l'étape 1 et 2, puis la fenetre s'est fermé

gotcha@prbook:/boot/grub$ sudo dpkg-reconfigure grub-pc
[sudo] password for gotcha: 
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-4.4.0-144-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-144-generic
Image Linux trouvée : /boot/vmlinuz-4.4.0-143-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-143-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
fait
gotcha@prbook:/boot/grub$ sudo debconf-show grub-pc
  grub2/update_nvram: true
* grub-pc/install_devices_empty: true
* grub-pc/install_devices:
  grub-pc/disk_description:
  grub-pc/kopt_extracted: false
  grub2/device_map_regenerated:
  grub-pc/install_devices_failed: false
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/partition_description:
  grub-pc/timeout: 2
* grub2/linux_cmdline_default: quiet splash
  grub-pc/mixed_legacy_and_grub2: true
  grub2/kfreebsd_cmdline_default: quiet splash
* grub-pc/install_devices_disks_changed:
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/hidden_timeout: false
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
  grub-pc/chainload_from_menu.lst: true

Si je décrypte bien le debconf-show le problème est toujours là!?

Hors ligne

#10 Le 10/04/2019, à 16:35

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

Pour info, je suis en single boot, mono disk

Hors ligne

#11 Le 10/04/2019, à 17:07

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

Je suis passé par grub-install

gotcha@prbook:/boot/grub$ sudo os-prober
gotcha@prbook:/boot/grub$ sudo update-grub
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-4.4.0-144-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-144-generic
Image Linux trouvée : /boot/vmlinuz-4.4.0-143-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.4.0-143-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
fait
gotcha@prbook:/boot/grub$ sudo grub-install /dev/sda
Installation pour la plate-forme i386-pc
Installation terminée, sans erreur.
gotcha@prbook:/boot/grub$ sudo debconf-show grub-pc
* grub-pc/install_devices:
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/kopt_extracted: false
  grub2/device_map_regenerated:
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/disk_description:
  grub2/update_nvram: true
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/chainload_from_menu.lst: true
  grub-pc/timeout: 2
* grub-pc/install_devices_empty: true
* grub2/linux_cmdline_default: quiet splash
* grub-pc/install_devices_disks_changed:
  grub-pc/hidden_timeout: false
  grub-pc/partition_description:
  grub2/kfreebsd_cmdline_default: quiet splash
  grub-pc/install_devices_failed: false
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:

Mais la ligne * grub-pc/install_devices: reste définitivement vide sad

Dernière modification par gotcha5832 (Le 10/04/2019, à 17:15)

Hors ligne

#12 Le 10/04/2019, à 18:51

malbo

Re : [Résolu] Vérifier / Réparer Grub

J'ai comparé par rapport à mon Ubuntu 14.04 et chez moi, j'ai :

grub-pc/install_devices_empty: false

(mais moi j'ai une ligne "grub-pc/install_devices:" qui n'est pas vide)
Alors que chez toi, c'est :

grub-pc/install_devices_empty: true

Les autres lignes sont les mêmes que les tiennes.
Je ne sais pas trop quoi te conseiller là. Il faudrait sans doute purger Grub et le réinstaller.

Dernière modification par malbo (Le 10/04/2019, à 18:54)

Hors ligne

#13 Le 10/04/2019, à 19:13

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

Je te remercie et je t'avoue que je suis un peu inquiet du prochain redemarrage.

Ce qui me suprend c'est que os-prober ne me remonte rien
D'un autre coté grub.cfg semble bien avoir les entrés

pour la purge tu parle de :

apt-get install --reinstall grub-pc grub-common

Hors ligne

#14 Le 10/04/2019, à 19:52

malbo

Re : [Résolu] Vérifier / Réparer Grub

Je ne suis pas certain que cette commande unique soit suffisante. Moi j'aurais purgé avec la commande :

sudo apt-get purge grub-pc grub-common

Puis réinstallé Grub avec :

sudo apt-get install grub-pc

Hors ligne

#15 Le 10/04/2019, à 20:13

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

Je pense que c'est bon

/$ sudo debconf-show grub-pc
  grub-pc/hidden_timeout: true
  grub2/device_map_regenerated:
  grub2/linux_cmdline_default: quiet splash
  grub-pc/install_devices_empty: false
  grub-pc/partition_description:
  grub2/linux_cmdline:
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/kopt_extracted: false
  grub-pc/timeout: 10
  grub-pc/chainload_from_menu.lst: true
  grub-pc/install_devices_disks_changed:
  grub-pc/install_devices_failed_upgrade: true
* grub-pc/install_devices: /dev/disk/by-id/ata-WDC_WD5000LPLX-00ZNTT0_WD-WXV1E364V8K5
  grub-pc/disk_description:
  grub2/update_nvram: true
  grub-pc/install_devices_failed: false
  grub2/kfreebsd_cmdline_default: quiet splash
  grub2/kfreebsd_cmdline:

Hors ligne

#16 Le 10/04/2019, à 20:39

malbo

Re : [Résolu] Vérifier / Réparer Grub

Bravo. C'est bien réparé.
Je te prie de passer la discussion en statut "résolu" en procédant comme suit :
1) te connecter sur le forum
2) cliquer sur "Modifier" en bas à droite de ton PREMIER post
3) modifier le titre de la discussion pour qu'il devienne :

[Résolu] Vérifier / Réparer Grub

Hors ligne

#17 Le 10/04/2019, à 20:51

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

J'y manquerais pas dès que j'aurai redemarré

Hors ligne

#18 Le 11/04/2019, à 13:45

gotcha5832

Re : [Résolu] Vérifier / Réparer Grub

@malbo merci pour ton aide

Hors ligne