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 02/08/2016, à 20:22

jose6a

UEFI + WIN7 + 16.04.1 ... je craque

Bonsoir a tous ....

je craque pas moyen de lancer la 16.04.1

par contre W7 lui boote...pfffff marre.

y-a-t-il une belle ame pour m aider ?

http://paste.ubuntu.com/21922626/

Merci

Jose


Distributor ID:    Kubuntu 22.04.1 LTS x86_64 / Kernel: 5.15.0-56-lowlatency
produit: MacBookPro6,1 1.0 bits: 64 bits
8Go de RAM 1To HD SSD (Merci au pote qui, en 2012 m'a donné son MacBook Pro car le système était tout "buggy" ... lol ! )

Hors ligne

#2 Le 02/08/2016, à 20:50

malbo

Re : UEFI + WIN7 + 16.04.1 ... je craque

Ton Boot-Info est là :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 
    202626096 of the same hard drive for core.img. core.img is at this 
    location and looks for (,gpt4)/boot/grub.
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 7/2008: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi 
                       /EFI/ubuntu/MokManager.efi /EFI/ubuntu/fwupx64.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bkpbootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/bootx64.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 4.07
    Boot sector info:  Syslinux looks at sector 16392 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   234,441,647   234,441,647  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       411,647       409,600 EFI System partition
/dev/sda2         411,648       673,791       262,144 Microsoft Reserved Partition (Windows)
/dev/sda3         673,792   173,001,614   172,327,823 Data partition (Windows/Linux)
/dev/sda4     173,002,752   220,770,303    47,767,552 Data partition (Linux)
/dev/sda5     220,770,304   234,440,703    13,670,400 Swap partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 4127 MB, 4127195136 bytes
255 heads, 63 sectors/track, 501 cylinders, total 8060928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048     8,060,927     8,058,880   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        9CF3-510F                              vfat       SYSTEM
/dev/sda3        54AA984AAA982A8E                       ntfs       OS
/dev/sda4        627b056b-8f59-41c6-8ed2-38e3d033ac85   ext4       
/dev/sda5        10923517-9783-4c6e-9f10-920432f01477   swap       
/dev/sdb1        ACCD-1AF5                              vfat       BOOT-REPAIR
/dev/zram0       31a3309e-46c7-4a13-9336-ca4f6622982d   swap       
/dev/zram1       b4ea8e24-a182-46d1-ba11-67bf396e2ff8   swap       
/dev/zram2       0ea96cc1-762a-40c7-a3a4-a59663f717e5   swap       
/dev/zram3       86aabbc4-b531-44e6-af75-70aaf22b6f7b   swap       

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

total 0
lrwxrwxrwx 1 root root  9 Aug  2 18:10 ata-KINGSTON_SV300S37A120G_50026B723A0ACCE6 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug  2 18:10 ata-KINGSTON_SV300S37A120G_50026B723A0ACCE6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug  2 18:10 ata-KINGSTON_SV300S37A120G_50026B723A0ACCE6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug  2 18:13 ata-KINGSTON_SV300S37A120G_50026B723A0ACCE6-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug  2 18:10 ata-KINGSTON_SV300S37A120G_50026B723A0ACCE6-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug  2 18:10 ata-KINGSTON_SV300S37A120G_50026B723A0ACCE6-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Aug  2 18:10 ata-MATSHITADVD-RAM_UJ8B0_YN46_526729 -> ../../sr0
lrwxrwxrwx 1 root root  9 Aug  2 18:10 usb-USB_Flash_Disk_90761A0007A0-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug  2 18:10 usb-USB_Flash_Disk_90761A0007A0-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Aug  2 18:10 wwn-0x50026b723a0acce6 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug  2 18:10 wwn-0x50026b723a0acce6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug  2 18:10 wwn-0x50026b723a0acce6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug  2 18:13 wwn-0x50026b723a0acce6-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug  2 18:10 wwn-0x50026b723a0acce6-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Aug  2 18:10 wwn-0x50026b723a0acce6-part5 -> ../../sda5

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda4/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  627b056b-8f59-41c6-8ed2-38e3d033ac85
else
  search --no-floppy --fs-uuid --set=root 627b056b-8f59-41c6-8ed2-38e3d033ac85
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-627b056b-8f59-41c6-8ed2-38e3d033ac85' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  627b056b-8f59-41c6-8ed2-38e3d033ac85
	else
	  search --no-floppy --fs-uuid --set=root 627b056b-8f59-41c6-8ed2-38e3d033ac85
	fi
	linux	/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=627b056b-8f59-41c6-8ed2-38e3d033ac85 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-31-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-627b056b-8f59-41c6-8ed2-38e3d033ac85' {
	menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-627b056b-8f59-41c6-8ed2-38e3d033ac85' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  627b056b-8f59-41c6-8ed2-38e3d033ac85
		else
		  search --no-floppy --fs-uuid --set=root 627b056b-8f59-41c6-8ed2-38e3d033ac85
		fi
		echo	'Loading Linux 4.4.0-31-generic ...'
		linux	/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=627b056b-8f59-41c6-8ed2-38e3d033ac85 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-31-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-627b056b-8f59-41c6-8ed2-38e3d033ac85' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  627b056b-8f59-41c6-8ed2-38e3d033ac85
		else
		  search --no-floppy --fs-uuid --set=root 627b056b-8f59-41c6-8ed2-38e3d033ac85
		fi
		echo	'Loading Linux 4.4.0-31-generic ...'
		linux	/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=627b056b-8f59-41c6-8ed2-38e3d033ac85 ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-31-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-627b056b-8f59-41c6-8ed2-38e3d033ac85' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  627b056b-8f59-41c6-8ed2-38e3d033ac85
		else
		  search --no-floppy --fs-uuid --set=root 627b056b-8f59-41c6-8ed2-38e3d033ac85
		fi
		echo	'Loading Linux 4.4.0-31-generic ...'
		linux	/boot/vmlinuz-4.4.0-31-generic.efi.signed root=UUID=627b056b-8f59-41c6-8ed2-38e3d033ac85 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-31-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/25_custom ###

menuentry "Windows UEFI bkpbootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 9CF3-510F
chainloader (${root})/EFI/Microsoft/Boot/bkpbootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root 9CF3-510F
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}

menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root 9CF3-510F
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}

menuentry "EFI/ubuntu/MokManager.efi" {
search --fs-uuid --no-floppy --set=root 9CF3-510F
chainloader (${root})/EFI/ubuntu/MokManager.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-9CF3-510F' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  9CF3-510F
	else
	  search --no-floppy --fs-uuid --set=root 9CF3-510F
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

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

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

=============================== sda4/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/sda4 during installation
UUID=627b056b-8f59-41c6-8ed2-38e3d033ac85 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=10923517-9783-4c6e-9f10-920432f01477 none            swap    sw              0       0
UUID=9CF3-510F	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Boot-Repair-Disk session" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/
--------------------------------------------------------------------------------

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

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

ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-08-02__18h10 ===================
boot-repair version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/2096/mounts) leaked on lvs invocation. Parent PID 4823: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== os-prober:
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda4:Ubuntu 16.04.1 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="SYSTEM" UUID="9CF3-510F" TYPE="vfat"
/dev/sda3: LABEL="OS" UUID="54AA984AAA982A8E" TYPE="ntfs"
/dev/sda4: UUID="627b056b-8f59-41c6-8ed2-38e3d033ac85" TYPE="ext4"
/dev/sda5: UUID="10923517-9783-4c6e-9f10-920432f01477" TYPE="swap"
/dev/sdb1: LABEL="BOOT-REPAIR" UUID="ACCD-1AF5" TYPE="vfat"
/dev/zram0: UUID="31a3309e-46c7-4a13-9336-ca4f6622982d" TYPE="swap"
/dev/zram1: UUID="b4ea8e24-a182-46d1-ba11-67bf396e2ff8" TYPE="swap"
/dev/zram2: UUID="0ea96cc1-762a-40c7-a3a4-a59663f717e5" TYPE="swap"
/dev/zram3: UUID="86aabbc4-b531-44e6-af75-70aaf22b6f7b" TYPE="swap"


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

Windows not detected by os-prober on sda3.

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.

** To keep the UUID data, /mnt/boot-sav/sda4/var/log/boot-sav/mbr_backups/54AA984AAA982A8E/mbr-2012-10-20__17h41-UUIDbea096c5-33ce-4086-b6a5-9e91e9019300.img has been saved into /var/log/boot-sav/log/2016-08-02__18h10boot-repair22/UUID/54AA984AAA982A8E/
For possible backup restore /mnt/boot-sav/sda4/var/log/boot-sav/mbr_backups/54AA984AAA982A8E/mbr-2012-10-20__17h41-UUIDbea096c5-33ce-4086-b6a5-9e91e9019300.img has been saved into /var/log/boot-sav/log/2016-08-02__18h10boot-repair22/sda/
** To keep the UUID data, /mnt/boot-sav/sda4/var/log/boot-sav/mbr_backups/667cb05c-0a2d-4a21-8d2c-81dd568833b1/mbr-2012-10-20__17h41-UUIDbea096c5-33ce-4086-b6a5-9e91e9019300.img has been saved into /var/log/boot-sav/log/2016-08-02__18h10boot-repair22/UUID/667cb05c-0a2d-4a21-8d2c-81dd568833b1/
** To keep the UUID data, /mnt/boot-sav/sda4/var/log/boot-sav/mbr_backups/6A509E06509DD8E1/mbr-2012-10-20__17h41-UUIDbea096c5-33ce-4086-b6a5-9e91e9019300.img has been saved into /var/log/boot-sav/log/2016-08-02__18h10boot-repair22/UUID/6A509E06509DD8E1/
** To keep the UUID data, /mnt/boot-sav/sda4/var/log/boot-sav/mbr_backups/8882818482817808/mbr-2012-10-20__17h41-UUIDbea096c5-33ce-4086-b6a5-9e91e9019300.img has been saved into /var/log/boot-sav/log/2016-08-02__18h10boot-repair22/UUID/8882818482817808/
** To keep the UUID data, /mnt/boot-sav/sda4/var/log/boot-sav/mbr_backups/9CF3-510F/mbr-2012-10-20__17h41-UUIDbea096c5-33ce-4086-b6a5-9e91e9019300.img has been saved into /var/log/boot-sav/log/2016-08-02__18h10boot-repair22/UUID/9CF3-510F/
sda contains a backup

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bkpbootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda1/EFI/Boot/bkpbootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bkpbootmgfw.efi

=================== sda4/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Jul 19 20:50 grub.d
total 76
-rwxr-xr-x 1 root root  9791 Jun 17 09:10 00_header
-rwxr-xr-x 1 root root  6258 Mar 15 18:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
-rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
-rwxr-xr-x 1 root root  1418 Jun 17 09:10 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jun 17 09:10 40_custom
-rwxr-xr-x 1 root root   216 Jun 17 09:10 41_custom
-rw-r--r-- 1 root root   483 Jun 17 09:10 README




=================== sda4/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: 000D
Timeout: 2 seconds
BootOrder: 0001,0006,0000,000B,000D,000C
Boot0000* Windows Boot Manager	HD(1,800,64000,e9913590-2dfa-4321-81ad-53a69569c575)File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...i................
Boot0001* ubuntu	HD(1,800,64000,e9913590-2dfa-4321-81ad-53a69569c575)File(EFIubuntushimx64.efi)
Boot0006* CD/DVD Drive 	BIOS(3,0,00)AMGOAMNO........o.M.A.T.S.H.I.T.A.D.V.D.-.R.A.M. .U.J.8.B.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . .N.Y.6.4. . .2.5.7.6.9.2......AMBO
Boot000B* ubuntu	HD(1,800,64000,e9913590-2dfa-4321-81ad-53a69569c575)File(EFIUbuntugrubx64.efi)
Boot000C* Hard Drive 	BIOS(2,0,00)AMGOAMNO........i.U.S.B. .F.l.a.s.h. .D.i.s.k. .P.M.A.P....................A.......................<..Gd-.;.A..MQ..L.U.S.B. .F.l.a.s.h. .D.i.s.k. .P.M.A.P......AMBO
Boot000D* UEFI: USB Flash Disk PMAP	ACPI(a0341d0,0)PCI(14,0)USB(2,0)HD(1,800,7af800,000d1506)AMBO
=================== UEFI/Legacy mode:
Unusual EFI: Please report this message to boot.repair@gmail.com
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:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda3.
sda4	: sda,	not-sepboot,	grubenv-ok	grub2,	signed 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/sda4.

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


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

Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name                          Flags
1      1049kB  211MB   210MB   fat32           EFI system partition          boot
2      211MB   345MB   134MB                   Microsoft reserved partition  msftres
3      345MB   88.6GB  88.2GB  ntfs            Basic data partition          msftdata
4      88.6GB  113GB   24.5GB  ext4
5      113GB   120GB   6999MB  linux-swap(v1)


Model: USB Flash Disk (scsi)
Disk /dev/sdb: 4127MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      1049kB  4127MB  4126MB  primary  fat32        boot, lba



                                                                          
Error: /dev/zram0: unrecognised disk label


                                                                          
Error: /dev/zram1: unrecognised disk label


                                                                          
Error: /dev/zram2: unrecognised disk label


                                                                          
Error: /dev/zram3: unrecognised disk label

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

BYT;
/dev/sda:120GB:scsi:512:512:gpt:ATA KINGSTON SV300S3;
1:1049kB:211MB:210MB:fat32:EFI system partition:boot;
2:211MB:345MB:134MB::Microsoft reserved partition:msftres;
3:345MB:88.6GB:88.2GB:ntfs:Basic data partition:msftdata;
4:88.6GB:113GB:24.5GB:ext4::;
5:113GB:120GB:6999MB:linux-swap(v1)::;

BYT;
/dev/sdb:4127MB:scsi:512:512:msdos:USB Flash Disk;
1:1049kB:4127MB:4126MB:fat32::boot, lba;


                                                                          
Error: /dev/zram0: unrecognised disk label


                                                                          
Error: /dev/zram1: unrecognised disk label


                                                                          
Error: /dev/zram2: unrecognised disk label


                                                                          
Error: /dev/zram3: unrecognised disk label


=================== 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/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/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=lubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 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 sda3 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 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 fb1 fd full fuse hidraw0 hidraw1 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb v4l vga_arbiter vhci vhost-net video0 video1 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 04 de 19  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 40 06 00 11 03 00 00  00 00 00 00 02 00 00 00  |.@..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 0f 51 f3 9c 4e  4f 20 4e 41 4d 45 20 20  |..).Q..NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 4e 02 8a 56 40 b4 41  |{......|.N..V@.A|
00000070  bb aa 55 cd 13 72 10 81  fb 55 aa 75 0a f6 c1 01  |..U..r...U.u....|
00000080  74 05 fe 46 02 eb 2d 8a  56 40 b4 08 cd 13 73 05  |t..F..-.V@....s.|
00000090  b9 ff ff 8a f1 66 0f b6  c6 40 66 0f b6 d1 80 e2  |.....f...@f.....|
000000a0  3f f7 e2 86 cd c0 ed 06  41 66 0f b7 c9 66 f7 e1  |?.......Af...f..|
000000b0  66 89 46 f8 83 7e 16 00  75 38 83 7e 2a 00 77 32  |f.F..~..u8.~*.w2|
000000c0  66 8b 46 1c 66 83 c0 0c  bb 00 80 b9 01 00 e8 2b  |f.F.f..........+|
000000d0  00 e9 2c 03 a0 fa 7d b4  7d 8b f0 ac 84 c0 74 17  |..,...}.}.....t.|
000000e0  3c ff 74 09 b4 0e bb 07  00 cd 10 eb ee a0 fb 7d  |<.t............}|
000000f0  eb e5 a0 f9 7d eb e0 98  cd 16 cd 19 66 60 80 7e  |....}.......f`.~|
00000100  02 00 0f 84 20 00 66 6a  00 66 50 06 53 66 68 10  |.... .fj.fP.Sfh.|
00000110  00 01 00 b4 42 8a 56 40  8b f4 cd 13 66 58 66 58  |....B.V@....fXfX|
00000120  66 58 66 58 eb 33 66 3b  46 f8 72 03 f9 eb 2a 66  |fXfX.3f;F.r...*f|
00000130  33 d2 66 0f b7 4e 18 66  f7 f1 fe c2 8a ca 66 8b  |3.f..N.f......f.|
00000140  d0 66 c1 ea 10 f7 76 1a  86 d6 8a 56 40 8a e8 c0  |.f....v....V@...|
00000150  e4 06 0a cc b8 01 02 cd  13 66 61 0f 82 75 ff 81  |.........fa..u..|
00000160  c3 00 02 66 40 49 75 94  c3 42 4f 4f 54 4d 47 52  |...f@Iu..BOOTMGR|
00000170  20 20 20 20 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  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 52 65  |..............Re|
000001b0  6d 6f 76 65 20 64 69 73  6b 73 20 6f 72 20 6f 74  |move disks or ot|
000001c0  68 65 72 20 6d 65 64 69  61 2e ff 0d 0a 44 69 73  |her media....Dis|
000001d0  6b 20 65 72 72 6f 72 ff  0d 0a 50 72 65 73 73 20  |k error...Press |
000001e0  61 6e 79 20 6b 65 79 20  74 6f 20 72 65 73 74 61  |any key to resta|
000001f0  72 74 0d 0a 00 00 00 00  00 ac cb d8 00 00 55 aa  |rt............U.|
00000200

=================== hexdump -n512 -C /dev/sda3
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 48 0a 00  |........?....H..|
00000020  00 00 00 00 80 00 80 00  8e 83 45 0a 00 00 00 00  |..........E.....|
00000030  00 00 0c 00 00 00 00 00  35 f0 de 00 00 00 00 00  |........5.......|
00000040  f6 00 00 00 01 00 00 00  8e 2a 98 aa 4a 98 aa 54  |.........*..J..T|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  3.9G   13M  3.9G   1% /
udev           devtmpfs   3.9G   12K  3.9G   1% /dev
tmpfs          tmpfs      788M  1.3M  786M   1% /run
/dev/sdb1      vfat       3.9G  614M  3.3G  16% /cdrom
/dev/loop0     squashfs   549M  549M     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      3.9G  8.0K  3.9G   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs      3.9G     0  3.9G   0% /run/shm
none           tmpfs      100M   16K  100M   1% /run/user
/dev/sda1      vfat       196M   48M  149M  24% /mnt/boot-sav/sda1
/dev/sda3      fuseblk     83G   44G   39G  54% /mnt/boot-sav/sda3
/dev/sda4      ext4        23G  3.9G   18G  19% /mnt/boot-sav/sda4

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

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c1ee0

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   234441647   117220823+  ee  GPT

Disk /dev/sdb: 4127 MB, 4127195136 bytes
255 heads, 63 sectors/track, 501 cylinders, total 8060928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d1506

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048     8060927     4029440    c  W95 FAT32 (LBA)



=================== Recommended repair
The default repair of the Boot-Repair utility will purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of sda4, using the following options:        sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s


/boot/efi added in sda4/fstab
Created sda4/boot/efi
Mount sda1 on /mnt/boot-sav/sda4/boot/efi
ls /mnt/boot-sav/sda4/boot/efi/1:
ls /mnt/boot-sav/sda4/boot/efi: boot-sav
EFI  . Please report this message to boot.repair@gmail.com
chroot /mnt/boot-sav/sda4 apt-get -y --force-yes update
Purge the GRUB of sda4
grub-efi-amd64-signed available

The following additional packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
0 upgraded, 3 newly installed, 2 to remove and 3 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
DEBCHECK debOK, grub-efi-amd64-signed
DEBCHECK debOK
shim-signed available
linux-signed-generic available
Please type: sudo chroot "/mnt/boot-sav/sda4" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda4" apt-get install -fynsudo chroot "/mnt/boot-sav/sda4" apt-get purge -y --force-yes grub*-common shim-signed linux-signed*
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi

=================== sda4/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Aug  2 18:12 grub.d
total 4
-rwxr-xr-x 1 root root 1992 Jan 28  2016 20_memtest86+


/boot/efi detected in the fstab of sda4: UUID=9CF3-510F	 (sda1)
shim-signed available
linux-signed-generic available
Then type: sudo chroot "/mnt/boot-sav/sda4" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi

=================== sda4/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Aug  2 18:13 grub.d
drwxr-xr-x  2 root root    4096 Aug  2 18:12 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9791 Jun 17 09:10 00_header
-rwxr-xr-x 1 root root  6258 Mar 15 18:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
-rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
-rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
-rwxr-xr-x 1 root root  1418 Jun 17 09:10 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jun 17 09:10 40_custom
-rwxr-xr-x 1 root root   216 Jun 17 09:10 41_custom
-rw-r--r-- 1 root root   483 Jun 17 09:10 README




=================== sda4/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"



/boot/efi detected in the fstab of sda4: UUID=9CF3-510F	 (sda1)
Unhide GRUB boot menu in sda4/etc/default/grub
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi
Presence of .bkp file detected: /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi

=================== sda4/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Aug  2 18:13 grub.d
drwxr-xr-x  2 root root    4096 Aug  2 18:12 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9791 Jun 17 09:10 00_header
-rwxr-xr-x 1 root root  6258 Mar 15 18:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 Jun 17 09:10 10_linux
-rwxr-xr-x 1 root root 11082 Jun 17 09:10 20_linux_xen
-rwxr-xr-x 1 root root 11692 Jun 17 09:10 30_os-prober
-rwxr-xr-x 1 root root  1418 Jun 17 09:10 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jun 17 09:10 40_custom
-rwxr-xr-x 1 root root   216 Jun 17 09:10 41_custom
-rw-r--r-- 1 root root   483 Jun 17 09:10 README




=================== sda4/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"



/boot/efi detected in the fstab of sda4: UUID=9CF3-510F	 (sda1)
lspci: Unable to load libkmod resources: error -12

*******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
DeviceName:  Onboard IGD
Subsystem: ASUSTeK Computer Inc. 3rd Gen Core processor Graphics Controller [1043:10bc]
Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 630M] [10de:0de9] (rev a1)
Subsystem: ASUSTeK Computer Inc. GF108M [GeForce GT 630M] [1043:10bc]
Kernel driver in use: nouveau
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07)
*******

grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.1,grub-install (GRUB) 2.

chroot /mnt/boot-sav/sda4 efibootmgr -v
BootCurrent: 000D
Timeout: 2 seconds
BootOrder: 0001,0006,0000,000D,000C
Boot0000* Windows Boot Manager	HD(1,GPT,e9913590-2dfa-4321-81ad-53a69569c575,0x800,0x64000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...i................
Boot0001* ubuntu	HD(1,GPT,e9913590-2dfa-4321-81ad-53a69569c575,0x800,0x64000)/File(EFIubuntushimx64.efi)
Boot0006* CD/DVD Drive 	BBS(CDROM,,0x0)AMGOAMNO........o.M.A.T.S.H.I.T.A.D.V.D.-.R.A.M. .U.J.8.B.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . .N.Y.6.4. . .2.5.7.6.9.2......AMBO
Boot000C* Hard Drive 	BBS(HD,,0x0)AMGOAMNO........i.U.S.B. .F.l.a.s.h. .D.i.s.k. .P.M.A.P....................A.......................<..Gd-.;.A..MQ..L.U.S.B. .F.l.a.s.h. .D.i.s.k. .P.M.A.P......AMBO
Boot000D* UEFI: USB Flash Disk PMAP	PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x6,0x800,0x7af800)AMBO

chroot /mnt/boot-sav/sda4 uname -r
Kernel: 3.13.0-32-generic

Reinstall the grub-efi-amd64-signed shim-signed linux-signed-generic of sda4
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
ls /mnt/boot-sav/sda4/boot/efi/1:
ls /mnt/boot-sav/sda4/boot/efi: boot-sav
EFI  . Please report this message to boot.repair@gmail.com
Add /mnt/boot-sav/sda4/boot/efi efi entries in /mnt/boot-sav/sda4/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/Microsoft/Boot/bkpbootmgfw.efi
Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi
sda1/bkpbootx64.efi already added
sda1/bkpbootmgfw.efi already added
Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/ubuntu/MokManager.efi

efibootmgr -v
BootCurrent: 000D
Timeout: 2 seconds
BootOrder: 0001,0006,0000,000D,000C
Boot0000* Windows Boot Manager	HD(1,800,64000,e9913590-2dfa-4321-81ad-53a69569c575)File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...i................
Boot0001* ubuntu	HD(1,800,64000,e9913590-2dfa-4321-81ad-53a69569c575)File(EFIubuntushimx64.efi)
Boot0006* CD/DVD Drive 	BIOS(3,0,00)AMGOAMNO........o.M.A.T.S.H.I.T.A.D.V.D.-.R.A.M. .U.J.8.B.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . .N.Y.6.4. . .2.5.7.6.9.2......AMBO
Boot000C* Hard Drive 	BIOS(2,0,00)AMGOAMNO........i.U.S.B. .F.l.a.s.h. .D.i.s.k. .P.M.A.P....................A.......................<..Gd-.;.A..MQ..L.U.S.B. .F.l.a.s.h. .D.i.s.k. .P.M.A.P......AMBO
Boot000D* UEFI: USB Flash Disk PMAP	ACPI(a0341d0,0)PCI(14,0)USB(2,0)HD(1,800,7af800,000d1506)AMBO

chroot /mnt/boot-sav/sda4 efibootmgr -v
BootCurrent: 000D
Timeout: 2 seconds
BootOrder: 0001,0006,0000,000D,000C
Boot0000* Windows Boot Manager	HD(1,GPT,e9913590-2dfa-4321-81ad-53a69569c575,0x800,0x64000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...i................
Boot0001* ubuntu	HD(1,GPT,e9913590-2dfa-4321-81ad-53a69569c575,0x800,0x64000)/File(EFIubuntushimx64.efi)
Boot0006* CD/DVD Drive 	BBS(CDROM,,0x0)AMGOAMNO........o.M.A.T.S.H.I.T.A.D.V.D.-.R.A.M. .U.J.8.B.0....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . .N.Y.6.4. . .2.5.7.6.9.2......AMBO
Boot000C* Hard Drive 	BBS(HD,,0x0)AMGOAMNO........i.U.S.B. .F.l.a.s.h. .D.i.s.k. .P.M.A.P....................A.......................<..Gd-.;.A..MQ..L.U.S.B. .F.l.a.s.h. .D.i.s.k. .P.M.A.P......AMBO
Boot000D* UEFI: USB Flash Disk PMAP	PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x6,0x800,0x7af800)AMBO

chroot /mnt/boot-sav/sda4 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Unhide GRUB boot menu in sda4/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/shimx64.efi file!

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

Est-ce que tu vois le menu Grub au démarrage ?

Dernière modification par malbo (Le 02/08/2016, à 20:50)

Hors ligne