Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
============================= Boot Info Summary: ===============================
=> Grub Legacy is installed in the MBR of /dev/sda and looks at sector
465527728 of the same hard drive for the stage2 file, but no stage2 files
can be found at this location..
=> Grub Legacy is installed in the MBR of /dev/sdb. //это у меня выносной хард был подключён с убунту на борту (забыл в этот раз отключить его). Кстати, тоже не грузится граб.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: According to the info in the boot sector, sda1 starts
at sector 0. But according to the info from fdisk,
sda1 starts at sector 2048.
Operating System:
Boot files: /EFI/BOOT/BOOTIA32.efi /EFI/BOOT/bkpbootx64.efi
/EFI/BOOT/bootx64.efi /EFI/BOOT/fallback.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
/boot-sav/log/2016-02-01__07h30boot-repair11/sda1/bootx
64.efi
sda2: __________________________________________________________________________
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: /bootmgr /Windows/System32/winload.exe
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:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 17.3 Rosa
Boot files: /boot/grub/grub.cfg /etc/fstab
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb4: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.07 2013-07-25
Boot sector info: Syslinux looks at sector 3130992 of /dev/sdb4 for its
second stage. SYSLINUX is installed in the /isolinux
directory. No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /EFI/BOOT/grubx64.efi
============================ 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 8,390,655 8,388,608 EFI System partition
/dev/sda2 8,390,663 492,482,566 484,091,904 Data partition (Windows/Linux)
/dev/sda3 492,482,574 914,767,871 422,285,298 Data partition (Windows/Linux)
/dev/sda4 935,127,040 972,775,423 37,648,384 Data partition (Linux)
/dev/sda5 972,775,424 976,773,133 3,997,710 Swap partition (Linux)
/dev/sda6 914,767,872 935,127,039 20,359,168 Data partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 31.2 GB, 31229607936 bytes
255 heads, 63 sectors/track, 3796 cylinders, total 60995328 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/sdb4 * 256 60,995,327 60,995,072 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 5541-047F vfat
/dev/sda2 D82AF3302AF309F0 ntfs
/dev/sda3 BC7E2A5D7E2A1126 ntfs Data
/dev/sda4 a802fbd9-2e2a-4453-9f40-d636d4d4cb91 ext4
/dev/sda5 a7807fc2-7e54-4019-a42b-dc8231fe9bef swap
/dev/sda6 04a24e66-608a-44c3-b2c1-f39af2da41ed ext4 /home
/dev/sdb4 B4FE-5315 vfat Linux Mint
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Feb 1 20:41 ata-ST500LT012-1DG142_S3PSMGQT -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 1 2016 ata-ST500LT012-1DG142_S3PSMGQT-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 1 20:41 ata-ST500LT012-1DG142_S3PSMGQT-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 1 20:41 ata-ST500LT012-1DG142_S3PSMGQT-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 1 2016 ata-ST500LT012-1DG142_S3PSMGQT-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Feb 1 2016 ata-ST500LT012-1DG142_S3PSMGQT-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Feb 1 2016 ata-ST500LT012-1DG142_S3PSMGQT-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 Feb 1 20:39 usb-Kingston_DataTraveler_2.0_50E549513774EF61B949C87A-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb 1 2016 usb-Kingston_DataTraveler_2.0_50E549513774EF61B949C87A-0:0-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 9 Feb 1 20:41 wwn-0x5000c50080eaae04 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 1 2016 wwn-0x5000c50080eaae04-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 1 20:41 wwn-0x5000c50080eaae04-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 1 20:41 wwn-0x5000c50080eaae04-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 1 2016 wwn-0x5000c50080eaae04-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Feb 1 2016 wwn-0x5000c50080eaae04-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Feb 1 2016 wwn-0x5000c50080eaae04-part6 -> ../../sda6
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb4 /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 a802fbd9-2e2a-4453-9f40-d636d4d4cb91
else
search --no-floppy --fs-uuid --set=root a802fbd9-2e2a-4453-9f40-d636d4d4cb91
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
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_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 'Linux Mint 17.3 Cinnamon 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a802fbd9-2e2a-4453-9f40-d636d4d4cb91' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
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 a802fbd9-2e2a-4453-9f40-d636d4d4cb91
else
search --no-floppy --fs-uuid --set=root a802fbd9-2e2a-4453-9f40-d636d4d4cb91
fi
linux /boot/vmlinuz-3.19.0-32-generic root=UUID=a802fbd9-2e2a-4453-9f40-d636d4d4cb91 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.19.0-32-generic
}
submenu 'Advanced options for Linux Mint 17.3 Cinnamon 64-bit' $menuentry_id_option 'gnulinux-advanced-a802fbd9-2e2a-4453-9f40-d636d4d4cb91' {
menuentry 'Linux Mint 17.3 Cinnamon 64-bit, with Linux 3.19.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-32-generic-advanced-a802fbd9-2e2a-4453-9f40-d636d4d4cb91' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
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 a802fbd9-2e2a-4453-9f40-d636d4d4cb91
else
search --no-floppy --fs-uuid --set=root a802fbd9-2e2a-4453-9f40-d636d4d4cb91
fi
echo 'Loading Linux 3.19.0-32-generic ...'
linux /boot/vmlinuz-3.19.0-32-generic root=UUID=a802fbd9-2e2a-4453-9f40-d636d4d4cb91 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-32-generic
}
menuentry 'Linux Mint 17.3 Cinnamon 64-bit, with Linux 3.19.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-32-generic-recovery-a802fbd9-2e2a-4453-9f40-d636d4d4cb91' {
recordfail
load_video
insmod gzio
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 a802fbd9-2e2a-4453-9f40-d636d4d4cb91
else
search --no-floppy --fs-uuid --set=root a802fbd9-2e2a-4453-9f40-d636d4d4cb91
fi
echo 'Loading Linux 3.19.0-32-generic ...'
linux /boot/vmlinuz-3.19.0-32-generic root=UUID=a802fbd9-2e2a-4453-9f40-d636d4d4cb91 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.19.0-32-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/25_custom ###
menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 5541-047F
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry "EFI/BOOT/bkpbootx64.efi" {
search --fs-uuid --no-floppy --set=root 5541-047F
chainloader (${root})/EFI/BOOT/bkpbootx64.efi
}
menuentry "EFI/BOOT/BOOTIA32.efi" {
search --fs-uuid --no-floppy --set=root 5541-047F
chainloader (${root})/EFI/BOOT/BOOTIA32.efi
}
menuentry "EFI/BOOT/fallback.efi" {
search --fs-uuid --no-floppy --set=root 5541-047F
chainloader (${root})/EFI/BOOT/fallback.efi
}
menuentry "EFI/ubuntu/MokManager.efi" {
search --fs-uuid --no-floppy --set=root 5541-047F
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-5541-047F' {
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 5541-047F
else
search --no-floppy --fs-uuid --set=root 5541-047F
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 ###
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 ###
--------------------------------------------------------------------------------
=============================== 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=a802fbd9-2e2a-4453-9f40-d636d4d4cb91 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=5541-047F /boot/efi vfat defaults 0 1
# /home was on /dev/sda6 during installation
UUID=04a24e66-608a-44c3-b2c1-f39af2da41ed /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=a7807fc2-7e54-4019-a42b-dc8231fe9bef none swap sw 0 0
UUID=5541-047F /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
=========================== sdb4/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 "Start Linux Mint 17.3 Cinnamon 64-bit" {
set gfxpayload=keep
linux /casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
menuentry "Start Linux Mint 17.3 Cinnamon 64-bit (compatibility mode)" {
linux /casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper xforcevesa iso-scan/filename=${iso_path} ramdisk_size=1048576 root=/dev/ram rw noapic noacpi nosplash irqpoll --
initrd /casper/initrd.lz
}
menuentry "Check the integrity of the medium" {
linux /casper/vmlinuz boot=casper integrity-check iso-scan/filename=${iso_path} quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/3706/mounts) leaked on lvs invocation. Parent PID 16465: bash
File descriptor 63 (pipe:[44558]) leaked on lvs invocation. Parent PID 16465: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-02-01__20h39 ===================
boot-repair version : 4ppa35
boot-sav version : 4ppa35
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version :
boot-repair is executed in live-session (Linux Mint 17.3 Rosa, rosa, LinuxMint, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename= quiet splash --
ls: cannot access /home/usr/.config: No such file or directory
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:Linux Mint 17.3 Rosa (17.3):LinuxMint:linux
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="5541-047F" TYPE="vfat"
/dev/sda2: UUID="D82AF3302AF309F0" TYPE="ntfs"
/dev/sda3: LABEL="Data" UUID="BC7E2A5D7E2A1126" TYPE="ntfs"
/dev/sda4: UUID="a802fbd9-2e2a-4453-9f40-d636d4d4cb91" TYPE="ext4"
/dev/sda5: UUID="a7807fc2-7e54-4019-a42b-dc8231fe9bef" TYPE="swap"
/dev/sda6: LABEL="/home" UUID="04a24e66-608a-44c3-b2c1-f39af2da41ed" TYPE="ext4"
/dev/sdb4: LABEL="Linux Mint" UUID="B4FE-5315" TYPE="vfat"
1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
Windows not detected by os-prober on sda2.
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.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.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/BOOTIA32.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fallback.efi
Presence of bkp file detected: /mnt/boot-sav/sda1/EFI/BOOT/bkpbootx64.efi
=================== sda4/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Feb 1 20:11 grub.d
total 92
-rwxr-xr-x 1 root root 9791 Dec 17 15:00 00_header
-rwxr-xr-x 1 root root 6058 May 13 2015 05_debian_theme
-rwxr-xr-x 1 root root 1180 Oct 25 2014 06_mint_theme
-rwxr-xr-x 1 root root 11620 Feb 1 20:08 10_linux
-rwxr-xr-x 1 root root 10634 Oct 1 2012 10_lupin
-rwxr-xr-x 1 root root 10412 Jun 26 2015 20_linux_xen
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jun 26 2015 30_os-prober
-rwxr-xr-x 1 root root 1416 Jun 26 2015 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jun 26 2015 40_custom
-rwxr-xr-x 1 root root 216 Jun 26 2015 41_custom
-rw-r--r-- 1 root root 483 Jun 26 2015 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=5541-047F (sda1)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to
boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
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.
sda2 : 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, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda3 : 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/sda3.
sda4 : 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, /mnt/boot-sav/sda4.
sda6 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda6.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST500LT012-1DG14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 4296MB 4295MB fat32 boot
2 4296MB 252GB 248GB ntfs msftdata
3 252GB 468GB 216GB ntfs msftdata
6 468GB 479GB 10.4GB ext4
4 479GB 498GB 19.3GB ext4
5 498GB 500GB 2047MB linux-swap(v1)
Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sdb: 31.2GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
4 131kB 31.2GB 31.2GB primary fat32 boot, lba
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:gpt:ATA ST500LT012-1DG14;
1:1049kB:4296MB:4295MB:fat32::boot;
2:4296MB:252GB:248GB:ntfs::msftdata;
3:252GB:468GB:216GB:ntfs::msftdata;
6:468GB:479GB:10.4GB:ext4::;
4:479GB:498GB:19.3GB:ext4::;
5:498GB:500GB:2047MB:linux-swap(v1)::;
BYT;
/dev/sdb:31.2GB:scsi:512:512:msdos:Kingston DataTraveler 2.0;
4:131kB:31.2GB:31.2GB:fat32::boot, lba;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465.8G
sda1 part vfat 4G
sda2 part ntfs 230.9G
sda3 part ntfs 201.4G Data
sda4 part ext4 18G
sda5 part swap 1.9G
sda6 part ext4 9.7G /home
sdb disk 29.1G
sdb4 part vfat 29.1G Linux Mint
loop0 loop squashfs 1.4G
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /mnt/boot-sav/sda2
sda3 1 0 0 /mnt/boot-sav/sda3
sda4 1 0 0 /mnt/boot-sav/sda4
sda5 1 0 0 [SWAP]
sda6 1 0 0 /mnt/boot-sav/sda6
sdb 1 0 1 running
sdb4 1 0 1 /cdrom
loop0 1 1 0 /rofs
=================== mount:
/cow on / type overlay (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/sdb4 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)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=mint)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 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/sda4 on /mnt/boot-sav/sda4 type ext4 (rw)
/dev/sda6 on /mnt/boot-sav/sda6 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 sda6 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 sdb4 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 hidraw0 hidraw1 hpet i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 input kmsg kvm log mapper mcelog media0 mei0 mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sdb sdb4 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom usb v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 6d 6b 64 6f 73 66 73 00 00 02 08 20 00 |.X.mkdosfs.... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 00 00 00 |........?.......|
00000020 00 00 80 00 f1 1f 00 00 00 00 00 00 02 00 00 00 |................|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 01 29 7f 04 41 55 20 20 20 20 20 20 20 20 20 |..)..AU |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sda2
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 07 08 80 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff a7 da 1c 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 f0 09 f3 2a 30 f3 2a d8 |...........*0.*.|
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/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 0e b0 5a 1d |........?.....Z.|
00000020 00 00 00 00 80 00 80 00 e8 8f 2b 19 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 26 11 2a 7e 5d 2a 7e bc |........&.*~]*~.|
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 overlay 958M 270M 689M 29% /
udev devtmpfs 947M 12K 947M 1% /dev
tmpfs tmpfs 192M 1.7M 190M 1% /run
/dev/sdb4 vfat 30G 1.5G 28G 6% /cdrom
/dev/loop0 squashfs 1.5G 1.5G 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 958M 20K 958M 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 958M 676K 957M 1% /run/shm
none tmpfs 100M 12K 100M 1% /run/user
/dev/sda1 vfat 4.0G 32M 4.0G 1% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 231G 82G 150G 36% /mnt/boot-sav/sda2
/dev/sda3 fuseblk 202G 44G 158G 22% /mnt/boot-sav/sda3
/dev/sda4 ext4 18G 4.9G 12G 30% /mnt/boot-sav/sda4
/dev/sda6 ext4 9.5G 34M 8.9G 1% /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: 0x00000000
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: 31.2 GB, 31229607936 bytes
255 heads, 63 sectors/track, 3796 cylinders, total 60995328 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: 0xcad4ebea
Device Boot Start End Blocks Id System
/dev/sdb4 * 256 60995327 30497536 c W95 FAT32 (LBA)
=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda4, using the following options: sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file restore-efi-backups
/boot/efi added in sda4/fstab
rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
Quantity of real Windows: 1
Mount sda1 on /mnt/boot-sav/sda4/boot/efi
ls sda1/efi: /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/ru-RU /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_15b3.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_1137.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Recovery /Microsoft/Boot /BOOT/TRANS.TBL /BOOT/splash.xpm.gz /BOOT/grub.cfg /BOOT/fallback.efi /BOOT/fallback.conf /BOOT/bootx64.efi /BOOT/BOOTX64.conf /BOOT/BOOTIA32.efi /BOOT/BOOTIA32.cfg
ls sda1: boot-sav
EFI . Please report this message to
boot.repair@gmail.com *******lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:22b1] (rev 21)
Subsystem: Acer Incorporated [ALI] Device [1025:1012]
Kernel driver in use: i915_bpo
00:13.0 SATA controller [0106]: Intel Corporation Device [8086:22a3] (rev 21)
*******
grub-install --version
grub-install.real (GRUB) 2.02~beta2-9ubuntu1.7,grub-install.
chroot /mnt/boot-sav/sda4 efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 2001,0003,2002,2003
Boot0000* ubuntu HD(1,800,800000,74436dc2-dc80-41e1-bf70-eec6cf406ac1)File(EFIubuntushimx64.efi)
Boot0001* Unknown Device: HD(1,800,800000,74436dc2-dc80-41e1-bf70-eec6cf406ac1)File(EFIubuntushimx64.efi)RC
Boot0002* USB HDD: KingstonDataTraveler 2.0 ACPI(a0341d0,0)PCI(14,0)USB(1,0)HD(1,100,3a2b600,cad4ebea)RC
Boot0003* Windows Boot Manager HD(1,800,800000,74436dc2-dc80-41e1-bf70-eec6cf406ac1)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.}...a................
Boot0004* Unknown Device: RC...0
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
chroot /mnt/boot-sav/sda4 uname -r
Kernel: 3.19.0-32-generic
Reinstall the grub-efi-amd64-signed of sda4
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --uefi-secure-boot : exit code of grub-install :0
ls sda1/efi: /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/ru-RU /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_15b3.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_1137.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Recovery /Microsoft/Boot /BOOT/TRANS.TBL /BOOT/splash.xpm.gz /BOOT/grub.cfg /BOOT/fallback.efi /BOOT/fallback.conf /BOOT/bootx64.efi /BOOT/BOOTX64.conf /BOOT/BOOTIA32.efi /BOOT/BOOTIA32.cfg
ls sda1: boot-sav
EFI . Please report this message to
boot.repair@gmail.com df /dev/sda1
Save and rename /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bootx64.efi (/mnt/boot-sav/sda4/boot/efi/EFI/Boot/bkpbootx64.efi)
cp /mnt/boot-sav/sda4/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda4/boot/efi/EFI/Boot/bootx64.efi
ls sda1/efi: /Microsoft/Recovery/BCD.LOG2 /Microsoft/Recovery/BCD.LOG1 /Microsoft/Recovery/BCD.LOG /Microsoft/Recovery/BCD /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/ru-RU /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/ko-KR /Microsoft/Boot/kdstub.dll /Microsoft/Boot/kd_0C_8086.dll /Microsoft/Boot/kd_07_1415.dll /Microsoft/Boot/kd_02_8086.dll /Microsoft/Boot/kd_02_19a2.dll /Microsoft/Boot/kd_02_1969.dll /Microsoft/Boot/kd_02_15b3.dll /Microsoft/Boot/kd_02_14e4.dll /Microsoft/Boot/kd_02_1137.dll /Microsoft/Boot/kd_02_10ec.dll /Microsoft/Boot/kd_02_10df.dll /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Recovery /Microsoft/Boot /BOOT/TRANS.TBL /BOOT/splash.xpm.gz /BOOT/grub.cfg /BOOT/fallback.efi /BOOT/fallback.conf /BOOT/bootx64.efi /BOOT/BOOTX64.conf /BOOT/BOOTIA32.efi /BOOT/BOOTIA32.cfg /BOOT/bkpbootx64.efi
ls sda1: 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/bootmgfw.efi
Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/BOOT/bkpbootx64.efi
Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/BOOT/BOOTIA32.efi
Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/BOOT/fallback.efi
Adding custom /mnt/boot-sav/sda4/boot/efi/EFI/ubuntu/MokManager.efi
sda1/bootmgfw.efi already added
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --uefi-secure-boot : exit code of grub-install :0
chroot /mnt/boot-sav/sda4 efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0000,2001,0003,2002,2003
Boot0000* ubuntu HD(1,800,800000,74436dc2-dc80-41e1-bf70-eec6cf406ac1)File(EFIubuntushimx64.efi)
Boot0001* Unknown Device: HD(1,800,800000,74436dc2-dc80-41e1-bf70-eec6cf406ac1)File(EFIubuntushimx64.efi)RC
Boot0002* USB HDD: KingstonDataTraveler 2.0 ACPI(a0341d0,0)PCI(14,0)USB(1,0)HD(1,100,3a2b600,cad4ebea)RC
Boot0003* Windows Boot Manager HD(1,800,800000,74436dc2-dc80-41e1-bf70-eec6cf406ac1)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.}...a................
Boot0004* Unknown Device: RC...0
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
chroot /mnt/boot-sav/sda4 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-32-generic
Found initrd image: /boot/initrd.img-3.19.0-32-generic
File descriptor 9 (/proc/3706/mounts) leaked on lvs invocation. Parent PID 13204: /bin/sh
File descriptor 63 (pipe:[44558]) leaked on lvs invocation. Parent PID 13204: /bin/sh
No volume groups found
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sda4/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
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
pastebinit packages needed
User refused to install pastebinit