Page 193 of 227 FirstFirst ... 93143183191192193194195203 ... LastLast
Results 1,921 to 1,930 of 2264

Thread: [Boot-Repair] Graphical tool to repair the PC boot in one click

  1. #1921
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    @toeko01
    I do not think Dell has the 'buggy' UEFI. So best to remove that.
    It looks like boot repair ran its "buggy" UEFI rename function. I am not sure it is always required, but it is for those UEFI that internally hard code UEFI to only boot the Windows efi file. So Boot-Repair renames the Windows file and makes grub2's shim be the Windows file. The UEFI thinks it is booting Windows but is really booting grub2 and then from grub2 menu you can boot Windows.

    Always say no until proven that you only can boot Windows entry from UEFI menu.
    buggy-kernel detected. Do you want to activate [Backup and rename Windows EFI files]? yes (if any choice fails, please retry with the other)
    To undo & to rename files to their original names, you just need to tick the "Restore EFI backups" option of Boot-Repair.

    You then should be able to boot Windows directly from UEFI menu.
    It looks like you left Windows in hibernated state and that usually will not boot from grub menu.
    You must turn off fast boot or the always on hibernation to dual boot.
    But you may need a Windows repair flash drive if you have other Windows issues. Boot-Repair can only make minor repairs to Windows.
    See link in my signature for details.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  2. #1922
    Join Date
    Apr 2014
    Beans
    3

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    @oldfred

    I disabled the "secure boot" option in bios, and tried the tool again. It worked. Now I can boot Windows in my grub menu, although the "Windows boot menu" still fails to start.

    Thanks very much for your help.

  3. #1923
    Join Date
    Apr 2014
    Beans
    3

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    Hi All, My problem is that there is no windows 8 option in grub2 list. I have tried all ways but I can't solve. I have repaired boot by using boot repair tool as showing in the ubuntu wiki with ubuntu live cd. But in grub2, it appears only ubuntu not win 8. I think grub2 have to be installed in sda 1 instead of sda5. But in boot tool there is no option like that. There are options only sda and sda5. I have chosen both of them to install grub2. But there was nothing changed. Do you have any idea else about this problem? My boot info is in the code script below.

    Code:
     Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Dec2013]
    
    
    ============================= Boot Info Summary: ===============================
    
     => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
        the same hard drive for core.img. core.img is at this location and looks 
        in partition 94 for .
     => 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:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /bootmgr /Boot/BCD
    
    sda2: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows 8/2012: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 8
        Boot files:        /bootmgr /Boot/BCD /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:       Extended Partition
        Boot sector type:  -
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  Grub2 (v1.99-2.00)
        Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda5 
                           and looks at sector 1432894800 of the same hard drive 
                           for core.img. core.img is at this location and looks 
                           in partition 94 for .
        Operating System:  Ubuntu 13.10 
        Boot files:        /boot/grub/grub.cfg /etc/fstab 
                           /boot/grub/i386-pc/core.img
    
    sda6: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info: 
    
    sdb1: __________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  SYSLINUX 4.07 2013-07-25
        Boot sector info:  Syslinux looks at sector 60106 of /dev/sdb1 for its 
                           second stage. SYSLINUX is installed in the /uui 
                           directory. No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /boot/grub/grub.cfg /casper/vmlinuz.efi 
                           /EFI/BOOT/grubx64.efi
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    Disk /dev/sda: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sda1    *          2,048       718,844       716,797   7 NTFS / exFAT / HPFS
    /dev/sda2             718,848   734,806,015   734,087,168   7 NTFS / exFAT / HPFS
    /dev/sda3         734,806,016 1,235,177,471   500,371,456   7 NTFS / exFAT / HPFS
    /dev/sda4       1,235,179,518 1,465,143,295   229,963,778   f W95 Extended (LBA)
    /dev/sda5       1,235,179,520 1,439,986,160   204,806,641  83 Linux
    /dev/sda6       1,439,987,712 1,465,143,295    25,155,584  82 Linux swap / Solaris
    
    
    Drive: sdb _____________________________________________________________________
    
    Disk /dev/sdb: 7904 MB, 7904165888 bytes
    255 heads, 63 sectors/track, 960 cylinders, total 15437824 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sdb1    *          2,048    15,437,823    15,435,776   c W95 FAT32 (LBA)
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/loop0                                              squashfs   
    /dev/sda1        E04E21D34E21A370                       ntfs       Sistem Ayrıldı
    /dev/sda2        DC80313C80311F08                       ntfs       
    /dev/sda3        7004D04D04D01844                       ntfs       Yeni Birim
    /dev/sda5        ec0de732-f888-4cd5-8b90-ee9bd8f66fa8   ext4       
    /dev/sda6                                               swap       
    /dev/sdb1        1DF8-1E42                              vfat       UUI
    
    ================================ 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)
    
    
    =========================== 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
    set default="0"
    
    if [ x"${feature_menuentry_id}" = xy ]; then
      menuentry_id_option="--id"
    else
      menuentry_id_option=""
    fi
    
    export menuentry_id_option
    
    if [ "${prev_saved_entry}" ]; then
      set saved_entry="${prev_saved_entry}"
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z "${boot_once}" ]; then
        saved_entry="${chosen}"
        save_env saved_entry
      fi
    }
    
    function recordfail {
      set recordfail=1
      if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    
    function load_video {
      if [ x$feature_all_video_module = xy ]; then
        insmod all_video
      else
        insmod efi_gop
        insmod efi_uga
        insmod ieee1275_fb
        insmod vbe
        insmod vga
        insmod video_bochs
        insmod video_cirrus
      fi
    }
    
    if [ x$feature_default_font_path = xy ] ; then
       font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
    else
      search --no-floppy --fs-uuid --set=root ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
    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
      set timeout=10
    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-ec0de732-f888-4cd5-8b90-ee9bd8f66fa8' {
    recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
        else
          search --no-floppy --fs-uuid --set=root ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
        fi
        linux    /boot/vmlinuz-3.11.0-19-generic root=UUID=ec0de732-f888-4cd5-8b90-ee9bd8f66fa8 ro   quiet splash $vt_handoff
        initrd    /boot/initrd.img-3.11.0-19-generic
    }
    submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-ec0de732-f888-4cd5-8b90-ee9bd8f66fa8' {
        menuentry 'Ubuntu, with Linux 3.11.0-19-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-19-generic-advanced-ec0de732-f888-4cd5-8b90-ee9bd8f66fa8' {
        recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos5'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
            else
              search --no-floppy --fs-uuid --set=root ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
            fi
            echo    'Loading Linux 3.11.0-19-generic ...'
            linux    /boot/vmlinuz-3.11.0-19-generic root=UUID=ec0de732-f888-4cd5-8b90-ee9bd8f66fa8 ro   quiet splash $vt_handoff
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-3.11.0-19-generic
        }
        menuentry 'Ubuntu, with Linux 3.11.0-19-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-19-generic-recovery-ec0de732-f888-4cd5-8b90-ee9bd8f66fa8' {
        recordfail
            load_video
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos5'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
            else
              search --no-floppy --fs-uuid --set=root ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
            fi
            echo    'Loading Linux 3.11.0-19-generic ...'
            linux    /boot/vmlinuz-3.11.0-19-generic root=UUID=ec0de732-f888-4cd5-8b90-ee9bd8f66fa8 ro recovery nomodeset 
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-3.11.0-19-generic
        }
        menuentry 'Ubuntu, with Linux 3.11.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-advanced-ec0de732-f888-4cd5-8b90-ee9bd8f66fa8' {
        recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos5'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
            else
              search --no-floppy --fs-uuid --set=root ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
            fi
            echo    'Loading Linux 3.11.0-12-generic ...'
            linux    /boot/vmlinuz-3.11.0-12-generic root=UUID=ec0de732-f888-4cd5-8b90-ee9bd8f66fa8 ro   quiet splash $vt_handoff
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-3.11.0-12-generic
        }
        menuentry 'Ubuntu, with Linux 3.11.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-recovery-ec0de732-f888-4cd5-8b90-ee9bd8f66fa8' {
        recordfail
            load_video
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos5'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
            else
              search --no-floppy --fs-uuid --set=root ec0de732-f888-4cd5-8b90-ee9bd8f66fa8
            fi
            echo    'Loading Linux 3.11.0-12-generic ...'
            linux    /boot/vmlinuz-3.11.0-12-generic root=UUID=ec0de732-f888-4cd5-8b90-ee9bd8f66fa8 ro recovery nomodeset 
            echo    'Loading initial ramdisk ...'
            initrd    /boot/initrd.img-3.11.0-12-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: ================================
    
    --------------------------------------------------------------------------------
    # /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/sda5 during installation
    UUID=ec0de732-f888-4cd5-8b90-ee9bd8f66fa8 /               ext4    errors=remount-ro 0       1
    /dev/sda6       none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda5: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
    
    =========================== sdb1/boot/grub/grub.cfg: ===========================
    
    --------------------------------------------------------------------------------
    
    if loadfont /boot/grub/font.pf2 ; then
        set gfxmode=auto
        insmod efi_gop
        insmod efi_uga
        insmod gfxterm
        terminal_output gfxterm
    fi
    
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    
    menuentry "Try Ubuntu without installing" {
        set gfxpayload=keep
        linux    /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper quiet splash --
        initrd    /casper/initrd.lz
    }
    menuentry "Install Ubuntu" {
        set gfxpayload=keep
        linux    /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash --
        initrd    /casper/initrd.lz
    }
    menuentry "OEM install (for manufacturers)" {
        set gfxpayload=keep
        linux    /casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper only-ubiquity quiet splash oem-config/enable=true --
        initrd    /casper/initrd.lz
    }
    menuentry "Check disc for defects" {
        set gfxpayload=keep
        linux    /casper/vmlinuz.efi  cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper integrity-check quiet splash --
        initrd    /casper/initrd.lz
    }
    --------------------------------------------------------------------------------
    
    =================== sdb1: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
    
    ========= Devices which don't seem to have a corresponding hard drive: =========
    
    sdc 
    
    =============================== StdErr Messages: ===============================
    
    cat: write error: Broken pipe
    cat: /tmp/BootInfo-AdQSiGl4/Tmp_Log: No such file or directory
    cat: /tmp/BootInfo-AdQSiGl4/Tmp_Log: No such file or directory
    File descriptor 9 (/proc/13429/mounts) leaked on lvscan invocation. Parent PID 29527: bash
      No volume groups found
    
    ADDITIONAL INFORMATION :
    =================== log of boot-repair 2014-04-12__11h44 ===================
    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 live-session (Ubuntu 13.10, saucy, Ubuntu, x86_64)
    ls: cannot access /home/usr/.config: No such file or directory
    CPU op-mode(s):        32-bit, 64-bit
    BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid boot=casper quiet splash --
    
    =================== os-prober:
    /dev/sda5:Ubuntu 13.10 (13.10):Ubuntu:linux
    
    =================== blkid:
    /dev/loop0: TYPE="squashfs"
    /dev/sda1: LABEL="Sistem AyrM-DM-1ldM-DM-1" UUID="E04E21D34E21A370" TYPE="ntfs"
    /dev/sda2: UUID="DC80313C80311F08" TYPE="ntfs"
    /dev/sda3: LABEL="Yeni Birim" UUID="7004D04D04D01844" TYPE="ntfs"
    /dev/sda5: UUID="ec0de732-f888-4cd5-8b90-ee9bd8f66fa8" TYPE="ext4"
    /dev/sda6: TYPE="swap"
    /dev/sdb1: LABEL="UUI" UUID="1DF8-1E42" TYPE="vfat"
    
    
    1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
    
    Windows not detected by os-prober on sda2.
    Warning: extended partition does not start at a cylinder boundary.
    DOS and Linux will interpret the contents differently.
    
    =================== sda5/etc/grub.d/ :
    drwxr-xr-x  2 root root     4096 Apr 12 11:23 grub.d
    total 72
    -rwxr-xr-x 1 root root  7850 Oct 10  2013 00_header
    -rwxr-xr-x 1 root root  5949 Aug 15  2013 05_debian_theme
    -rwxr-xr-x 1 root root 11479 Oct 10  2013 10_linux
    -rwxr-xr-x 1 root root 10258 Oct 10  2013 20_linux_xen
    -rwxr-xr-x 1 root root  1798 Jun 17  2013 20_memtest86+
    -rwxr-xr-x 1 root root 11531 Oct 10  2013 30_os-prober
    -rwxr-xr-x 1 root root  1426 Oct 10  2013 30_uefi-firmware
    -rwxr-xr-x 1 root root   214 Oct 10  2013 40_custom
    -rwxr-xr-x 1 root root   216 Oct 10  2013 41_custom
    -rw-r--r-- 1 root root   483 Oct 10  2013 README
    
    
    
    
    =================== sda5/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"
    
    
    
    =================== 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,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    bootmgr,    is-winboot,    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,    is-winboot,    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.
    sda5    : sda,    not-sepboot,    grubenv-ok    grub2,    signed grub-efi ,    update-grub,    64,    with-boot,    is-os,    not--efi--part,    fstab-without-boot,    fstab-without-efi,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    apt-get,    grub-install,    with--usr,    fstab-without-usr,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sda5.
    
    sda    : not-GPT,    BIOSboot-not-needed,    has-no-EFIpart,     not-usb,    has-os,    2048 sectors * 512 bytes
    
    
    =================== parted -l:
    
    Model: ATA Hitachi HTS72757 (scsi)
    Disk /dev/sda: 750GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: msdos
    
    Number  Start   End    Size    Type      File system     Flags
    1      1049kB  368MB  367MB   primary   ntfs            boot
    2      368MB   376GB  376GB   primary   ntfs
    3      376GB   632GB  256GB   primary   ntfs
    4      632GB   750GB  118GB   extended                  lba
    5      632GB   737GB  105GB   logical   ext4
    6      737GB   750GB  12.9GB  logical   linux-swap(v1)
    
    
    Model: Generic USB Flash Disk (scsi)
    Disk /dev/sdb: 7904MB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End     Size    Type     File system  Flags
    1      1049kB  7904MB  7903MB  primary  fat32        boot, lba
    
    =================== parted -lm:
    
    BYT;
    /dev/sda:750GB:scsi:512:4096:msdos:ATA Hitachi HTS72757;
    1:1049kB:368MB:367MB:ntfs::boot;
    2:368MB:376GB:376GB:ntfs::;
    3:376GB:632GB:256GB:ntfs::;
    4:632GB:750GB:118GB:::lba;
    5:632GB:737GB:105GB:ext4::;
    6:737GB:750GB:12.9GB:linux-swap(v1)::;
    
    BYT;
    /dev/sdb:7904MB:scsi:512:512:msdos:Generic USB Flash Disk;
    1:1049kB:7904MB:7903MB:fat32::boot, lba;
    
    
    =================== 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)
    /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/sda5 on /mnt/boot-sav/sda5 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 sdb1 size slaves stat subsystem trace uevent
    /sys/block/sdc (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fb1 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 rts51x0 sda sda1 sda2 sda3 sda4 sda5 sda6 sdb sdb1 sdc sg0 sg1 sg2 sg3 shm snapshot snd sr0 stderr stdin stdout 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  f0 ef 0a 00 00 00 00 00  |................|
    00000030  aa 74 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.t..............|
    00000040  f6 00 00 00 01 00 00 00  70 a3 21 4e d3 21 4e e0  |........p.!N.!N.|
    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/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 00 f8 0a 00  |........?.......|
    00000020  00 00 00 00 80 00 80 00  ff 47 c1 2b 00 00 00 00  |.........G.+....|
    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  08 1f 31 80 3c 31 80 dc  |..........1.<1..|
    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 00 40 cc 2b  |........?....@.+|
    00000020  00 00 00 00 80 00 80 00  ff 0f d3 1d 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  44 18 d0 04 4d d0 04 70  |........D...M..p|
    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
    
    =================== df -Th:
    
    Filesystem     Type       Size  Used Avail Use% Mounted on
    /cow           overlayfs  3.9G  118M  3.8G   3% /
    udev           devtmpfs   3.9G   12K  3.9G   1% /dev
    tmpfs          tmpfs      788M  1.2M  787M   1% /run
    /dev/sdb1      vfat       7.4G  883M  6.5G  12% /cdrom
    /dev/loop0     squashfs   843M  843M     0 100% /rofs
    none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
    tmpfs          tmpfs      3.9G  624K  3.9G   1% /tmp
    none           tmpfs      5.0M     0  5.0M   0% /run/lock
    none           tmpfs      3.9G   80K  3.9G   1% /run/shm
    none           tmpfs      100M   68K  100M   1% /run/user
    /dev/sda1      fuseblk    350M  238M  113M  68% /mnt/boot-sav/sda1
    /dev/sda2      fuseblk    351G   36G  315G  11% /mnt/boot-sav/sda2
    /dev/sda3      fuseblk    239G  121M  239G   1% /mnt/boot-sav/sda3
    /dev/sda5      ext4        97G  3.8G   88G   5% /mnt/boot-sav/sda5
    
    =================== fdisk -l:
    
    Disk /dev/sda: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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: 0x661a42b1
    
    Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048      718844      358398+   7  HPFS/NTFS/exFAT
    /dev/sda2          718848   734806015   367043584    7  HPFS/NTFS/exFAT
    /dev/sda3       734806016  1235177471   250185728    7  HPFS/NTFS/exFAT
    /dev/sda4      1235179518  1465143295   114981889    f  W95 Ext'd (LBA)
    Partition 4 does not start on physical sector boundary.
    /dev/sda5      1235179520  1439986160   102403320+  83  Linux
    /dev/sda6      1439987712  1465143295    12577792   82  Linux swap / Solaris
    
    Disk /dev/sdb: 7904 MB, 7904165888 bytes
    255 heads, 63 sectors/track, 960 cylinders, total 15437824 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: 0x00058e87
    
    Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *        2048    15437823     7717888    c  W95 FAT32 (LBA)
    
    
    
    =================== Default settings
    Recommended-Repair
    This setting would purge (in order to fix packages) and reinstall the grub2 of sda5 into the MBR of sda.
    Additional repair would be performed: unhide-bootmenu-10s
    
    =================== Settings chosen by the user
    Custom-Repair
    This setting will purge (in order to fix packages) and reinstall the grub2 of sda5 into the MBR of sda, using the following options:       set-windows-as-default
    Additional repair will be performed: unhide-bootmenu-10s
    
    
    chroot /mnt/boot-sav/sda5 apt-get -y --force-yes update
    Purge the GRUB of sda5
    grub-pc available
    
    The following extra packages will be installed:
    grub-gfxpayload-lists grub-pc-bin
    Suggested packages:
    desktop-base
    The following packages will be REMOVED:
    grub-efi-amd64 grub-efi-amd64-signed
    The following NEW packages will be installed:
    grub-gfxpayload-lists grub-pc grub-pc-bin
    0 upgraded, 3 newly installed, 2 to remove and 286 not upgraded.
    DEBCHECK debOK, grub-pc
    DEBCHECK debOK
    shim-signed available
    linux-signed-generic available
    Please type: sudo chroot "/mnt/boot-sav/sda5" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda5" apt-get install -fynsudo chroot "/mnt/boot-sav/sda5" apt-get purge -y --force-yes grub* shim-signed linux-signed*
    
    =================== sda5/etc/grub.d/ :
    drwxr-xr-x  2 root root     4096 Apr 12 11:45 grub.d
    total 4
    -rwxr-xr-x 1 root root 1798 Jun 17  2013 20_memtest86+
    
    
    Then type: sudo chroot "/mnt/boot-sav/sda5" apt-get install -y --force-yes grub-pc linux
    
    =================== sda5/etc/grub.d/ :
    drwxr-xr-x  2 root root     4096 Apr 12 11:46 grub.d
    drwxr-xr-x  2 root root     4096 Apr 12 11:45 grub.d.bak
    total 68
    -rwxr-xr-x 1 root root  7850 Oct 23 20:44 00_header
    -rwxr-xr-x 1 root root  5949 Aug 15  2013 05_debian_theme
    -rwxr-xr-x 1 root root 11479 Oct 23 20:44 10_linux
    -rwxr-xr-x 1 root root 10258 Oct 23 20:44 20_linux_xen
    -rwxr-xr-x 1 root root 11531 Oct 23 20:44 30_os-prober
    -rwxr-xr-x 1 root root  1426 Oct 23 20:44 30_uefi-firmware
    -rwxr-xr-x 1 root root   214 Oct 23 20:44 40_custom
    -rwxr-xr-x 1 root root   216 Oct 23 20:44 41_custom
    -rw-r--r-- 1 root root   483 Oct 23 20:44 README
    
    
    
    
    =================== sda5/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"
    
    
    
    Unhide GRUB boot menu in sda5/etc/default/grub
    
    =================== sda5/etc/grub.d/ :
    drwxr-xr-x  2 root root     4096 Apr 12 11:46 grub.d
    drwxr-xr-x  2 root root     4096 Apr 12 11:45 grub.d.bak
    total 68
    -rwxr-xr-x 1 root root  7850 Oct 23 20:44 00_header
    -rwxr-xr-x 1 root root  5949 Aug 15  2013 05_debian_theme
    -rwxr-xr-x 1 root root 11479 Oct 23 20:44 10_linux
    -rwxr-xr-x 1 root root 10258 Oct 23 20:44 20_linux_xen
    -rwxr-xr-x 1 root root 11531 Oct 23 20:44 30_os-prober
    -rwxr-xr-x 1 root root  1426 Oct 23 20:44 30_uefi-firmware
    -rwxr-xr-x 1 root root   214 Oct 23 20:44 40_custom
    -rwxr-xr-x 1 root root   216 Oct 23 20:44 41_custom
    -rw-r--r-- 1 root root   483 Oct 23 20:44 README
    
    
    
    
    =================== sda5/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"
    
    
    
    
    *******lspci -nnk | grep -iA3 vga
    00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Samsung Electronics Co Ltd Device [144d:c0d8]
    Kernel driver in use: i915
    00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
    --
    01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] [1002:6840]
    Subsystem: Samsung Electronics Co Ltd Device [144d:c0d8]
    Kernel driver in use: radeon
    02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 09)
    *******
    
    grub-install (GRUB) 2.00-19ubuntu2.1,grub-install (GRUB) 2.
    
    Reinstall the GRUB of sda5 into the MBR of sda
    Installation finished. No error reported.
    grub-install /dev/sda: exit code of grub-install /dev/sda:0
    
    chroot /mnt/boot-sav/sda5 update-grub
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.11.0-19-generic
    Found initrd image: /boot/initrd.img-3.11.0-19-generic
    Found linux image: /boot/vmlinuz-3.11.0-12-generic
    Found initrd image: /boot/initrd.img-3.11.0-12-generic
    Adding boot menu entry for EFI firmware configuration
    Warning: no Windows in /mnt/boot-sav/sda5/boot/grub/grub.cfg
    Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
    
    Boot successfully repaired.
    
    You can now reboot your computer.

  4. #1924
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    @name4
    You only install grub to MBR as that is how a BIOS based computer has to boot.
    It shows your Windows partitions and it looks like you have the necessary boot files - bootmgr & BCD.
    But os-prober is not seeing Windows.

    Try this again from inside your Ubuntu using terminal.
    sudo update-grub

    Is Windows hibernated? Windows 8 is always hibernated unless you turn off fast boot.
    Or does it need chkdsk?
    Did it boot ok before?
    Did you use Windows to resize the Windows NTFS partition to make room for Ubuntu?
    And then immediately reboot so it can run chkdsk to fix to its new size?
    Both hibernation & chkdsk flags prevent Linux from seeing NTFS partitions. You may need to restore the Windows boot loader to directly boot Windows and see if it works, needs chkdsk, or turn off hibernation.

    WARNING for Windows 8 Dual-Booters
    http://ubuntuforums.org/showthread.php?t=1953674
    It defaults shutdown to a hybrid hibernation/off state for fast boot
    http://www.kapilarya.com/how-to-enab...p-in-windows-8
    But then files may be corrupted similar to Windows 7 Hibernation:
    http://ubuntu-with-wubi.blogspot.ca/...rid-sleep.html
    http://superuser.com/questions/14472...te-w-dual-boot
    Fast Startup off/hibernation
    http://www.eightforums.com/tutorials...ndows-8-a.html
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  5. #1925
    Join Date
    Apr 2014
    Beans
    3

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    @oldfred
    I have closed fast boot and applied chkdsk. But the same problem continues. win 8 doesn't appear in grub2. By the way, I used Windows to make partition for Ubuntu and swap. sda5 and sda6 seem Logical in Windows. I couldn't turn them from Logical to Primary. Is this the problem?

  6. #1926
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    @name4
    You have to have logical partitions if you want more than the 4 primary partition. And the extended partition which acts as a container for all the logicals is one of the 4 primary.
    Windows requires a primary partition to boot from, but Linux does not.

    If you have turned off fast boot & run chkdsk, did you run this in Ubuntu to add Windows to grub menu?
    sudo update-grub

    Do not use Windows to create partitions, only to shrink its own partition. It may convert to dynamic partitions which are Windows proprietary and do not work with Linux.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  7. #1927
    Join Date
    Apr 2014
    Beans
    3

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    @oldfred
    yeah "sudo update-grub" command solves the problem. Thank you for your interest. But do you know how I can highlight win 8 in grub2 list?, namely I want to boot win8 in default.

  8. #1928
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    You can change the default from the first menu entry. I prefer to use description rather than the number, but you have to have exact description, so copy that from grub.cfg.

    find your windows entry in grub.cfg and copy to grub default like this Vista entry - If you edit your windows command use the edited copy as this must match the title exactly:
    gedit /boot/grub/grub.cfg
    and copy into grub_default here:
    gksudo gedit /etc/default/grub
    GRUB_DEFAULT=0
    change to comment # or delete old and add new :
    #GRUB_DEFAULT=0
    GRUB_DEFAULT="Windows Vista (on /dev/sda1)"
    Then do:
    sudo update-grub
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  9. #1929
    Join Date
    Apr 2014
    Beans
    3

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    Could someone have a look at my thread here: http://ubuntuforums.org/showthread.php?t=2216503

    Here's my url: http://paste.ubuntu.com/7239294/

  10. #1930
    Join Date
    Oct 2007
    Beans
    3

    Re: [Boot-Repair] Graphical tool to repair the PC boot in one click

    Hello,
    I had some problems when running boot-repair from a xubuntu live cd.
    I think it has more to do with grub-update running from chrooted livecd than boot-repair itself, for my cryptsetup root partition it generated something like:

    Code:
            linux   /vmlinuz-3.2.0-60-generic root=/dev/mapper/uuid-12312abcd*blablabla* ro   quiet splash $vt_handoff
            initrd  /initrd.img-3.2.0-60-generic
    instead of
    Code:
            linux   /vmlinuz-3.2.0-60-generic root=/dev/mapper/sda5_crypt ro   quiet splash $vt_handoff
            initrd  /initrd.img-3.2.0-60-generic
    initramfs mapps the cryptsetup partitions as sdXY_crypt, not as uuid disks after I figured it out the fix was trivial, I don't know if you can automate it reliably in any way. Thanks for making this tool!

Page 193 of 227 FirstFirst ... 93143183191192193194195203 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •