← Back to team overview

kernel-packages team mailing list archive

[Bug 1505482] Re: package linux-image-3.19.0-31-generic 3.19.0-31.35~14.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

 

In one of tries to fix, I ran the live CD of Ubuntu 14.04, but I lost
the boot, then I recover it trough the "Boot repair" tool. This is the
report:

  Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info
9Feb2015]


============================= 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 (,msdos8)/boot/grub.

sda1:
__________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg /extlinux/extlinux.conf 
                       /grub/i386-pc/core.img

sda2:
__________________________________________________________________________

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

sda5:
__________________________________________________________________________

    File system:       swsuspend
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type 'swsuspend'

sda6:
__________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 14.04.3 LTS 
    Boot files:        /etc/fstab

sda7:
__________________________________________________________________________

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

sda8:
__________________________________________________________________________

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

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

Drive: sda
_____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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       587,773       585,726  83 Linux
/dev/sda2             587,774 1,953,523,711 1,952,935,938   5 Extended
/dev/sda5             587,776     4,491,263     3,903,488  82 Linux swap / Solaris
/dev/sda6           4,493,312    43,552,767    39,059,456  83 Linux
/dev/sda7          43,554,816 1,753,387,753 1,709,832,938  83 Linux
/dev/sda8       1,753,389,056 1,953,523,711   200,134,656  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        e9b3a996-f01e-4ae4-b6b8-3acc42b02254   ext4       
/dev/sda5        314620c7-49a2-41ff-a0b9-c51b9acaa528   swsuspend  
/dev/sda6        4ce8c687-4b04-43ca-b993-f7798c762458   ext4       
/dev/sda7        745d2868-e5c0-4289-b4a8-d859e21bbd88   ext4       
/dev/sda8        872b8af8-d262-43ca-bddc-bf494bff7fb3   ext4       
/dev/sr0                                                iso9660    Ubuntu 14.04.2 LTS amd64

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

total 0
lrwxrwxrwx 1 root root  9 Oct 19 00:33 ata-HL-DT-ST_DVDRAM_GH24NSC0_K22EB5D4805 -> ../../sr0
lrwxrwxrwx 1 root root  9 Oct 19 00:50 ata-WDC_WD10EZEX-22BN5A0_WD-WCC3F2VCCSYR -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 19 00:33 ata-WDC_WD10EZEX-22BN5A0_WD-WCC3F2VCCSYR-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 19 00:33 ata-WDC_WD10EZEX-22BN5A0_WD-WCC3F2VCCSYR-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 19 00:33 ata-WDC_WD10EZEX-22BN5A0_WD-WCC3F2VCCSYR-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Oct 19 00:33 ata-WDC_WD10EZEX-22BN5A0_WD-WCC3F2VCCSYR-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Oct 19 00:33 ata-WDC_WD10EZEX-22BN5A0_WD-WCC3F2VCCSYR-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Oct 19 00:33 ata-WDC_WD10EZEX-22BN5A0_WD-WCC3F2VCCSYR-part8 -> ../../sda8
lrwxrwxrwx 1 root root  9 Oct 19 00:33 usb-Generic-_Compact_Flash_058F63646476-0:1 -> ../../sdc
lrwxrwxrwx 1 root root  9 Oct 19 00:33 usb-Generic-_MS_MS-Pro_058F63646476-0:3 -> ../../sde
lrwxrwxrwx 1 root root  9 Oct 19 00:33 usb-Generic-_SD_MMC_058F63646476-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9 Oct 19 00:33 usb-Generic-_SM_xD-Picture_058F63646476-0:2 -> ../../sdd
lrwxrwxrwx 1 root root  9 Oct 19 00:33 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Oct 19 00:50 wwn-0x50014ee20b634dda -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 19 00:33 wwn-0x50014ee20b634dda-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 19 00:33 wwn-0x50014ee20b634dda-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 19 00:33 wwn-0x50014ee20b634dda-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Oct 19 00:33 wwn-0x50014ee20b634dda-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Oct 19 00:33 wwn-0x50014ee20b634dda-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Oct 19 00:33 wwn-0x50014ee20b634dda-part8 -> ../../sda8

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

Device           Mount_Point              Type       Options

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


============================= sda1/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  4ce8c687-4b04-43ca-b993-f7798c762458
else
  search --no-floppy --fs-uuid --set=root 4ce8c687-4b04-43ca-b993-f7798c762458
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=es_ES
  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
}
set linux_gfx_mode=None
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4ce8c687-4b04-43ca-b993-f7798c762458' {
	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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
	else
	  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
	fi
	linux	/vmlinuz-3.16.0-51-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro  splash quiet $vt_handoff
	initrd	/initrd.img-3.16.0-51-generic
}
submenu 'Opciones avanzadas para Ubuntu' $menuentry_id_option 'gnulinux-advanced-4ce8c687-4b04-43ca-b993-f7798c762458' {
	menuentry 'Ubuntu, con Linux 3.16.0-51-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-51-generic-advanced-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-51-generic ...'
		linux	/vmlinuz-3.16.0-51-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro  splash quiet $vt_handoff
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-51-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-51-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-51-generic-recovery-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-51-generic ...'
		linux	/vmlinuz-3.16.0-51-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro recovery nomodeset 
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-51-generic
	}
	menuentry 'Ubuntu, con Linux 3.16.0-50-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-50-generic-advanced-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-50-generic ...'
		linux	/vmlinuz-3.16.0-50-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro  splash quiet $vt_handoff
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-50-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-50-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-50-generic-recovery-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-50-generic ...'
		linux	/vmlinuz-3.16.0-50-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro recovery nomodeset 
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-50-generic
	}
	menuentry 'Ubuntu, con Linux 3.16.0-49-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-49-generic-advanced-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-49-generic ...'
		linux	/vmlinuz-3.16.0-49-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro  splash quiet $vt_handoff
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-49-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-49-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-49-generic-recovery-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-49-generic ...'
		linux	/vmlinuz-3.16.0-49-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro recovery nomodeset 
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-49-generic
	}
	menuentry 'Ubuntu, con Linux 3.16.0-48-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-48-generic-advanced-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-48-generic ...'
		linux	/vmlinuz-3.16.0-48-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro  splash quiet $vt_handoff
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-48-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-48-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-48-generic-recovery-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-48-generic ...'
		linux	/vmlinuz-3.16.0-48-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro recovery nomodeset 
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-48-generic
	}
	menuentry 'Ubuntu, con Linux 3.16.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-44-generic-advanced-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-44-generic ...'
		linux	/vmlinuz-3.16.0-44-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro  splash quiet $vt_handoff
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-44-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-44-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-44-generic-recovery-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-44-generic ...'
		linux	/vmlinuz-3.16.0-44-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro recovery nomodeset 
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-44-generic
	}
	menuentry 'Ubuntu, con Linux 3.16.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-43-generic-advanced-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-43-generic ...'
		linux	/vmlinuz-3.16.0-43-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro  splash quiet $vt_handoff
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-43-generic-recovery-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-43-generic ...'
		linux	/vmlinuz-3.16.0-43-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro recovery nomodeset 
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-43-generic
	}
	menuentry 'Ubuntu, con Linux 3.16.0-41-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-41-generic-advanced-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-41-generic ...'
		linux	/vmlinuz-3.16.0-41-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro  splash quiet $vt_handoff
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-41-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-41-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-41-generic-recovery-4ce8c687-4b04-43ca-b993-f7798c762458' {
		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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		else
		  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
		fi
		echo	'Cargando Linux 3.16.0-41-generic ...'
		linux	/vmlinuz-3.16.0-41-generic root=UUID=4ce8c687-4b04-43ca-b993-f7798c762458 ro recovery nomodeset 
		echo	'Cargando el disco RAM inicial...'
		initrd	/initrd.img-3.16.0-41-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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
	else
	  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
	fi
	knetbsd	/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  e9b3a996-f01e-4ae4-b6b8-3acc42b02254
	else
	  search --no-floppy --fs-uuid --set=root e9b3a996-f01e-4ae4-b6b8-3acc42b02254
	fi
	linux16	/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/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: Version of COM32(R) files used by Syslinux:
===============

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

=============================== 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=4ce8c687-4b04-43ca-b993-f7798c762458 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=e9b3a996-f01e-4ae4-b6b8-3acc42b02254 /boot           ext4    defaults        0       2
# /home was on /dev/sda7 during installation
UUID=745d2868-e5c0-4289-b4a8-d859e21bbd88 /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=314620c7-49a2-41ff-a0b9-c51b9acaa528 none            swap    sw              0       0
--------------------------------------------------------------------------------

=========================== sda8/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,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  872b8af8-d262-43ca-bddc-bf494bff7fb3
else
  search --no-floppy --fs-uuid --set=root 872b8af8-d262-43ca-bddc-bf494bff7fb3
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=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  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-872b8af8-d262-43ca-bddc-bf494bff7fb3' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos8'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  872b8af8-d262-43ca-bddc-bf494bff7fb3
	else
	  search --no-floppy --fs-uuid --set=root 872b8af8-d262-43ca-bddc-bf494bff7fb3
	fi
	linux	/boot/vmlinuz-3.16.0-50-generic root=UUID=872b8af8-d262-43ca-bddc-bf494bff7fb3 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-50-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-872b8af8-d262-43ca-bddc-bf494bff7fb3' {
	menuentry 'Ubuntu, with Linux 3.16.0-50-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-50-generic-advanced-872b8af8-d262-43ca-bddc-bf494bff7fb3' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  872b8af8-d262-43ca-bddc-bf494bff7fb3
		else
		  search --no-floppy --fs-uuid --set=root 872b8af8-d262-43ca-bddc-bf494bff7fb3
		fi
		echo	'Loading Linux 3.16.0-50-generic ...'
		linux	/boot/vmlinuz-3.16.0-50-generic root=UUID=872b8af8-d262-43ca-bddc-bf494bff7fb3 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-50-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-50-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-50-generic-recovery-872b8af8-d262-43ca-bddc-bf494bff7fb3' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8  872b8af8-d262-43ca-bddc-bf494bff7fb3
		else
		  search --no-floppy --fs-uuid --set=root 872b8af8-d262-43ca-bddc-bf494bff7fb3
		fi
		echo	'Loading Linux 3.16.0-50-generic ...'
		linux	/boot/vmlinuz-3.16.0-50-generic root=UUID=872b8af8-d262-43ca-bddc-bf494bff7fb3 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-50-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 ###
--------------------------------------------------------------------------------

=============================== sda8/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/sda8 during installation
UUID=872b8af8-d262-43ca-bddc-bf494bff7fb3 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=314620c7-49a2-41ff-a0b9-c51b9acaa528 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

Unknown BootLoader on sda2

00000000  91 73 4d bf 84 c1 b7 7d  3d 65 8b be 15 b2 ce 1e  |.sM....}=e......|
00000010  ab cb 4d 1b cf 10 b3 2a  4f 42 0e f0 0c 0f bd de  |..M....*OB......|
00000020  5e 08 20 44 13 11 19 18  72 c4 09 6a 9e 3f 3d a9  |^. D....r..j.?=.|
00000030  90 af 28 80 21 49 9c 52  e6 23 29 14 9d c6 6c 86  |..(.!I.R.#)...l.|
00000040  b9 c4 26 3d ff ec ed 0f  11 81 20 36 b0 2a 29 ef  |..&=...... 6.*).|
00000050  71 61 74 ad 3f e5 ee 98  f6 f7 f6 36 ff 29 54 ef  |qat.?......6.)T.|
00000060  39 45 22 55 27 1f 30 37  a2 b8 9b 99 d3 f8 ee 49  |9E"U'.07.......I|
00000070  c1 f9 de 58 ee 7e 62 fa  5d 79 23 97 bb 9b 53 07  |...X.~b.]y#...S.|
00000080  f5 1b 2f c1 93 47 5f a5  3e c6 7b 08 c9 43 29 36  |../..G_.>.{..C)6|
00000090  6e c8 31 1b ca f7 d6 e8  bb 74 9f 53 ce 21 fe fb  |n.1......t.S.!..|
000000a0  7a 4c 04 ef 7a 5e 88 5e  77 7b 4c 88 0f 5c 5e 49  |zL..z^.^w{L..\^I|
000000b0  ec 0c 8e 17 5f c8 a3 fd  6d af 6d 2e 79 cb 47 0f  |...._...m.m.y.G.|
000000c0  66 dc 8a f4 d3 00 bc 67  f6 b9 c4 3f e5 61 b6 d4  |f......g...?.a..|
000000d0  96 98 19 a2 f7 71 6b ee  b5 53 fc 13 d2 fa 10 cf  |.....qk..S......|
000000e0  bf 40 3f f1 33 55 bf c2  f8 08 cc f9 dc 56 0e fa  |.@?.3U.......V..|
000000f0  57 5c 94 18 37 85 ff 33  df bf f2 e8 2f 1b ce f9  |W\..7..3..../...|
00000100  9e e9 37 e8 33 6d fc f3  c3 c5 31 7e f7 d9 6f df  |..7.3m....1~..o.|
00000110  a3 2b 34 75 34 e7 c2 6f  d2 fa 9e 33 73 57 1e 43  |.+4u4..o...3sW.C|
00000120  98 b7 e1 e7 39 e1 fe f9  67 f5 f4 d9 e1 00 da 88  |....9...g.......|
00000130  f3 43 70 9c b9 70 ae e7  e4 8e 09 70 c6 5c 87 31  |.Cp..p.....p.\.1|
00000140  1f af c1 2d 9f c5 9c bd  bc 71 1e 53 c1 d1 bb 9d  |...-.....q.S....|
00000150  c8 6f b1 3f 4f b8 4c f7  0c 9c 31 bb c0 5f 3c 10  |.o.?O.L...1.._<.|
00000160  10 b3 10 42 1c 35 d1 c5  95 af 5e c3 97 ea ee 75  |...B.5....^....u|
00000170  1f f7 3e 5f 88 e2 0a 0f  d0 72 b5 34 d1 c1 0f da  |..>_.....r.4....|
00000180  3e 51 0c c3 cb 73 c9 21  de ea c2 cc 1c b7 fb ae  |>Q...s.!........|
00000190  c7 2b 1b 1c f2 a2 27 44  b7 fd 73 be 8c 5d 7a 68  |.+....'D..s..]zh|
000001a0  9f 55 b6 78 02 76 cc 79  63 c3 f9 04 6d 11 e6 61  |.U.x.v.yc...m..a|
000001b0  f8 f2 b9 d0 8d d3 31 3e  9d f3 42 f1 5d 89 00 95  |......1>..B.]...|
000001c0  32 24 82 90 79 17 02 00  00 00 00 90 3b 00 00 90  |2$..y.......;...|
000001d0  7a 17 05 fe ff ff 02 90  3b 00 00 08 54 02 00 00  |z.......;...T...|
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:
===============================

cat: write error: Broken pipe
File descriptor 9 (/proc/4515/mounts) leaked on lvs invocation. Parent PID 15383: bash
File descriptor 63 (pipe:[44848]) leaked on lvs invocation. Parent PID 15383: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-10-19__00h47 ===================
boot-repair version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-repair is executed in live-session (Ubuntu 14.04.2 LTS, trusty, 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
mount: unknown filesystem type 'swsuspend'
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: unknown filesystem type 'swsuspend'
mount -r /dev/sda5 : Error code 32

=================== os-prober:
/dev/sda6:Ubuntu 14.04.3 LTS (14.04):Ubuntu:linux
/dev/sda8:Ubuntu 14.04.3 LTS (14.04):Ubuntu1:linux

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu 14.04.2 LTS amd64" TYPE="iso9660"
/dev/sda1: UUID="e9b3a996-f01e-4ae4-b6b8-3acc42b02254" TYPE="ext4"
/dev/sda5: UUID="314620c7-49a2-41ff-a0b9-c51b9acaa528" TYPE="swsuspend"
/dev/sda6: UUID="4ce8c687-4b04-43ca-b993-f7798c762458" TYPE="ext4"
/dev/sda7: UUID="745d2868-e5c0-4289-b4a8-d859e21bbd88" TYPE="ext4"
/dev/sda8: UUID="872b8af8-d262-43ca-bddc-bf494bff7fb3" TYPE="ext4"


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

mount: unknown filesystem type 'swsuspend'
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: unknown filesystem type 'swsuspend'
mount -r /dev/sda5 : Error code 32
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
=================== No kernel in /mnt/boot-sav/sda1/boot:
grub


=================== sda6/etc/grub.d/ :
drwxr-xr-x  2 root root      4096 Oct  1 16:35 grub.d
total 76
-rwxr-xr-x 1 root root  9424 Jun 26 11:16 00_header
-rwxr-xr-x 1 root root  6058 May  8  2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 15  2014 10_linux
-rwxr-xr-x 1 root root 10412 May 15  2014 20_linux_xen
-rwxr-xr-x 1 root root  1992 Mar 12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 15  2014 30_os-prober
-rwxr-xr-x 1 root root  1416 May 15  2014 30_uefi-firmware
-rwxr-xr-x 1 root root   214 May 15  2014 40_custom
-rwxr-xr-x 1 root root   216 May 15  2014 41_custom
-rw-r--r-- 1 root root   483 May 15  2014 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="splash quiet"
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"
GRUB_GFXPAYLOAD_LINUX=None
sudo update-grub
sudo apt-get update



/boot detected in the fstab of sda6: UUID=e9b3a996-f01e-4ae4-b6b8-3acc42b02254  (sda1)

=================== sda6/etc/mdadm/mdadm.conf :
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays

# This file was auto-generated on Fri, 09 Oct 2015 01:20:55 -0300
# by mkconf $Id$



=================== sda8/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Oct  9 18:06 grub.d
total 76
-rwxr-xr-x 1 root root  9424 Jun 26 11:16 00_header
-rwxr-xr-x 1 root root  6058 May  8  2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 15  2014 10_linux
-rwxr-xr-x 1 root root 10412 May 15  2014 20_linux_xen
-rwxr-xr-x 1 root root  1992 Mar 12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 15  2014 30_os-prober
-rwxr-xr-x 1 root root  1416 May 15  2014 30_uefi-firmware
-rwxr-xr-x 1 root root   214 May 15  2014 40_custom
-rwxr-xr-x 1 root root   216 May 15  2014 41_custom
-rw-r--r-- 1 root root   483 May 15  2014 README



=================== sda8/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: 0004
Timeout: 1 seconds
BootOrder: 0004,0002,0003
Boot0002* CD/DVD Drive 	BIOS(3,0,00)AMGOAMNO........m.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.C.0....................A.........................>..Gd-.;.A..MQ..L.2.K.E.2.5.B.4.D.0.8. .5. . . . . . . . ......AMBO
Boot0003* Hard Drive 	BIOS(2,0,00)AMGOAMNO........m.W.D.C. .W.D.1.0.E.Z.E.X.-.2.2.B.N.5.A.0....................A.........................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.3.C.2.F.C.V.S.C.R.Y......AMBOAMNO........a.G.e.n.e.r.i.c.-.S.D./.M.M.C. .1...0.0....................A................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6......AMBOAMNO........i.G.e.n.e.r.i.c.-.C.o.m.p.a.c.t. .F.l.a.s.h. .1...0.1....................A........................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6......AMBOAMNO........i.G.e.n.e.r.i.c.-.S.M./.x.D.-.P.i.c.t.u.r.e. .1...0.2....................A........................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6......AMBOAMNO........i.G.e.n.e.r.i.c.-.M.S./.M.S.-.P.r.o. .1...0.3....................A........................................Gd-.;.A..MQ..L.0.5.8.F.6.3.6.4.6.4.7.6......AMBO
Boot0004* UEFI: HL-DT-ST DVDRAM GH24NSC0	ACPI(a0341d0,0)PCI(1f,2)ATAPI(0,0,0)CD-ROM(1,1429,1240)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@xxxxxxxxx)


=================== PARTITIONS & DISKS:
sda1	: sda,	is-sepboot,	grubenv-ok	nogrub,	no-docgrub,	no-update-grub,	32,	no-kernel,	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,	/mnt/boot-sav/sda1.
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,	not-far,	/mnt/boot-sav/sda5.
sda6	: sda,	not-sepboot,	no-grubenv	grub2,	grub-pc ,	update-grub,	64,	no-boot,	is-os,	not--efi--part,	fstab-has-goodBOOT,	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,	/mnt/boot-sav/sda6.
sda7	: 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,	/mnt/boot-sav/sda7.
sda8	: 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,	/mnt/boot-sav/sda8.

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


=================== parted -l:

Model: ATA WDC WD10EZEX-22B (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
1      1049kB  301MB   300MB   primary   ext4         boot
2      301MB   1000GB  1000GB  extended
5      301MB   2300MB  1999MB  logical   swsusp
6      2301MB  22.3GB  20.0GB  logical   ext4
7      22.3GB  898GB   875GB   logical   ext4
8      898GB   1000GB  102GB   logical   ext4


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Model: HL-DT-ST DVDRAM GH24NSC0 (scsi)
Disk /dev/sr0: 1044MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac

Number  Start   End     Size    File system  Name   Flags
1      8192B   24.6kB  16.4kB               Apple
2      42.3MB  51.8MB  9568kB               EFI

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

BYT;
/dev/sda:1000GB:scsi:512:4096:msdos:ATA WDC WD10EZEX-22B;
1:1049kB:301MB:300MB:ext4::boot;
2:301MB:1000GB:1000GB:::;
5:301MB:2300MB:1999MB:swsusp::;
6:2301MB:22.3GB:20.0GB:ext4::;
7:22.3GB:898GB:875GB:ext4::;
8:898GB:1000GB:102GB:ext4::;

Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
BYT;
/dev/sr0:1044MB:scsi:2048:2048:mac:HL-DT-ST DVDRAM GH24NSC0;
1:8192B:24.6kB:16.4kB::Apple:;
2:42.3MB:51.8MB:9568kB::EFI:;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL    MODEL    UUID
sda   disk          931.5G          WDC WD10
sda1  part ext4       286M                   e9b3a996-f01e-4ae4-b6b8-3acc42b02254
sda2  part              1K
sda5  part swsuspen   1.9G                   314620c7-49a2-41ff-a0b9-c51b9acaa528
sda6  part ext4      18.6G                   4ce8c687-4b04-43ca-b993-f7798c762458
sda7  part ext4     815.3G                   745d2868-e5c0-4289-b4a8-d859e21bbd88
sda8  part ext4      95.4G                   872b8af8-d262-43ca-bddc-bf494bff7fb3
sr0   rom  iso9660    996M Ubuntu 14.04.2 LTS amd64
DVDRAM G
loop0 loop squashfs   953M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0
sda5     1  0  0
sda6     1  0  0         /mnt/boot-sav/sda6
sda7     1  0  0         /mnt/boot-sav/sda7
sda8     1  0  0         /mnt/boot-sav/sda8
sr0      1  0  1 running /cdrom
loop0    1  1  0         /rofs


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
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)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw)
/dev/sda6 on /mnt/boot-sav/sda6 type ext4 (rw)
/dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw)
/dev/sda8 on /mnt/boot-sav/sda8 type ext4 (rw)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda5 sda6 sda7 sda8 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 power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdc (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdd (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sde (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet input kmsg log mapper mcelog media0 mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sda7 sda8 sdb sdc sdd sde sg0 sg1 sg2 sg3 sg4 sg5 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control

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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  1.9G  101M  1.8G   6% /
udev           devtmpfs   1.9G   12K  1.9G   1% /dev
tmpfs          tmpfs      385M  1.3M  384M   1% /run
/dev/sr0       iso9660    996M  996M     0 100% /cdrom
/dev/loop0     squashfs   953M  953M     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      1.9G   28K  1.9G   1% /tmp
none           tmpfs      5.0M     0  5.0M   0% /run/lock
none           tmpfs      1.9G   80K  1.9G   1% /run/shm
none           tmpfs      100M   64K  100M   1% /run/user
/dev/sda1      ext4       269M  227M   25M  91% /mnt/boot-sav/sda1
/dev/sda6      ext4        19G  8.1G  9.3G  47% /mnt/boot-sav/sda6
/dev/sda7      ext4       803G  103G  660G  14% /mnt/boot-sav/sda7
/dev/sda8      ext4        94G  4.9G   85G   6% /mnt/boot-sav/sda8

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

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000a813a

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      587773      292863   83  Linux
/dev/sda2          587774  1953523711   976467969    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5          587776     4491263     1951744   82  Linux swap / Solaris
/dev/sda6         4493312    43552767    19529728   83  Linux
/dev/sda7        43554816  1753387753   854916469   83  Linux
/dev/sda8      1753389056  1953523711   100067328   83  Linux


/boot detected. Please check the options.
=================== Advices
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?

=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub2 of sda8 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s repair-filesystems


Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var

fsck -fyM /dev/sda1
fsck from util-linux 2.20.1

fsck -fyM /dev/sda5
fsck from util-linux 2.20.1
fsck: fsck.swsuspend: not found
fsck: error 2 while executing fsck.swsuspend for /dev/sda5

fsck -fyM /dev/sda6
fsck from util-linux 2.20.1

fsck -fyM /dev/sda7
fsck from util-linux 2.20.1

fsck -fyM /dev/sda8
fsck from util-linux 2.20.1
mount: unknown filesystem type 'swsuspend'
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: unknown filesystem type 'swsuspend'
mount -r /dev/sda5 : Error code 32

*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09)
Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
Kernel driver in use: i915
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
*******

grub-install --version
grub-install (GRUB) 2.02~beta2-9ubuntu1.3,grub-install (GRUB) 2.

Reinstall the GRUB of sda8 into the MBR of sda
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0

chroot /mnt/boot-sav/sda8 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-50-generic
Found initrd image: /boot/initrd.img-3.16.0-50-generic
Found Ubuntu 14.04.3 LTS (14.04) on /dev/sda6
Adding boot menu entry for EFI firmware configuration
mount: unknown filesystem type 'swsuspend'
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: unknown filesystem type 'swsuspend'
mount -r /dev/sda5 : Error code 32
Unhide GRUB boot menu in sda8/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-vivid in Ubuntu.
https://bugs.launchpad.net/bugs/1505482

Title:
  package linux-image-3.19.0-31-generic 3.19.0-31.35~14.04.1 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools
  exited with return code 1

Status in linux-lts-vivid package in Ubuntu:
  New

Bug description:
   http://paste.ubuntu.com/12758007/

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.19.0-31-generic 3.19.0-31.36~14.04.1
  ProcVersionSignature: Ubuntu 3.16.0-50.67~14.04.1-generic 3.16.7-ckt16
  Uname: Linux 3.16.0-50-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.16
  AptOrdering:
   initramfs-tools: Configure
   linux-image-3.19.0-31-generic: Configure
   linux-image-extra-3.19.0-31-generic: Configure
   linux-image-generic-lts-vivid: Configure
   linux-generic-lts-vivid: Configure
  Architecture: amd64
  Date: Fri Oct  9 16:33:56 2015
  DuplicateSignature: package:linux-image-3.19.0-31-generic:3.19.0-31.35~14.04.1:run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 2
  InstallationDate: Installed on 2015-05-09 (156 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.4
   apt  1.0.1ubuntu2.10
  SourcePackage: linux-lts-vivid
  Title: package linux-image-3.19.0-31-generic 3.19.0-31.35~14.04.1 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-vivid/+bug/1505482/+subscriptions


References