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 29/11/2017, à 11:25

jeanv09

[RÉSOLU]D'une session bloquée (mdp non reconnu) à un problème de Grub2

Bonjour,

J'ai un problème sur l'un des pc de notre entreprise. Nous travaillons avec ubuntu 16.04 LTS, pc 64bits

Au départ le bug consiste à ce que nous n'arrivons plus à nous connecter à notre session d'utilisateur, il nous renvoie mot de passe invalide (l'interface graphique utilisée est gnome classic, nous avons sur cet ordi une seule session, un seul utilisateur qui est l'administrateur).

J'ai trouvé quelques pistes sur le forum d'ubuntu mais qui dataient un peu, par exemple : supprimer les fichier .Xauthority dans le home en me connectant via le terminal (ctrl+F1 à partir de la page de connexion à la session), mais je n'ai pas trouvé de tels fichiers (cachés) et après avoir quand même exécuté la commande de suppression de ces fichiers, rien ne change après un reboot.

J'ai ensuite tenté de réinstaller ubuntu à partir d'une live-usb et en suivant une procédure qui permet de conserver le home, le nom d'utilisateur et mot de passe (donc conserver nos documents et nos configurations, mais pas les logiciel installés). Mais lors de l'installation, ça plante au moment de l'installation de grub2, ça me renvoie les fenêtres :

"le paquet grub-efi-amd64-signed n'a pas pu être installé dans /target/"
puis "l'installateur a planté..."

Alors obligé d'éteindre l'ordi manuellement car pas de réponse des boutons.

Ensuite, j'ai réussi à ouvrir une session (j'avais choisi une ouverture sans demander de mot de passe) en redémarrant l'ordinateur. Je retrouve tout mon home précédent sous la forme d'un disque (je sauvegarde tout sur un disque externe). Je commence à installer les logiciels dont on a besoin mais aucun n'arrivent au bout de l'installation (j'ai fait ça via la logithèque).

Pause et le lendemain, au démarrage de l'ordi, c'est le grub qui bug, (logique puisque pas installé ... mais je me demande comment la veille j'avais pu accéder à une session, étais-je encore sur la clé ? pourtant il me semble que je l'avais enlevé et était bien sur le disque du pc...). Donc, sur l'écran, j'ai :

error:file '/boot/grub/i386-pc/normal.mod' not found
entering recue mode

Comme j'ai mes données je tente de réinstaller totalement ubuntu en écrasant l'ancien mais ça plante toujours au moment du grub2.

Je continue alors les recherches sur internet + forum, et je tente donc le boot-repair via ma live-usb.
Mais avec le bouton de réparation de base la réparation n'aboutit pas. Je demande donc un boot-info que je reçoit sur paste.ubuntu.com/26065695
Et là je ne sais pas quoi faire de cela, c'est pourquoi je sollicite de l'aide.

Je me demande si c'est pas ma live-usb qui a un problème, je vais tenter de la refaire.

Merci d'avance pour vos retours

Jean

Dernière modification par jeanv09 (Le 02/12/2017, à 18:27)

Hors ligne

#2 Le 29/11/2017, à 19:41

malbo

Re : [RÉSOLU]D'une session bloquée (mdp non reconnu) à un problème de Grub2

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 (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => No known boot loader is installed in the MBR of /dev/sdf.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sdf1: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /dev/sdf1 is already mounted or /mnt/BootInfo/sdf1 busy

sdf2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  According to the info in the boot sector, sdf2 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdf2 starts at sector 3006684. According to the info 
                       in the boot sector, sdf2 has 0 sectors.
    Mounting failed:   mount: /dev/sdf1 is already mounted or /mnt/BootInfo/sdf1 busy
mount: /dev/sdf2 is already mounted or /mnt/BootInfo/sdf2 busy

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048     7,813,119     7,811,072  82 Linux swap / Solaris
/dev/sda2           7,815,166   976,771,071   968,955,906   5 Extended
/dev/sda5         105,472,000   976,771,071   871,299,072  83 Linux
/dev/sda6           7,815,168   105,471,999    97,656,832  83 Linux


Drive: sdf _____________________________________________________________________
Disk /dev/sdf: 3.7 GiB, 4006608896 bytes, 7825408 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdf1    *              0     3,100,799     3,100,800   0 Empty
/dev/sdf2           3,006,684     3,011,355         4,672  ef EFI (FAT-12/16/32)

/dev/sdf1 overlaps with /dev/sdf2

GUID Partition Table detected, but does not seem to be used.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdf1   +  R              0     3,100,743     3,100,744 Data partition (Windows/Linux)
/dev/sdf2   +  R      3,006,684     3,011,355         4,672 Data partition (Windows/Linux)

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

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        5169f9c4-75e9-427c-963d-af5558a935a7   swap       
/dev/sda5        c6619f0f-30a8-4c20-a728-17af7cefa119   ext4       
/dev/sda6        4306a38d-f8a4-40cb-81ed-a1d4959effcc   ext4       
/dev/sdf1        2017-08-01-11-51-33-00                 iso9660    Ubuntu 16.04.3 LTS amd64
/dev/sdf2        398E-230F                              vfat       

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

total 0
lrwxrwxrwx 1 root root  9 Nov 28 16:53 ata-TSSTcorp_CDDVDW_SH-224BB_R8WS68BCB00Z87 -> ../../sr0
lrwxrwxrwx 1 root root  9 Nov 28 16:58 ata-WDC_WD5000AAKX-08ERMA0_WD-WCC2EH497358 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 28 16:58 ata-WDC_WD5000AAKX-08ERMA0_WD-WCC2EH497358-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 28 16:58 ata-WDC_WD5000AAKX-08ERMA0_WD-WCC2EH497358-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 28 16:58 ata-WDC_WD5000AAKX-08ERMA0_WD-WCC2EH497358-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 28 16:58 ata-WDC_WD5000AAKX-08ERMA0_WD-WCC2EH497358-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 Nov 28 16:53 usb-Generic-_Compact_Flash_058F63646476-0:1 -> ../../sdc
lrwxrwxrwx 1 root root  9 Nov 28 16:53 usb-Generic-_MS_MS-Pro_058F63646476-0:3 -> ../../sde
lrwxrwxrwx 1 root root  9 Nov 28 16:53 usb-Generic-_SD_MMC_058F63646476-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9 Nov 28 16:53 usb-Generic-_SM_xD-Picture_058F63646476-0:2 -> ../../sdd
lrwxrwxrwx 1 root root  9 Nov 28 16:58 usb-Kingston_DataTraveler_G2_001CC0EC348CA9C097DD01D8-0:0 -> ../../sdf
lrwxrwxrwx 1 root root 10 Nov 28 16:58 usb-Kingston_DataTraveler_G2_001CC0EC348CA9C097DD01D8-0:0-part1 -> ../../sdf1
lrwxrwxrwx 1 root root 10 Nov 28 16:58 usb-Kingston_DataTraveler_G2_001CC0EC348CA9C097DD01D8-0:0-part2 -> ../../sdf2
lrwxrwxrwx 1 root root  9 Nov 28 16:58 wwn-0x50014ee25cd0cd8b -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 28 16:58 wwn-0x50014ee25cd0cd8b-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 28 16:58 wwn-0x50014ee25cd0cd8b-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 28 16:58 wwn-0x50014ee25cd0cd8b-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 28 16:58 wwn-0x50014ee25cd0cd8b-part6 -> ../../sda6

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdf         /cdrom                   iso9660    (ro,noatime)


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

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

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="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,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  4306a38d-f8a4-40cb-81ed-a1d4959effcc
else
  search --no-floppy --fs-uuid --set=root 4306a38d-f8a4-40cb-81ed-a1d4959effcc
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=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-4306a38d-f8a4-40cb-81ed-a1d4959effcc' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  4306a38d-f8a4-40cb-81ed-a1d4959effcc
	else
	  search --no-floppy --fs-uuid --set=root 4306a38d-f8a4-40cb-81ed-a1d4959effcc
	fi
	linux	/boot/vmlinuz-4.10.0-40-generic.efi.signed root=UUID=4306a38d-f8a4-40cb-81ed-a1d4959effcc ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.10.0-40-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-4306a38d-f8a4-40cb-81ed-a1d4959effcc' {
	menuentry 'Ubuntu, avec Linux 4.10.0-40-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-40-generic-advanced-4306a38d-f8a4-40cb-81ed-a1d4959effcc' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  4306a38d-f8a4-40cb-81ed-a1d4959effcc
		else
		  search --no-floppy --fs-uuid --set=root 4306a38d-f8a4-40cb-81ed-a1d4959effcc
		fi
		echo	'Chargement de Linux 4.10.0-40-generic…'
		linux	/boot/vmlinuz-4.10.0-40-generic.efi.signed root=UUID=4306a38d-f8a4-40cb-81ed-a1d4959effcc ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.10.0-40-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-40-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-40-generic-init-upstart-4306a38d-f8a4-40cb-81ed-a1d4959effcc' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  4306a38d-f8a4-40cb-81ed-a1d4959effcc
		else
		  search --no-floppy --fs-uuid --set=root 4306a38d-f8a4-40cb-81ed-a1d4959effcc
		fi
		echo	'Chargement de Linux 4.10.0-40-generic…'
		linux	/boot/vmlinuz-4.10.0-40-generic.efi.signed root=UUID=4306a38d-f8a4-40cb-81ed-a1d4959effcc ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.10.0-40-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-40-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-40-generic-recovery-4306a38d-f8a4-40cb-81ed-a1d4959effcc' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  4306a38d-f8a4-40cb-81ed-a1d4959effcc
		else
		  search --no-floppy --fs-uuid --set=root 4306a38d-f8a4-40cb-81ed-a1d4959effcc
		fi
		echo	'Chargement de Linux 4.10.0-40-generic…'
		linux	/boot/vmlinuz-4.10.0-40-generic.efi.signed root=UUID=4306a38d-f8a4-40cb-81ed-a1d4959effcc ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.10.0-40-generic
	}
	menuentry 'Ubuntu, avec Linux 4.10.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-advanced-4306a38d-f8a4-40cb-81ed-a1d4959effcc' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  4306a38d-f8a4-40cb-81ed-a1d4959effcc
		else
		  search --no-floppy --fs-uuid --set=root 4306a38d-f8a4-40cb-81ed-a1d4959effcc
		fi
		echo	'Chargement de Linux 4.10.0-28-generic…'
		linux	/boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=4306a38d-f8a4-40cb-81ed-a1d4959effcc ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.10.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-28-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-init-upstart-4306a38d-f8a4-40cb-81ed-a1d4959effcc' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  4306a38d-f8a4-40cb-81ed-a1d4959effcc
		else
		  search --no-floppy --fs-uuid --set=root 4306a38d-f8a4-40cb-81ed-a1d4959effcc
		fi
		echo	'Chargement de Linux 4.10.0-28-generic…'
		linux	/boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=4306a38d-f8a4-40cb-81ed-a1d4959effcc ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.10.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-recovery-4306a38d-f8a4-40cb-81ed-a1d4959effcc' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  4306a38d-f8a4-40cb-81ed-a1d4959effcc
		else
		  search --no-floppy --fs-uuid --set=root 4306a38d-f8a4-40cb-81ed-a1d4959effcc
		fi
		echo	'Chargement de Linux 4.10.0-28-generic…'
		linux	/boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=4306a38d-f8a4-40cb-81ed-a1d4959effcc ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.10.0-28-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

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

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

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

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

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=4306a38d-f8a4-40cb-81ed-a1d4959effcc /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda1 during installation
UUID=5169f9c4-75e9-427c-963d-af5558a935a7 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  13.892284393 = 14.916726784   boot/grub/grub.cfg                             1
   4.960014343 = 5.325774848    boot/vmlinuz-4.10.0-28-generic                 1
   5.866218567 = 6.298804224    boot/vmlinuz-4.10.0-28-generic.efi.signed      1
   5.670959473 = 6.089146368    boot/vmlinuz-4.10.0-40-generic                 1
   5.921871185 = 6.358560768    boot/vmlinuz-4.10.0-40-generic.efi.signed      2
   4.960014343 = 5.325774848    vmlinuz                                        1
   6.046871185 = 6.492778496    boot/initrd.img-4.10.0-28-generic              2
   5.960933685 = 6.400503808    boot/initrd.img-4.10.0-40-generic              2
   6.046871185 = 6.492778496    initrd.img                                     2
   6.046871185 = 6.492778496    initrd.img.old                                 2

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

Unknown MBR on /dev/sdf

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000190  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 00 00 00 00  |................|
000001b0  78 ac 2d 00 00 00 00 00  15 cd 66 0d 00 00 80 00  |x.-.......f.....|
000001c0  01 00 00 5e e0 fb 00 00  00 00 80 50 2f 00 00 fe  |...^.......P/...|
000001d0  ff ff ef fe ff ff dc e0  2d 00 40 12 00 00 00 00  |........-.@.....|
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  00 00 00 00 00 00 55 aa  |..............U.|
00000200


/dev/sdf1: unknown GPT attributes
1000000000000001

/dev/sdf2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sda2

00000000  a4 0c 2b 91 9c 15 c1 00  30 23 27 e9 9e 3b d3 c4  |..+.....0#'..;..|
00000010  63 cd fd d9 22 4c aa e5  89 d8 3d 14 f4 1c f7 a1  |c..."L....=.....|
00000020  2b f5 25 49 c7 44 ee 57  60 8a cd bb 76 e5 5c 65  |+.%I.D.W`...v.\e|
00000030  46 31 bb 9c 9c e7 3b 48  3c 63 3c 7b e2 ac 3c 65  |F1....;H<c<{..<e|
00000040  9b e6 21 0f 7e 37 0e 31  bb 1f 36 ec 9e 71 42 52  |..!.~7.1..6..qBR|
00000050  4f 44 37 27 a3 4c ae ad  bb f7 99 2c 81 40 c3 0c  |OD7'.L.....,.@..|
00000060  01 c9 25 b9 01 be 6f fe  bd 3d 95 d5 1c 79 21 c2  |..%...o..=...y!.|
00000070  b2 64 ee e5 94 f5 18 f4  fe 75 ab d6 3a bb 11 7f  |.d.......u..:...|
00000080  26 ca 65 72 9b 62 39 39  07 86 53 b3 3c e4 e5 9b  |&.er.b99..S.<...|
00000090  93 f8 d4 a2 0c b9 91 47  ca c1 71 b4 e0 ab f3 c6  |.......G..q.....|
000000a0  dc 7a 63 d6 b0 5b bd 4b  bc 9f d9 bf c8 63 c5 84  |.zc..[.K.....c..|
000000b0  28 15 9b 77 cc 32 07 cb  c6 e2 e5 87 27 e9 4f 68  |(..w.2......'.Oh|
000000c0  f7 3c 6c 49 f9 09 1b 5b  38 6e 0a e0 e4 f6 f5 ad  |.<lI...[8n......|
000000d0  12 83 14 9c da 29 e7 79  64 66 de 18 aa 9d c0 f0  |.....).ydf......|
000000e0  0f 00 8e 8b c6 2a 76 60  ae c0 c7 9c 0d c1 c7 6f  |.....*v`.......o|
000000f0  40 40 53 9e 70 33 55 76  9a 56 f7 49 5d 0a 4f 12  |@@S.p3Uv.V.I].O.|
00000100  10 c0 49 b8 a6 54 7c bc  13 d3 e6 1c 70 3b 1c 1a  |..I..T|.....p;..|
00000110  b4 7f 78 8c 4a 67 01 48  cf ca 09 6e c3 19 e4 11  |..x.Jg.H...n....|
00000120  fe 71 55 be c6 6f 9a 4d  e9 a1 59 22 2d e5 a1 58  |.qU..o.M..Y"-..X|
00000130  c9 e4 34 83 23 3c 1f bd  9c e4 e6 ac 2a 30 de c1  |..4.#<......*0..|
00000140  79 e4 60 93 b5 7a 0e 72  dc 92 7b ed fc aa 94 b9  |y.`..z.r..{.....|
00000150  7a e8 35 05 a6 a4 2b 23  c7 bd 76 7f 18 d8 01 ce  |z.5...+#..v.....|
00000160  7a 0c b7 3c 67 eb 4f 2d  e6 44 cc c7 60 07 66 54  |z..<g.O-.D..`.fT|
00000170  6d 63 d4 65 41 04 12 4f  4a d6 32 52 d9 91 24 93  |mc.eA..OJ.2R..$.|
00000180  b2 19 b3 69 1c 46 15 81  e0 11 95 e8 7d 4f ce 7d  |...i.F......}O.}|
00000190  48 fe 55 21 da 54 a3 2e  1f 6a f6 c9 f9 86 40 62  |H.U!.T...j....@b|
000001a0  38 19 1d f9 a6 65 28 df  54 85 58 f0 46 c6 1c e5  |8....e(.T.X.F...|
000001b0  88 70 38 6e e4 15 23 a0  27 8e 99 fc ea 10 00 fe  |.p8n..#.'.......|
000001c0  ff ff 83 fe ff ff 02 20  d2 05 00 f8 ee 33 00 78  |....... .....3.x|
000001d0  52 e6 05 fe ff ff 01 00  00 00 01 20 d2 05 00 00  |R.......... ....|
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  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Unknown BootLoader on sdf1

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  78 ac 2d 00 00 00 00 00  15 cd 66 0d 00 00 80 00  |x.-.......f.....|
000001c0  01 00 00 5e e0 fb 00 00  00 00 80 50 2f 00 00 fe  |...^.......P/...|
000001d0  ff ff ef fe ff ff dc e0  2d 00 40 12 00 00 00 00  |........-.@.....|
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  00 00 00 00 00 00 55 aa  |..............U.|
00000200


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

sdb sdc sdd sde 

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

File descriptor 9 (/proc/5533/mounts) leaked on lvs invocation. Parent PID 13056: bash
File descriptor 63 (pipe:[44655]) leaked on lvs invocation. Parent PID 13056: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20171128_1658 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
grub-probe: error: cannot find a GRUB drive for /dev/sdf1.  Check your device.map.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-repair is executed in live-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:
/dev/sda6:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/sda5: UUID="c6619f0f-30a8-4c20-a728-17af7cefa119" TYPE="ext4" PARTUUID="0002d31c-05"
/dev/sda6: UUID="4306a38d-f8a4-40cb-81ed-a1d4959effcc" TYPE="ext4" PARTUUID="0002d31c-06"
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="5169f9c4-75e9-427c-963d-af5558a935a7" TYPE="swap" PARTUUID="0002d31c-01"
/dev/sdf1: UUID="2017-08-01-11-51-33-00" LABEL="Ubuntu 16.04.3 LTS amd64" TYPE="iso9660" PTUUID="0d66cd15" PTTYPE="dos" PARTUUID="0d66cd15-01"
/dev/sdf2: SEC_TYPE="msdos" UUID="398E-230F" TYPE="vfat" PARTUUID="0d66cd15-02"


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


=================== sda6/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Nov 27 15:40 grub.d
total 80
-rwxr-xr-x 1 root root  9791 Jun 21 04:11 00_header
-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Jun 21 04:11 10_linux
-rwxr-xr-x 1 root root 11082 Jun 21 04:11 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jun 21 04:11 30_os-prober
-rwxr-xr-x 1 root root  1418 Jun 21 04:11 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jun 21 04:11 40_custom
-rwxr-xr-x 1 root root   216 Jun 21 04:11 41_custom
-rw-r--r-- 1 root root   483 Jun 21 04:11 README




=================== sda6/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=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

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

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

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

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

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




=================== efibootmgr -v
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,0002,0001
Boot0001* CD/DVD Drive 	BBS(CDROM,,0x0)AMGOAMNO..........S.A.T.A. . .S.S.:. .T.S.S.T.c.o.r.p. .C.D.D.V.D.W. .S.H.-.2.........................rN.D+..,............R..Gd-.;.A..MQ..L.S.A.T.A. . .S.S.:. .T.S.S.T.c.o.r.p. .C.D.D.V.D.W. .S.H.-.2......AMBO
Boot0002* Hard Drive 	BBS(HD,,0x0)AMGOAMNO........m.W.D.C. .W.D.5.0.0.0.A.A.K.X.-.0.8.E.R.M.A.0....................A.........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.2.C.H.E.9.4.3.7.8.5......AMBOAMNO........w.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .G.2....................A.............................D..Gd-.;.A..MQ..L.K.i.n.g.s.t.o.n.D.a.t.a.T.r.a.v.e.l.e.r. .G.2......AMBO
Boot0003* UEFI: KingstonDataTraveler G2 	PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(6,0)/HD(1,MBR,0x21,0x2de0dc,0x1240)AMBO

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda5	: 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,	farbios,	notbiosboot, /mnt/boot-sav/sda5.
sda6	: sda,	not-sepboot,	no-grubenv	grub2,	signed grub-efi ,	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,	not-far,	notbiosboot, /mnt/boot-sav/sda6.

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:512:msdos:ATA WDC WD5000AAKX-0:;
1:1049kB:4000MB:3999MB:linux-swap(v1)::boot;
2:4001MB:500GB:496GB:::;
6:4001MB:54.0GB:50.0GB:ext4::;
5:54.0GB:500GB:446GB:ext4::;

BYT;
/dev/sdf:4007MB:scsi:512:512:unknown:Kingston DataTraveler G2:;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
sdf   disk iso9660    3.7G Ubuntu 16.04.3 LTS amd64
sdf1  part iso9660    1.5G Ubuntu 16.04.3 LTS amd64
sdf2  part vfat       2.3M Ubuntu 16.04.3 LTS amd64
sr0   rom            1024M
loop0 loop squashfs   1.4G
sda   disk          465.8G
sda2  part              1K
sda5  part ext4     415.5G
sda1  part swap       3.7G
sda6  part ext4      46.6G

KNAME ROTA RO RM STATE   MOUNTPOINT
sdf      1  0  1 running /cdrom
sdf1     1  0  1
sdf2     1  0  1
sr0      1  0  1 running
loop0    1  1  0         /rofs
sda      1  0  0 running
sda2     1  0  0
sda5     1  0  0         /mnt/boot-sav/sda5
sda1     1  0  0         [SWAP]
sda6     1  0  0         /mnt/boot-sav/sda6


=================== 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=1839412k,nr_inodes=459853,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=371092k,mode=755)
/dev/sdf on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=a535a75d6e0336b4)
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/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15453)
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)
tracefs on /sys/kernel/debug/tracing type tracefs (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/999 type tmpfs (rw,nosuid,nodev,relatime,size=371092k,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)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw,relatime,data=ordered)
/dev/sda6 on /mnt/boot-sav/sda6 type ext4 (rw,relatime,data=ordered)


=================== ls:
/sys/block/sda (filtered):  alignment_offset badblocks 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 sda6 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset badblocks 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
/sys/block/sdc (filtered):  alignment_offset badblocks 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
/sys/block/sdd (filtered):  alignment_offset badblocks 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
/sys/block/sde (filtered):  alignment_offset badblocks 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
/sys/block/sdf (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdf1 sdf2 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset badblocks 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):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg lightnvm log lp0 mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sdb sdc sdd sde sdf sdf1 sdf2 sg0 sg1 sg2 sg3 sg4 sg5 sg6 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper:  control

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.8G     0  1.8G   0% /dev
tmpfs          tmpfs     363M  5.9M  357M   2% /run
/dev/sdf       iso9660   1.5G  1.5G     0 100% /cdrom
/dev/loop0     squashfs  1.5G  1.5G     0 100% /rofs
aufs           aufs      1.8G   56M  1.8G   4% /
tmpfs          tmpfs     1.8G  172K  1.8G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.8G     0  1.8G   0% /sys/fs/cgroup
tmpfs          tmpfs     1.8G  152K  1.8G   1% /tmp
tmpfs          tmpfs     363M   76K  363M   1% /run/user/999
/dev/sda5      ext4      409G   45G  344G  12% /mnt/boot-sav/sda5
/dev/sda6      ext4       46G  4.6G   39G  11% /mnt/boot-sav/sda6

=================== fdisk -l:
Disk /dev/loop0: 1.4 GiB, 1532116992 bytes, 2992416 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: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0002d31c

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048   7813119   7811072   3.7G 82 Linux swap / Solaris
/dev/sda2         7815166 976771071 968955906   462G  5 Extended
/dev/sda5       105472000 976771071 871299072 415.5G 83 Linux
/dev/sda6         7815168 105471999  97656832  46.6G 83 Linux

Partition table entries are not in disk order.




Disk /dev/sdf: 3.7 GiB, 4006608896 bytes, 7825408 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0d66cd15

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdf1  *          0 3100799 3100800  1.5G  0 Empty
/dev/sdf2       3006684 3011355    4672  2.3M ef EFI (FAT-12/16/32)




=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub2 of sda6 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s


=================== Advice in case of suggested repair
The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Do you want to continue?


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

Je pense que tu es dans une grosse galère. Si tu ne l'as pas déjà fait, je te recommande de sauver les meubles en priorité, c'est à dire de sauvegarder sur un disque dur externe tes données précieuses qui peuvent se trouver sur le disque dur interne. Pour ce faire, tu peux utiliser cette doc : Récupérer ses données depuis un live-CD ou live-USB

Hors ligne

#3 Le 29/11/2017, à 20:43

jeanv09

Re : [RÉSOLU]D'une session bloquée (mdp non reconnu) à un problème de Grub2

Merci de ta réponse, concernant les meubles, je les ai déjà sauvés ils sont au chaud sur un disque dur externe.
Si tu penses que le problème est trop compliqué et peut prendre beaucoup de temps, j'ai aussi en tête la solution de racheter un disque dur vièrge et réinstaller ubuntu dessus.

Hors ligne

#4 Le 29/11/2017, à 20:59

malbo

Re : [RÉSOLU]D'une session bloquée (mdp non reconnu) à un problème de Grub2

Si tu as sauvegardé tes données précieuses sur disque dur externe, je ne comprends pas pourquoi il serait nécessaire de racheter un disque dur vierge : ne peux-tu pas te contenter d'effacer tout ce qu'il y a actuellement sur ton disque interne et faire une installation de Ubuntu toute neuve et toute propre dessus ?

Hors ligne

#5 Le 29/11/2017, à 22:34

UnMamouth

Re : [RÉSOLU]D'une session bloquée (mdp non reconnu) à un problème de Grub2

Salut. Le conseil est probablement très candide et arrive en retard, mais le problème de mot de passe à la connexion aurait-il pu être lié à un problème de configuration clavier (passé en qwerty US alors que c'est un azerty FR par exemple) ?

Hors ligne

#6 Le 30/11/2017, à 00:07

jeanv09

Re : [RÉSOLU]D'une session bloquée (mdp non reconnu) à un problème de Grub2

à Malbo :
Quand on installe ubuntu à partir d'un live-usb en choisissant de remplacer l'ancien système, la procédure ne formate-t-elle pas le disque ? Si c'est bien le cas, j'aurai le problème avec un autre disque ... et alors ça veut dire que ça vient du live-usb ? J'ai testé après avoir recréé un disque de démarrage sur ma clé, à partir du fichier iso d'ubuntu 16.04.LTS disponible en ce moment sur le site ubuntu-fr.

à UnMamouth :
J'avais bien vérifié l'histoire du clavier en passant par la session invité et par le terminal.

Hors ligne

#7 Le 30/11/2017, à 00:59

??

Re : [RÉSOLU]D'une session bloquée (mdp non reconnu) à un problème de Grub2

Bonsoir

La raison pour laquelle tu n'as pas réussi ta ré-installation est très simple.

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

Ce qui veut dire que l'installation va se faire en EFI en installant le paquet SIGNED dans une partition FAT32 d'un disque formaté GPT.
Or ton disque ne l'est pas. car il est DOS.

Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Il n'a donc pas de partition de boot EFI

Fais en sorte de déactiver, dans le bios, le boot EFI! car si tu souhaites le migrer en type GPT au lieu de DOS, il faut que tu commences par supprimer l'intégralité des partitions et rien ne prouve que ubuntu démarrera correctement en EFI.

Dernière modification par ?? (Le 30/11/2017, à 00:59)


Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne

#8 Le 02/12/2017, à 18:27

jeanv09

Re : [RÉSOLU]D'une session bloquée (mdp non reconnu) à un problème de Grub2

Bonjour,

Merci à ??, tes retours m'ont permis de résoudre le problème.

En effet, lors de mes essais d'installation, une fenêtre m'avertissait que je voulais démarrer en UEFI alors que le disque était en DOS. Je n'avais pas fait attention à cela.

J'ai donc gratté dans le BIOS pour démarrer la live-usb en mode Legacy.
D'ailleurs, dans le BIOS, quand on veut changer l'ordre du déma, on voit une étiquette "UEFI" sur l'icône de la clé usb.
Donc dans mon cas, j'ai fait comme cela :
-Mode avancé
-Onglet démarrage
-Sélection du périphérique de démarrage
-choisir "Kingston..." et non "UEFIKingston..."

Et alors, l'écran distinctif apparaît et non l'écran noir que j'ai pu avoir avant : voir le 2.5 et le 2.6 de la doc ubuntu sur l'UEFI

Encore merci.
Super ce forum. J'essaierai d'y apporter mes maigres connaissances.

Hors ligne