Windows8 Dual Boot

De WikiLICC
Ir para: navegação, pesquisa

O "Pesadelo"!!!!!

Grandes problemas a vista pois o Windows 8 necessita um sistema com UEFI + Secure Boot.

Vamos ver um caso especial. Tentando um dual-boot com Windows 8 + Ubuntu

O sistema de disco é GPT.


Ferramentas úteis

No Windows

  • diskpart
c:> diskpart
> list disk
> select disk0
> list volume
> select volume3
> assign letter U:

ver links e definicoes

  • BIOS , EFI e UEFI
  • MBR , GPT (GUID Partition Table)
  • GRUB, GRUB2, Windows Boot Manager
  • BCD (Boot Configuration Data - for windows 7 -8)
  • EasyBCD (programa para corrigir BCD)

gdisk

GPT fdisk (gdisk) version 0.8.8

Partition table scan:
 MBR: protective
 BSD: not present
 APM: not present
 GPT: present

Found valid GPT with protective MBR; using GPT. 

Command (? for help): p
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 804C5045-D966-9B40-ABA7-B09275DF413B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 8-sector boundaries
Total free space is 4170660 sectors (2.0 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
  1            2048          821247   400.0 MiB   0700  NTFS RECOVERY
  2          821248         1435647   300.0 MiB   0700  FAT2 ESP (/boot/efi)
          (----------     --------)   134   MB
  3         1697792       904041528   430.3 GiB   EF00  NTFS ACER (win8)
          (----------    ---------)    xxx
  4       904042488       904042503   8.0 KiB     8200  swap
          ( ---------    ---------)    2.0 GB 
  5       907948032       943214591   16.8 GiB    0700  LINUX  
  6       943214592       976773119   16.0 GiB    0700  Push Button Reset
          (-----------------------)

/sda6/RecoveryImage

convert gpt
create partition primary size=400
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
format fs=ntfs label="RECOVERY" quick override
assign letter=T
gpt attributes=0x8000000000000001
create partition EFI size=300
assign letter=S
format fs=fat32 label="ESP" quick override
create partition MSR size=128
create partition primary
shrink minimum=16384
assign letter=W
format fs=ntfs label="Acer" quick override
create partition primary
format fs=ntfs label="Push Button Reset" quick override
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
assign letter=R
gpt attributes=0x8000000000000001
exit

BOOT REPAIR 2

  • A listagem que segue para boot repair 2 foi a correcao depois de algumas tentativas de boot repair 1 mais abaixo.


Boot Info Script e7fc706 + Boot-Repair extra info
======================= Boot Info Summary: =========================
=> No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

   File system:       ntfs
   Boot sector type:  Windows 8/2012: NTFS
   Boot sector info:  No errors found in the Boot Parameter Block.
   Operating System:  
   Boot files:
====================== Drive/Partition Info: =======================

Drive: sda _____________________________________________________________________

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

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 1 976,773,167 976,773,167 ee GPT


GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System /dev/sda1 2,048 821,247 819,200 Data partition (Windows/Linux) /dev/sda2 821,248 1,435,647 614,400 Data partition (Windows/Linux) /dev/sda3 1,697,792 904,041,528 902,343,737 EFI System partition /dev/sda4 904,042,488 904,042,503 16 Swap partition (Linux) /dev/sda5 907,948,032 943,214,591 35,266,560 Data partition (Windows/Linux) /dev/sda6 943,214,592 976,773,119 33,558,528 Data partition (Windows/Linux)

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 D448E0C948E0AB84 ntfs RECOVERY /dev/sda2 BAE1-3B81 vfat ESP /dev/sda3 E67AE3197AE2E4F1 ntfs Acer /dev/sda5 d945a3de-e2f7-48ff-95c7-c76cb228a810 ext4 /dev/sda6 CA2AE4F52AE4E005 ntfs Push Button Reset

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

Device Mount_Point Type Options

/dev/sda2 /boot/efi vfat (rw) /dev/sda5 / ext4 (rw,errors=remount-ro)


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

 #
 # DO NOT EDIT THIS FILE
 #
 # It is automatically generated by grub-mkconfig using templates
 # from /etc/grub.d and settings from /etc/default/grub
 #
 ### BEGIN /etc/grub.d/00_header ###
 if [ -s $prefix/grubenv ]; then
   set have_grubenv=true
   load_env
 fi
 if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
 else
   set default="0"
 fi
 if [ x"${feature_menuentry_id}" = xy ]; then
   menuentry_id_option="--id"
 else
   menuentry_id_option=""
 fi
 export menuentry_id_option
 if [ "${prev_saved_entry}" ]; then
   set saved_entry="${prev_saved_entry}"
   save_env saved_entry
   set prev_saved_entry=
   save_env prev_saved_entry
   set boot_once=true
 fi
 function savedefault {
   if [ -z "${boot_once}" ]; then
     saved_entry="${chosen}"
     save_env saved_entry
   fi
 }
 function recordfail {
   set recordfail=1
   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
 }
 function load_video {
   if [ x$feature_all_video_module = xy ]; then
     insmod all_video
   else
     insmod efi_gop
     insmod efi_uga
     insmod ieee1275_fb
     insmod vbe
     insmod vga
     insmod video_bochs
     insmod video_cirrus
   fi
 }
 if [ x$feature_default_font_path = xy ] ; then
   font=unicode
 else
 insmod part_gpt
 insmod ext2
 set root='hd0,gpt5'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  d945a3de-e2f7-48ff-95c7-c76cb228a810
 else
   search --no-floppy --fs-uuid --set=root d945a3de-e2f7-48ff-95c7-c76cb228a810
 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=pt_BR
   insmod gettext
 fi
 terminal_output gfxterm
 if [ "${recordfail}" = 1 ] ; then
   set timeout=-1
 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; 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-d945a3de-e2f7-48ff-95c7-c76cb228a810' {
   recordfail
   load_video
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='hd0,gpt5'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  d945a3de-e2f7-48ff-95c7-c76cb228a810
   else
     search --no-floppy --fs-uuid --set=root d945a3de-e2f7-48ff-95c7-c76cb228a810
   fi
   linux  /boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=d945a3de-e2f7-48ff-95c7-c76cb228a810 ro  quiet splash $vt_handoff
   initrd  /boot/initrd.img-3.13.0-32-generic
 }
 submenu 'Opções avançadas para Ubuntu' $menuentry_id_option 'gnulinux-advanced-d945a3de-e2f7-48ff-95c7-c76cb228a810' {
   menuentry 'Ubuntu, com Linux 3.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-advanced-d945a3de-e2f7-48ff-95c7-c76cb228a810' {
     recordfail
     load_video
     gfxmode $linux_gfx_mode
     insmod gzio
     insmod part_gpt
     insmod ext2
     set root='hd0,gpt5'
     if [ x$feature_platform_search_hint = xy ]; then
       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  d945a3de-e2f7-48ff-95c7-c76cb228a810
     else
       search --no-floppy --fs-uuid --set=root d945a3de-e2f7-48ff-95c7-c76cb228a810
     fi
     echo  'Carregando Linux 3.13.0-32-generic ...'
     linux  /boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=d945a3de-e2f7-48ff-95c7-c76cb228a810 ro  quiet splash $vt_handoff
     echo  'Carregando ramdisk inicial ...'
     initrd  /boot/initrd.img-3.13.0-32-generic
   }
   menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-32-generic-recovery-d945a3de-e2f7-48ff-95c7-c76cb228a810' {
     recordfail
     load_video
     insmod gzio
     insmod part_gpt
     insmod ext2
     set root='hd0,gpt5'
     if [ x$feature_platform_search_hint = xy ]; then
       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  d945a3de-e2f7-48ff-95c7-c76cb228a810
     else
       search --no-floppy --fs-uuid --set=root d945a3de-e2f7-48ff-95c7-c76cb228a810
     fi
     echo  'Carregando Linux 3.13.0-32-generic ...'
     linux  /boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=d945a3de-e2f7-48ff-95c7-c76cb228a810 ro recovery nomodeset 
     echo  'Carregando ramdisk inicial ...'
     initrd  /boot/initrd.img-3.13.0-32-generic
   }
   menuentry 'Ubuntu, com Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-d945a3de-e2f7-48ff-95c7-c76cb228a810' {
     recordfail
     load_video
     gfxmode $linux_gfx_mode
     insmod gzio
     insmod part_gpt
     insmod ext2
     set root='hd0,gpt5'
     if [ x$feature_platform_search_hint = xy ]; then
       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  d945a3de-e2f7-48ff-95c7-c76cb228a810
     else
       search --no-floppy --fs-uuid --set=root d945a3de-e2f7-48ff-95c7-c76cb228a810
     fi
     echo  'Carregando Linux 3.13.0-24-generic ...'
     linux  /boot/vmlinuz-3.13.0-24-generic root=UUID=d945a3de-e2f7-48ff-95c7-c76cb228a810 ro  quiet splash $vt_handoff
     echo  'Carregando ramdisk inicial ...'
     initrd  /boot/initrd.img-3.13.0-24-generic
   }
   menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-d945a3de-e2f7-48ff-95c7-c76cb228a810' {
     recordfail
     load_video
     insmod gzio
     insmod part_gpt
     insmod ext2
     set root='hd0,gpt5'
     if [ x$feature_platform_search_hint = xy ]; then
       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  d945a3de-e2f7-48ff-95c7-c76cb228a810
     else
       search --no-floppy --fs-uuid --set=root d945a3de-e2f7-48ff-95c7-c76cb228a810
     fi
     echo  'Carregando Linux 3.13.0-24-generic ...'
     linux  /boot/vmlinuz-3.13.0-24-generic root=UUID=d945a3de-e2f7-48ff-95c7-c76cb228a810 ro recovery nomodeset 
     echo  'Carregando ramdisk inicial ...'
     initrd  /boot/initrd.img-3.13.0-24-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/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 ###

========================= sda5/etc/fstab: ==========================

  1. /etc/fstab: static file system information.
  2. Use 'blkid' to print the universally unique identifier for a
  3. device; this may be used with UUID= as a more robust way to name devices
  4. that works even if disks are added and removed. See fstab(5).
  5. <file system> <mount point> <type> <options> <dump> <pass>
  6. / was on /dev/sda7 during installation

UUID=d945a3de-e2f7-48ff-95c7-c76cb228a810 / ext4 errors=remount-ro 0 1

  1. /boot/efi was on /dev/sda2 during installation
  2. UUID=BAE1-3B81 /boot/efi vfat defaults 0 1
  3. swap was on /dev/sda6 during installation

UUID=2af6128e-f3d6-4eca-a7af-9d5ddc1d51f8 none swap sw 0 0 UUID=BAE1-3B81 /boot/efi vfat defaults 0 1


============= sda5: Location of files loaded by Grub: ==============
          GiB - GB             File                                 Fragment(s)
========================= StdErr Messages: =========================

cat: /tmp/BootInfo-H6tjRrKi/Tmp_Log: No such file or directory

ADDITIONAL INFORMATION :

============= log of boot-repair 2014-07-24__15h04 =============
boot-repair version : 3.199~ppa40~saucy
boot-sav version : 3.199~ppa40~saucy
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 3.199~ppa40~saucy
boot-repair is executed in installed-session (Ubuntu 14.04.1 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.13.0-32-generic.efi.signed root=UUID=d945a3de-e2f7-48ff-95c7-c76cb228a810 ro quiet splash vt.handoff=7
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== os-prober:

/dev/sda5:o SO atualmente em uso - Ubuntu 14.04.1 LTS CurrentSession:linux

=================== blkid:

/dev/sda1: LABEL="RECOVERY" UUID="D448E0C948E0AB84" TYPE="ntfs"
/dev/sda2: LABEL="ESP" UUID="BAE1-3B81" TYPE="vfat"
/dev/sda3: LABEL="Acer" UUID="E67AE3197AE2E4F1" TYPE="ntfs"
/dev/sda5: UUID="d945a3de-e2f7-48ff-95c7-c76cb228a810" TYPE="ext4"
/dev/sda6: LABEL="Push Button Reset" UUID="CA2AE4F52AE4E005" TYPE="ntfs"


1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 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.


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


=================== /etc/grub.d/ :

drwxr-xr-x  2 root root     4096 Jul 24 04:29 grub.d
drwxr-xr-x  2 root root     4096 Jul 24 04:25 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9424 Mai 15 16:02 00_header
-rwxr-xr-x 1 root root  6058 Mai  8 09:08 05_debian_theme
-rwxr-xr-x 1 root root 11608 Mai 15 16:02 10_linux
-rwxr-xr-x 1 root root 10412 Mai 15 16:02 20_linux_xen
-rwxr-xr-x 1 root root 11692 Mai 15 16:02 30_os-prober
-rwxr-xr-x 1 root root  1416 Mai 15 16:02 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Mai 15 16:02 40_custom
-rwxr-xr-x 1 root root   216 Mai 15 16:02 41_custom
-rw-r--r-- 1 root root   483 Mai 15 16:02 README


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

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=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 sda5: UUID=BAE1-3B81	 (sda2)
 Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
 Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
 efibootmgr -v
 BootCurrent: 0003
 BootOrder: 0003,0001,0000
 Boot0000* Windows Boot Manager	HD(2,c8800,96000,3214e740-d337-5b47-ae09-f040987740d8)File(EFIMicrosoftBootbootmgfw.efi)RC
 Boot0001* HDD0: 	HD(2,c8800,96000,3214e740-d337-5b47-ae09-f040987740d8)File(EFIubuntugrubx64.efi)RC
 Boot0003* ubuntu	HD(2,c8800,96000,3214e740-d337-5b47-ae09-f040987740d8)File(EFIubuntushimx64.efi)

=================== UEFI/Legacy mode:

 Unusual EFI: Por favor reporte essa mensagem a boot.repair@gmail.com
 BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
 SecureBoot enabled.


=================== PARTITIONS & DISKS:

 sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	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,	.
 sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	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.
 sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-maybe-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,	/boot/efi.
 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,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda3.
 sda6	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda6.
 sda	: GPT,	no-BIOS_boot,	has-maybe-EFI, 	not-usb,	has-os,	2048 sectors * 512 bytes


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

 Model: ATA ST500LT012-9WS14 (scsi)
 Disk /dev/sda: 500GB
 Sector size (logical/physical): 512B/4096B
 Partition Table: gpt
 Number  Start   End    Size    File system  Name  Flags
 1      1049kB  420MB  419MB   ntfs               msftdata
 2      420MB   735MB  315MB   fat32              msftdata
 3      869MB   463GB  462GB   ntfs               boot
 4      463GB   463GB  8192B
 5      465GB   483GB  18.1GB  ext4               msftdata
 6      483GB   500GB  17.2GB  ntfs               msftdata

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

 BYT;
 /dev/sda:500GB:scsi:512:4096:gpt:ATA ST500LT012-9WS14;
 1:1049kB:420MB:419MB:ntfs::msftdata;
 2:420MB:735MB:315MB:fat32::msftdata;
 3:869MB:463GB:462GB:ntfs::boot;
 4:463GB:463GB:8192B:::;
 5:465GB:483GB:18.1GB:ext4::msftdata;
 6:483GB:500GB:17.2GB:ntfs::msftdata;


=================== mount:

 /dev/sda5 on / type ext4 (rw,errors=remount-ro)
 proc on /proc type proc (rw,noexec,nosuid,nodev)
 sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
 none on /sys/fs/cgroup type tmpfs (rw)
 none on /sys/fs/fuse/connections type fusectl (rw)
 none on /sys/kernel/debug type debugfs (rw)
 none on /sys/kernel/security type securityfs (rw)
 none on /sys/firmware/efi/efivars type efivarfs (rw)
 udev on /dev type devtmpfs (rw,mode=0755)
 devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
 tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
 none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
 none on /run/shm type tmpfs (rw,nosuid,nodev)
 none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
 none on /sys/fs/pstore type pstore (rw)
 /dev/sda2 on /boot/efi type vfat (rw)
 systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
 gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ana)
 /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
 /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
 /dev/sda6 on /mnt/boot-sav/sda6 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== ls:

 /sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 size slaves stat subsystem trace uevent
 /dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse 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 sda6 sg0 shm snapshot snd stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
 ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1

 00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
 00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
 00000020  00 00 00 00 80 00 80 00  ff 7f 0c 00 00 00 00 00  |................|
 00000030  55 85 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U...............|
 00000040  f6 00 00 00 01 00 00 00  84 ab e0 48 c9 e0 48 d4  |...........H..H.|
 00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
 00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
 00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
 00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
 00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
 000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
 000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
 000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
 000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
 000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
 000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
 00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
 00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
 00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
 00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
 00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
 00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
 00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
 00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
 00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
 00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
 000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
 000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
 000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
 000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
 000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
 00000200
 ls /boot/efi/1:

=================== hexdump -n512 -C /dev/sda2

 00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 5e 1b  |.X.MSDOS5.0...^.|
 00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 0c 00  |........?.......|
 00000020  00 60 09 00 51 02 00 00  00 00 00 00 02 00 00 00  |.`..Q...........|
 00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 00000040  80 01 29 81 3b e1 ba 4e  4f 20 4e 41 4d 45 20 20  |..).;..NO NAME  |
 00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
 00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
 00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
 00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
 00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
 000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
 000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
 000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
 000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
 000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
 000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
 00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
 00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
 00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
 00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
 00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
 00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
 00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
 00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
 00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 *
 000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
 000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
 000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
 000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
 000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 000001f0  00 00 00 00 00 00 00 00  ac 01 b9 01 00 00 55 aa  |..............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 e8 19 00  |........?.......|
 00000020  00 00 00 00 80 00 80 00  38 ac c8 35 00 00 00 00  |........8..5....|
 00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
 00000040  f6 00 00 00 01 00 00 00  f1 e4 e2 7a 19 e3 7a e6  |...........z..z.|
 00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
 00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
 00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
 00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
 00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
 000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
 000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
 000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
 000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
 000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
 000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
 00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
 00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
 00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
 00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
 00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
 00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
 00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
 00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
 00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
 00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
 000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
 000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
 000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
 000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
 000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
 00000200

=================== hexdump -n512 -C /dev/sda6

 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 50 38 38  |........?....P88|
 00000020  00 00 00 00 80 00 80 00  ff 0f 00 02 00 00 00 00  |................|
 00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
 00000040  f6 00 00 00 01 00 00 00  05 e0 e4 2a f5 e4 2a ca  |...........*..*.|
 00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
 00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
 00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
 00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
 00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
 000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
 000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
 000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
 000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
 000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
 000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
 00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
 00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
 00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
 00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
 00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
 00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
 00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
 00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
 00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
 00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
 000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
 000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
 000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
 000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
 000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............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
 /dev/sda5      ext4       17G  4.5G   12G  29% /
 none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
 udev           devtmpfs  899M   12K  899M   1% /dev
 tmpfs          tmpfs     182M  1.1M  181M   1% /run
 none           tmpfs     5.0M     0  5.0M   0% /run/lock
 none           tmpfs     910M  152K  910M   1% /run/shm
 none           tmpfs     100M   48K  100M   1% /run/user
 /dev/sda2      vfat      296M   53M  244M  18% /boot/efi
 /dev/sda1      fuseblk   400M  271M  130M  68% /mnt/boot-sav/sda1
 /dev/sda3      fuseblk   431G   22G  409G   6% /mnt/boot-sav/sda3
 /dev/sda6      fuseblk    17G   15G  1.9G  89% /mnt/boot-sav/sda6

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

 Disk /dev/sda: 500.1 GB, 500107862016 bytes
 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 4096 bytes
 I/O size (minimum/optimal): 4096 bytes / 4096 bytes
 Disk identifier: 0xd37bc0b9
 Device Boot      Start         End      Blocks   Id  System
 /dev/sda1               1   976773167   488386583+  ee  GPT
 Partition 1 does not start on physical sector boundary.


=================== Advice displayed in case of recommended repair

 Por favor, desabilite SecureBoot no BIOS. E tente novamenteDeseja continuar?

=================== Final advice in case of recommended repair

 Por favor, não esqueça de fazer sua inicialização de BIOS no arquivo sda2/efi/.../grub*.efi!
 Os ficheiros de inicialização de [o SO atualmente em uso - Ubuntu 14.04.1 LTS] encontram-se longe do início do disco. A sua BIOS pode não os detectar. Pode voltar a tentar após ter criado uma partição /boot (EXT4, >200MB, início do disco). Isto pode ser feito via ferramentas como gParted. Depois seleccione esta partição através da opção [Partição /boot separada:] de [Reparador de inicialização]. (https://help.ubuntu.com/community/BootPartition)
 Talvez você queira tentar novamente depois de ativar a opção [Fazer o backup e renomear os ficheiros EFI Windows].

=================== Default settings

 Recommended-Repair
 This setting would purge (in order to sign-grub upgrade version) and reinstall the grub-efi-amd64-signed of sda5, using the following options: upgrade-grub       sda2/boot/efi,
 Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot

=================== Settings chosen by the user

 Boot-Info
 This setting will not act on the MBR.

BOOT REPAIR 1

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

======================= Boot Info Summary: =========================
=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

   File system:       ntfs
   Boot sector type:  Windows 8/2012: NTFS
   Boot sector info:  According to the info in the boot sector, sda1 has 
                      819199 sectors, but according to the info from fdisk, 
                      it has 1048575 sectors.
   Operating System:  
   Boot files:        

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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


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

Drive: sda _____________________________________________________________________

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   976,773,167   976,773,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048     1,050,623     1,048,576 EFI System partition
/dev/sda2       1,050,624   972,816,383   971,765,760 EFI System partition
/dev/sda3     972,816,384   976,771,071     3,954,688 EFI System partition

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL
/dev/loop0                                              squashfs   
/dev/sda1        D448E0C948E0AB84                       ntfs       RECOVERY
========================== 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)
================== Unknown MBRs/Boot Sectors/etc: ==================
Unknown BootLoader on sda2 

00000000  00 72 00 65 00 6e 00 74  00 56 00 65 00 72 00 73  |.r.e.n.t.V.e.r.s|
00000010  00 69 00 6f 00 6e 00 5c  00 55 00 6e 00 69 00 6e  |.i.o.n.\.U.n.i.n|
00000020  00 73 00 74 00 61 00 6c  00 6c 00 0a 00 50 00 72  |.s.t.a.l.l...P.r|
00000030  00 6f 00 63 00 65 00 73  00 73 00 20 00 39 00 38  |.o.c.e.s.s. .9.8|
00000040  00 30 00 20 00 28 00 5c  00 44 00 65 00 76 00 69  |.0. .(.\.D.e.v.i|
00000050  00 63 00 65 00 5c 00 48  00 61 00 72 00 64 00 64  |.c.e.\.H.a.r.d.d|
00000060  00 69 00 73 00 6b 00 56  00 6f 00 6c 00 75 00 6d  |.i.s.k.V.o.l.u.m|
00000070  00 65 00 32 00 5c 00 57  00 69 00 6e 00 64 00 6f  |.e.2.\.W.i.n.d.o|
00000080  00 77 00 73 00 5c 00 53  00 79 00 73 00 74 00 65  |.w.s.\.S.y.s.t.e|
00000090  00 6d 00 33 00 32 00 5c  00 73 00 76 00 63 00 68  |.m.3.2.\.s.v.c.h|
000000a0  00 6f 00 73 00 74 00 2e  00 65 00 78 00 65 00 29  |.o.s.t...e.x.e.)|
000000b0  00 20 00 68 00 61 00 73  00 20 00 6f 00 70 00 65  |. .h.a.s. .o.p.e|
000000c0  00 6e 00 65 00 64 00 20  00 6b 00 65 00 79 00 20  |.n.e.d. .k.e.y. |
000000d0  00 5c 00 52 00 45 00 47  00 49 00 53 00 54 00 52  |.\.R.E.G.I.S.T.R|
000000e0  00 59 00 5c 00 55 00 53  00 45 00 52 00 5c 00 53  |.Y.\.U.S.E.R.\.S|
000000f0  00 2d 00 31 00 2d 00 35  00 2d 00 32 00 31 00 2d  |.-.1.-.5.-.2.1.-|
00000100  00 34 00 30 00 34 00 31  00 37 00 34 00 36 00 30  |.4.0.4.1.7.4.6.0|
00000110  00 39 00 35 00 2d 00 32  00 36 00 33 00 34 00 30  |.9.5.-.2.6.3.4.0|
00000120  00 37 00 32 00 35 00 31  00 39 00 2d 00 31 00 37  |.7.2.5.1.9.-.1.7|
00000130  00 37 00 36 00 32 00 31  00 35 00 32 00 38 00 30  |.7.6.2.1.5.2.8.0|
00000140  00 2d 00 35 00 30 00 30  00 5c 00 53 00 6f 00 66  |.-.5.0.0.\.S.o.f|
00000150  00 74 00 77 00 61 00 72  00 65 00 5c 00 4d 00 69  |.t.w.a.r.e.\.M.i|
00000160  00 63 00 72 00 6f 00 73  00 6f 00 66 00 74 00 5c  |.c.r.o.s.o.f.t.\|
00000170  00 57 00 69 00 6e 00 64  00 6f 00 77 00 73 00 5c  |.W.i.n.d.o.w.s.\|
00000180  00 43 00 75 00 72 00 72  00 65 00 6e 00 74 00 56  |.C.u.r.r.e.n.t.V|
00000190  00 65 00 72 00 73 00 69  00 6f 00 6e 00 5c 00 49  |.e.r.s.i.o.n.\.I|
000001a0  00 6e 00 74 00 65 00 72  00 6e 00 65 00 74 00 20  |.n.t.e.r.n.e.t. |
000001b0  00 53 00 65 00 74 00 74  00 69 00 6e 00 67 00 73  |.S.e.t.t.i.n.g.s|
000001c0  00 5c 00 43 00 6f 00 6e  00 6e 00 65 00 63 00 74  |.\.C.o.n.n.e.c.t|
000001d0  00 69 00 6f 00 6e 00 73  00 0a 00 00 00 00 00 35  |.i.o.n.s.......5|
000001e0  00 6c 00 2f 80 07 00 00  2a 2a 00 00 40 01 00 00  |.l./....**..@...|
000001f0  f3 e7 02 00 00 00 00 00  b6 0d 19 ac f2 f2 ce 01  |................|
00000200
Unknown BootLoader on sda3

00000000  60 9d dc 5f b5 d3 02 9e  c9 07 6f 50 fe d6 09 0f  |`.._......oP....|
00000010  04 03 2a b0 bc 1e 14 a1  27 09 47 19 cb f2 cb 80  |..*.....'.G.....|
00000020  d9 e5 75 35 ed 50 74 f3  3e 44 1a 4a db 82 82 49  |..u5.Pt.>D.J...I|
00000030  c1 54 f0 a9 18 47 7b 3a  70 93 4a 2f 59 a0 9f cc  |.T...G{:p.J/Y...|
00000040  eb d9 e8 4e 09 0a 64 f0  b6 e6 7b 68 b3 b5 43 d4  |...N..d...{h..C.|
00000050  6a d8 e7 9f 0f d9 33 28  37 78 c3 4c 38 be 01 6e  |j.....3(7x.L8..n|
00000060  14 e6 cb 76 8a 39 63 4e  9b 35 3f 9f ac b7 ce 66  |...v.9cN.5?....f|
00000070  ea 3d ce 36 4d b9 a0 b4  cc 39 1e 21 d0 b4 e6 32  |.=.6M....9.!...2|
00000080  88 74 1a 4e 00 80 cd d0  ef 4c e9 69 12 f8 89 1b  |.t.N.....L.i....|
00000090  4a 44 b7 8c 67 b4 e8 0f  34 43 1f 09 2d 7d 32 11  |JD..g...4C..-}2.|
000000a0  f4 4e bd 31 01 9b 39 f3  41 99 e8 35 cd be 37 38  |.N.1..9.A..5..78|
000000b0  8f 7b 0e 62 a3 9d 84 4d  3a 04 10 78 23 60 34 f4  |.{.b...M:..x#`4.|
000000c0  52 c0 99 4e 3e c6 99 c9  d7 e1 2a e8 d2 b5 19 d4  |R..N>.....*.....|
000000d0  14 7a e4 0c 5d 61 42 28  bc 15 18 07 2c 98 4e 3a  |.z..]aB(....,.N:|
000000e0  05 52 7b e5 b5 44 03 dd  c3 3b 54 f6 a4 06 65 93  |.R{..D...;T...e.|
000000f0  51 c0 d9 37 4d 48 86 ad  a0 17 32 22 e9 e9 43 0d  |Q..7MH....2"..C.|
00000100  66 be a8 3b a1 87 6a f4  05 00 f4 9b 25 c2 c1 08  |f..;..j.....%...|
00000110  7c 06 66 ba 3a 5c b1 53  67 00 a5 ba dd 39 a3 ab  ||.f.:\.Sg....9..|
00000120  5e 0e 30 58 bd 5d 12 13  5b ae 85 31 d0 52 08 66  |^.0X.]..[..1.R.f|
00000130  fd 77 93 47 a9 d6 4f fa  68 7d 0f 5a 6e 6c 11 b6  |.w.G..O.h}.Znl..|
00000140  09 7b 07 ed 5c 5a d7 d7  f5 98 68 e8 da a9 7c 8b  |.{..\Z....h...|.|
00000150  ce ca 49 36 8b 53 9b 46  54 ee 77 fe bf 34 49 b6  |..I6.S.FT.w..4I.|
00000160  2a 74 f0 d9 fa ea e9 bc  21 db d1 c6 42 0a 38 0c  |*t......!...B.8.|
00000170  3d 19 42 23 bc 14 58 66  34 1d 6f 10 8b 33 25 d9  |=.B#..Xf4.o..3%.|
00000180  d8 f7 00 19 d9 f6 c8 c3  5e f3 c0 d7 f5 7c 8e 73  |........^....|.s|
00000190  50 55 fe ac 46 27 8d 32  b5 dd 50 3d fb 84 01 53  |PU..F'.2..P=...S|
000001a0  6b ec a6 a7 f4 fb 85 b6  b4 fb 9b 4b 9e d8 d7 f5  |k..........K....|
000001b0  b7 28 b0 2c 29 ff 12 8e  9d 96 02 6c d4 3a d2 d5  |.(.,)......l.:..|
000001c0  4e eb 79 ea 18 65 fb 9f  df 0e d4 da f4 15 06 0a  |N.y..e..........|
000001d0  16 d2 5c 9f 36 c9 6a e7  83 a3 6f 23 94 dd be 59  |..\.6.j...o#...Y|
000001e0  be 74 a4 eb d8 d1 7b c0  f6 2d ee ee ae 22 34 71  |.t....{..-..."4q|
000001f0  6d 55 be ac 54 73 37 96  6a 36 69 7b a9 01 9d 25  |mU..Ts7.j6i{...%|
00000200


============= log of boot-repair 2014-07-24__05h07 =============
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk doesn't support GPT. Use GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

================== 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 enabled.

=================== PARTITIONS & DISKS:

sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	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.

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


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

Model: ATA ST500LT012-9WS14 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/4096B Partition Table: gpt

Number Start End Size File system Name Flags 1 1049kB 538MB 537MB ntfs boot 2 538MB 498GB 498GB boot 3 498GB 500GB 2025MB boot


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

Number Start End Size Type File system Flags 1 1143kB 2013MB 2012MB primary fat32 boot

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

BYT; /dev/sda:500GB:scsi:512:4096:gpt:ATA ST500LT012-9WS14; 1:1049kB:538MB:537MB:ntfs::boot; 2:538MB:498GB:498GB:::boot; 3:498GB:500GB:2025MB:::boot;

BYT; /dev/sdb:2013MB:scsi:512:512:msdos:Generic Flash Disk; 1:1143kB:2013MB:2012MB:fat32::boot;


=================== 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=ubuntu) /dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== ls: /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 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 /dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse 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 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhost-net video0 zero ls /dev/mapper: control

=================== hexdump -n512 -C /dev/sda1 00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....| 00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......| 00000020 00 00 00 00 80 00 80 00 ff 7f 0c 00 00 00 00 00 |................| 00000030 55 85 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |U...............| 00000040 f6 00 00 00 01 00 00 00 84 ab e0 48 c9 e0 48 d4 |...........H..H.| 00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..| 00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N| 00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...| 00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......| 00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........| 000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..| 000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.| 000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............| 000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-| 000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..| 000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf| 00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..| 00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.| 00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...| 00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...| 00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.| 00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........| 00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......| 00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.| 00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di| 00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc| 000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR| 000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..| 000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+| 000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..| 000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............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 910M 231M 679M 26% / udev devtmpfs 898M 12K 898M 1% /dev tmpfs tmpfs 182M 1.1M 181M 1% /run /dev/sdb1 vfat 1.9G 1.1G 799M 59% /cdrom /dev/loop0 squashfs 923M 923M 0 100% /rofs none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup tmpfs tmpfs 910M 1.2M 909M 1% /tmp none tmpfs 5.0M 0 5.0M 0% /run/lock none tmpfs 910M 76K 910M 1% /run/shm none tmpfs 100M 76K 100M 1% /run/user /dev/sda1 fuseblk 400M 271M 130M 68% /mnt/boot-sav/sda1

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

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

Device Boot Start End Blocks Id System /dev/sda1 1 976773167 488386583+ ee GPT Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 2013 MB, 2013265920 bytes 16 heads, 15 sectors/track, 16384 cylinders, total 3932160 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: 0x69c3c5c1

Device Boot Start End Blocks Id System /dev/sdb1 * 2232 3932159 1964964 b W95 FAT32


No OS or WinEFI system adding: log/ (stored 0%) adding: log/2014-07-24__05h07boot-repair09/ (stored 0%) adding: log/2014-07-24__05h07boot-repair09/sda1/ (stored 0%) adding: log/2014-07-24__05h07boot-repair09/sda/ (stored 0%) adding: log/2014-07-24__05h07boot-repair09/sda/partition_table.dmp (deflated 57%) adding: log/2014-07-24__05h07boot-repair09/sda/current_mbr.img (deflated 100%) adding: log/2014-07-24__05h07boot-repair09/boot-repair.log zip warning: file size changed while zipping log/2014-07-24__05h07boot-repair09/boot-repair.log (deflated 67%)

=================== Default settings Recommended-Repair This setting would not act on the MBR. Additional repair would be performed: repair-filesystems

=================== Settings chosen by the user Custom-Repair This setting will not act on the MBR. Additional repair will be performed: repair-filesystems


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

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


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

Boot successfully repaired.

You can now reboot your computer.