Find the answer to your Linux question:
Results 1 to 9 of 9
Hello, I have Windows 7 and Linux Mint 14 installed on the same hard drive as follows: Code: /dev/sda /dev/sda2 ntfs (small 104 MB Windows partition) /dev/sda3 ntfs (main Windows ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2013
    Posts
    9

    Got Linux Mint 14 working, but broke Windows 7


    Hello,

    I have Windows 7 and Linux Mint 14 installed on the same hard drive as follows:
    Code:
    /dev/sda
      /dev/sda2 ntfs (small 104 MB Windows partition)
      /dev/sda3 ntfs (main Windows partition)
      /dev/sda5 swap (Linux swap area)
      /dev/sda1 ext4 (root Linux partition)
    I originally had Windows 7 installed, then shrank the partition to install Linux Mint 14.

    From the Grub bootloader, I can successfully select and boot Linux Mint 14, but when I try Windows 7 I get:
    A disk read error occurred
    Press CTRL+ALT+DEL to restart
    If I use my Windows 7 DVD to get to the recovery console, bootrec.exe /ScanOS finds no operating systems.

    On the Linux Mint 14 side, I can use the file browser to browse my Windows file system (C:\Windows, C:\Program Files, etc..), so I can see everything is still there.

    My grub.cfg file (/boot/grub) looks like this:
    Code:
    #
    # 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,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    else
      search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    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=-1
    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
    ### 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
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 14 Cinnamon 64-bit, 3.5.0-17-generic (/dev/sda1)' --class linuxmint --class gnu-linux --class gnu --class os {
    	recordfail
    	gfxmode $linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=65703582-6246-436c-b4ec-39f21f3f76f3 ro   quiet splash $vt_handoff
    	initrd	/boot/initrd.img-3.5.0-17-generic
    }
    menuentry 'Linux Mint 14 Cinnamon 64-bit, 3.5.0-17-generic (/dev/sda1) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	echo	'Loading Linux 3.5.0-17-generic ...'
    	linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=65703582-6246-436c-b4ec-39f21f3f76f3 ro recovery nomodeset 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-3.5.0-17-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+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-3E5477305476E9D3' {
    	insmod ldm
    	insmod ntfs
    	set root='ldm/ec852016-b735-11e0-bdac-001d60a1eb5f/Volume1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/ec852016-b735-11e0-bdac-001d60a1eb5f/Volume1'  3E5477305476E9D3
    	else
    	  search --no-floppy --fs-uuid --set=root 3E5477305476E9D3
    	fi
    	chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  ${config_directory}/custom.cfg ]; then
      source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    Please help!

    P.S. I'm very much enjoying and impressed by Mint so far, but there are applications I need on the Windows side for work and school.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,113
    Try running 'sudo update-grub' from a konsole/terminal in Mint. Doubt that it will work. Did you install windows 7 yourself? It seems unusual to me that your original installation of windows would not be on sda1. Go to the site below and download and run the bootinfoscript (instructions are in the Description box) and post the results.txt file here. Someone might be able to help with that info. Your windows entry is pointing to sda2 which is probably your boot partition so the bootinfoscript should show that and a lot more detailed information:

    Boot Info Script | Free System Administration software downloads at SourceForge.net

  3. #3
    Just Joined!
    Join Date
    May 2013
    Posts
    9
    Yes, I installed Windows 7 a couple years ago. sda1 was originally a 1 MB ntfs parition that I had to delete in order to make a new primary ext4 parition for Linux Mint root.

    I booted Linux Secure Remix off a disk and ran Boot Repair. It said it corrected an issue and I can still boot Linux Mint from Grub. Grub now has an additional entry for Windows 7 (on sda3). The original Windows 7 entry in Grub is on sda2. Booting the new Windows 7 Grub entry (on sda3) dislays the Wingows logo loading screen, then goes to black and restarts. The original Windows 7 Grub entry (on sda2) also displays the Windows logo loading screen, breifly displays a blrue screen with text, then restarts.

    After I ran Boot Repair via Linux Secure Remix, it generated a URL that reads this info:
    Code:
    Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 31Jan2013]
    
    
    ============================= Boot Info Summary: ===============================
    
     => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
        the same hard drive for core.img. core.img is at this location and looks 
        in partition 1 for (,msdos1)/boot/grub.
     => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
        the same hard drive for core.img. core.img is at this location and uses an 
        embedded config file:
        
        ---------------------------------------------------------------------------
        search.fs_uuid 65703582-6246-436c-b4ec-39f21f3f76f3 root hd0,msdos1  
        set prefix=($root)/boot/grub
        ---------------------------------------------------------------------------
        -----.
    
    sda1: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Linux Mint 14 Nadia 
        Boot files:        /boot/grub/grub.cfg /etc/fstab 
                           /boot/grub/i386-pc/core.img
    
    sda2: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows 7/2008: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /bootmgr /Boot/BCD
    
    sda3: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows 7/2008: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe
    
    sda4: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  Grub2 (v1.99-2.00)
        Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                           sda5 and looks at sector 1786813868 of the same hard 
                           drive for core.img, but core.img can not be found at 
                           this location.
    
    sdb1: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows 7/2008: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sda1       1,802,575,872 1,953,523,711   150,947,840  83 Linux
    /dev/sda2    *          2,048       206,847       204,800  42 SFS
    /dev/sda3             206,848 1,786,761,215 1,786,554,368  42 SFS
    /dev/sda4       1,786,763,262 1,802,575,871    15,812,610   5 Extended
    /dev/sda5       1,786,763,264 1,802,575,871    15,812,608  82 Linux swap / Solaris
    
    
    Drive: sdb _____________________________________________________________________
    
    Disk /dev/sdb: 250.1 GB, 250059350016 bytes
    240 heads, 63 sectors/track, 32301 cylinders, total 488397168 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   488,394,751   488,392,704   7 NTFS / exFAT / HPFS
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/loop0                                              squashfs   
    /dev/sda1        65703582-6246-436c-b4ec-39f21f3f76f3   ext4       
    /dev/sda2        3E5477305476E9D3                       ntfs       System Reserved
    /dev/sda3        E8B47CB5B47C87B8                       ntfs       
    /dev/sda5        d9869046-6a74-4812-aa75-e74bb9023c5b   swap       
    /dev/sdb1        06A4F97CA4F96E95                       ntfs       Local Disk
    /dev/sr0                                                iso9660    Linux Secure 12.10 64bit
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/loop0       /rofs                    squashfs   (ro,noatime)
    /dev/sr0         /cdrom                   iso9660    (ro,noatime)
    
    
    =========================== sda1/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,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    else
      search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    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
    ### 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
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 14 Cinnamon 64-bit, 3.5.0-17-generic (/dev/sda1)' --class linuxmint --class gnu-linux --class gnu --class os {
    	recordfail
    	gfxmode $linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=65703582-6246-436c-b4ec-39f21f3f76f3 ro   quiet splash $vt_handoff
    	initrd	/boot/initrd.img-3.5.0-17-generic
    }
    menuentry 'Linux Mint 14 Cinnamon 64-bit, 3.5.0-17-generic (/dev/sda1) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	echo	'Loading Linux 3.5.0-17-generic ...'
    	linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=65703582-6246-436c-b4ec-39f21f3f76f3 ro recovery nomodeset 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-3.5.0-17-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+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-3E5477305476E9D3' {
    	insmod part_msdos
    	insmod ntfs
    	set root='hd0,msdos2'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  3E5477305476E9D3
    	else
    	  search --no-floppy --fs-uuid --set=root 3E5477305476E9D3
    	fi
    	chainloader +1
    }
    menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-E8B47CB5B47C87B8' {
    	insmod part_msdos
    	insmod ntfs
    	set root='hd0,msdos3'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  E8B47CB5B47C87B8
    	else
    	  search --no-floppy --fs-uuid --set=root E8B47CB5B47C87B8
    	fi
    	chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  ${config_directory}/custom.cfg ]; then
      source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    --------------------------------------------------------------------------------
    
    =============================== sda1/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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda1 during installation
    UUID=65703582-6246-436c-b4ec-39f21f3f76f3 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=d9869046-6a74-4812-aa75-e74bb9023c5b none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda1: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     871.669815063 = 935.948337152  boot/grub/grub.cfg                             1
     871.669960022 = 935.948492800  boot/grub/i386-pc/core.img                     1
     871.668907166 = 935.947362304  boot/vmlinuz-3.5.0-17-generic                  1
     871.668907166 = 935.947362304  vmlinuz                                        1
     904.322784424 = 971.009196032  boot/initrd.img-3.5.0-17-generic               2
     904.322784424 = 971.009196032  initrd.img                                     2
    
    =============================== StdErr Messages: ===============================
    
    cat: write error: Broken pipe
    cat: write error: Broken pipe
    File descriptor 8 (/proc/5979/mounts) leaked on lvscan invocation. Parent PID 20129: bash
      No volume groups found
    
    ADDITIONAL INFORMATION :
    =================== log of boot-repair 2013-05-19__23h24 ===================
    boot-repair version : 3.197~ppa34~quantal
    boot-sav version : 3.197~ppa34~quantal
    glade2script version : 3.2.2~ppa45~quantal
    boot-sav-extra version : 3.197~ppa34~quantal
    boot-repair is executed in live-session (Linux-Secure-Remix 12.10 28feb2013, quantal, Ubuntu, x86_64)
    CPU op-mode(s):        32-bit, 64-bit
    file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
    
    =================== os-prober:
    /dev/sda1:Linux Mint 14 Nadia (14):LinuxMint:linux
    /dev/sda2:Windows 7 (loader):Windows:chain
    
    =================== blkid:
    /dev/loop0: TYPE="squashfs"
    /dev/sda1: UUID="65703582-6246-436c-b4ec-39f21f3f76f3" TYPE="ext4"
    /dev/sda2: LABEL="System Reserved" UUID="3E5477305476E9D3" TYPE="ntfs"
    /dev/sda3: UUID="E8B47CB5B47C87B8" TYPE="ntfs"
    /dev/sda5: UUID="d9869046-6a74-4812-aa75-e74bb9023c5b" TYPE="swap"
    /dev/sr0: LABEL="Linux Secure 12.10 64bit" TYPE="iso9660"
    /dev/sdb1: LABEL="Local Disk" UUID="06A4F97CA4F96E95" TYPE="ntfs"
    
    
    1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
    
    Windows not detected by os-prober on sda3.
    Warning: extended partition does not start at a cylinder boundary.
    DOS and Linux will interpret the contents differently.
    
    
    =================== sda1/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"
    
    
    
    
    =================== sda1/etc/grub.d/ :
    drwxr-xr-x 2 root root     4096 Oct 18  2012 grub.d
    total 84
    -rwxr-xr-x 1 root root  7541 Oct 14  2012 00_header
    -rwxr-xr-x 1 root root  5488 Oct  4  2012 05_debian_theme
    -rwxr-xr-x 1 root root  1183 Oct 23  2011 06_mint_theme
    -rwxr-xr-x 1 root root  7500 May 19 22:05 10_linux
    -rwxr-xr-x 1 root root 10634 Oct  1  2012 10_lupin
    -rwxr-xr-x 1 root root 10258 Oct 14  2012 20_linux_xen
    -rwxr-xr-x 1 root root  1688 Oct 11  2012 20_memtest86+
    -rwxr-xr-x 1 root root 10976 Oct 14  2012 30_os-prober
    -rwxr-xr-x 1 root root  1426 Oct 14  2012 30_uefi-firmware
    -rwxr-xr-x 1 root root   214 Oct 14  2012 40_custom
    -rwxr-xr-x 1 root root   216 Oct 14  2012 41_custom
    -rw-r--r-- 1 root root   483 Oct 14  2012 README
    
    
    =================== UEFI/Legacy mode:
    This live-session is not in EFI-mode.
    SecureBoot maybe enabled.
    
    
    =================== PARTITIONS & DISKS:
    sda1	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/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,	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/sda2.
    sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda3.
    sdb1	: sdb,	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/sdb1.
    
    sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	has-os,	2048 sectors * 512 bytes
    sdb	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	no-os,	2048 sectors * 512 bytes
    
    
    =================== parted -l:
    
    Model: ATA WDC WD1001FALS-0 (scsi)
    Disk /dev/sda: 1000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End     Size    Type      File system     Flags
    2      1049kB  106MB   105MB   primary   ntfs            boot
    3      106MB   915GB   915GB   primary   ntfs
    4      915GB   923GB   8096MB  extended
    5      915GB   923GB   8096MB  logical   linux-swap(v1)
    1      923GB   1000GB  77.3GB  primary   ext4
    
    
    Model: ATA ST3250410AS (scsi)
    Disk /dev/sdb: 250GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End    Size   Type     File system  Flags
    1      1049kB  250GB  250GB  primary  ntfs
    
    
    
                                                                              
    Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
    has been opened read-only.
    
                                                                              
    Error: /dev/sr0: unrecognised disk label
    
    =================== parted -lm:
    
    BYT;
    /dev/sda:1000GB:scsi:512:512:msdos:ATA WDC WD1001FALS-0;
    2:1049kB:106MB:105MB:ntfs::boot;
    3:106MB:915GB:915GB:ntfs::;
    4:915GB:923GB:8096MB:::;
    5:915GB:923GB:8096MB:linux-swap(v1)::;
    1:923GB:1000GB:77.3GB:ext4::;
    
    BYT;
    /dev/sdb:250GB:scsi:512:512:msdos:ATA ST3250410AS;
    1:1049kB:250GB:250GB:ntfs::;
    
    
                                                                              
    Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
    has been opened read-only.
    
                                                                              
    Error: /dev/sr0: unrecognised disk label
    
    
    =================== mount:
    /cow on / type overlayfs (rw)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    udev on /dev type devtmpfs (rw,mode=0755)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    /dev/sr0 on /cdrom type iso9660 (ro,noatime)
    /dev/loop0 on /rofs type squashfs (ro,noatime)
    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)
    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)
    gvfsd-fuse on /run/user/ubuntu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
    /dev/sda1 on /mnt/boot-sav/sda1 type ext4 (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/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    
    
    =================== ls:
    /sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
    /sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
    /sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /sys/block/sr1 (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):  alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrom1 cdrw1 char console core cpu cpu_dma_latency disk dri dvd dvd1 dvdrw1 ecryptfs fb0 fd full fuse fw0 hidraw0 hidraw1 hpet input kmsg kvm log lp0 mapper mcelog mem net network_latency network_throughput null oldmem parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sg0 sg1 sg2 sg3 shm snapshot snd sr0 sr1 stderr stdin stdout uinput urandom usb vga_arbiter vhost-net watchdog zero
    ls /dev/mapper:  control
    
    =================== 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 08 00 00  |........?.......|
    00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|
    00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|
    00000040  f6 00 00 00 01 00 00 00  d3 e9 76 54 30 77 54 3e  |..........vT0wT>|
    00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
    00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
    00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
    00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
    00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
    000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
    000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
    000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
    000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
    000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
    000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
    00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
    00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
    00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
    00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
    00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
    00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
    00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
    00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
    00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
    00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
    000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
    000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
    000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
    000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
    000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
    000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
    00000200
    
    =================== 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 28 03 00  |........?....(..|
    00000020  00 00 00 00 80 00 80 00  ff a7 7c 6a 00 00 00 00  |..........|j....|
    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  b8 87 7c b4 b5 7c b4 e8  |..........|..|..|
    00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
    00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
    00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
    00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
    00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
    000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
    000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
    000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
    000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
    000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
    000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
    00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
    00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
    00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
    00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
    00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
    00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
    00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
    00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
    00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
    00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
    000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
    000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
    000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
    000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
    000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
    000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
    00000200
    
    =================== hexdump -n512 -C /dev/sdb1
    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 f0 00 00 08 00 00  |........?.......|
    00000020  00 00 00 00 80 00 80 00  ff 47 1c 1d 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  95 6e f9 a4 7c f9 a4 06  |.........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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
    00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
    00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
    00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
    00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
    00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
    00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
    00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
    00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
    00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
    00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
    000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
    000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
    000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
    000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
    000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
    000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
    00000200
    
    =================== df -Th:
    
    Filesystem     Type       Size  Used Avail Use% Mounted on
    /cow           overlayfs  2.0G   43M  1.9G   3% /
    udev           devtmpfs   2.0G   12K  2.0G   1% /dev
    tmpfs          tmpfs      791M  880K  790M   1% /run
    /dev/sr0       iso9660    761M  761M     0 100% /cdrom
    /dev/loop0     squashfs   717M  717M     0 100% /rofs
    tmpfs          tmpfs      2.0G   16K  2.0G   1% /tmp
    none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
    none           tmpfs      2.0G   76K  2.0G   1% /run/shm
    none           tmpfs      100M   44K  100M   1% /run/user
    /dev/sda1      ext4        71G   34G   34G  51% /mnt/boot-sav/sda1
    /dev/sda2      fuseblk    100M   27M   74M  27% /mnt/boot-sav/sda2
    /dev/sda3      fuseblk    852G  475G  378G  56% /mnt/boot-sav/sda3
    /dev/sdb1      fuseblk    233G   66G  168G  29% /mnt/boot-sav/sdb1
    
    =================== fdisk -l:
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xa67d77b2
    
    Device Boot      Start         End      Blocks   Id  System
    /dev/sda1      1802575872  1953523711    75473920   83  Linux
    /dev/sda2   *        2048      206847      102400   42  SFS
    /dev/sda3          206848  1786761215   893277184   42  SFS
    /dev/sda4      1786763262  1802575871     7906305    5  Extended
    /dev/sda5      1786763264  1802575871     7906304   82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    
    Disk /dev/sdb: 250.1 GB, 250059350016 bytes
    240 heads, 63 sectors/track, 32301 cylinders, total 488397168 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: 0xe19ca947
    
    Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1            2048   488394751   244196352    7  HPFS/NTFS/exFAT
    
    
    =================== Advices
    SFS detected. You may want to retry after converting Windows dynamic partitioning (SFS partitions) to a basic disk. This can be performed via tools such as TestDisk or EASEUS-Partition-Master / MiniTool-Partition-Wizard.
    Do you want to continue?
    
    =================== Recommended repair
    Recommended-Repair
    This setting will reinstall the grub2 of sda1 into the MBRs of all disks (except USB without OS).
    The boot flag will be placed on sdb1.
    Additional repair will be performed: unhide-bootmenu-10s   fix-windows-boot
    
    
    parted /dev/sdb set 1 boot on
    
                                                                              
    Information: You may need to update /etc/fstab.
    
    Quantity of real Windows: 1
    WinSE in sda3
    Copied Win boot files from sda2 to sda3
    
    Reinstall the GRUB of sda1 into all MBRs of disks with OS or not-USB
    grub-install.real (GRUB) 2.00-7ubuntu11,grub-install.
    
    Reinstall the GRUB of sda1 into the MBR of sdb
    Installation finished. No error reported.
    grub-install /dev/sdb: exit code of grub-install /dev/sdb:0
    grub-install.real (GRUB) 2.00-7ubuntu11,grub-install.
    
    Reinstall the GRUB of sda1 into the MBR of sda
    /usr/sbin/grub-bios-setup: warning: this LDM has no Embedding Partition; embedding won't be possible.
    /usr/sbin/grub-bios-setup: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
    /usr/sbin/grub-bios-setup: error: will not proceed with blocklists.
    grub-install /dev/sda: exit code of grub-install /dev/sda:1
    
    dd if=/dev/sda bs=512 count=1 skip=6 | hd
    00000000  50 52 49 56 48 45 41 44  00 00 2f 87 00 02 00 0c  |PRIVHEAD../.....|
    00000010  01 cc 4b 43 d7 50 5d 50  00 00 00 00 00 00 00 01  |..KC.P]P........|
    00000020  00 00 00 00 00 00 07 ff  00 00 00 00 00 00 07 40  |...............@|
    00000030  65 63 38 35 32 30 31 37  2d 62 37 33 35 2d 31 31  |ec852017-b735-11|
    00000040  65 30 2d 62 64 61 63 2d  30 30 31 64 36 30 61 31  |e0-bdac-001d60a1|
    00000050  65 62 35 66 00 00 00 00  00 00 00 00 00 00 00 00  |eb5f............|
    00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000070  31 62 37 37 64 61 32 30  2d 63 37 31 37 2d 31 31  |1b77da20-c717-11|
    00000080  64 30 2d 61 35 62 65 2d  30 30 61 30 63 39 31 64  |d0-a5be-00a0c91d|
    00000090  62 37 33 63 00 00 00 00  00 00 00 00 00 00 00 00  |b73c............|
    000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000b0  65 63 38 35 32 30 31 36  2d 62 37 33 35 2d 31 31  |ec852016-b735-11|
    000000c0  65 30 2d 62 64 61 63 2d  30 30 31 64 36 30 61 31  |e0-bdac-001d60a1|
    000000d0  65 62 35 66 00 00 00 00  00 00 00 00 00 00 00 00  |eb5f............|
    000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000f0  44 45 53 4b 54 4f 50 2d  44 67 30 00 00 00 00 00  |DESKTOP-Dg0.....|
    00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000110  00 02 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000120  00 00 3f 00 00 00 00 74  70 65 71 00 00 00 00 74  |..?....tpeq....t|
    00000130  70 65 b0 00 00 00 00 00  00 08 00 00 00 00 00 00  |pe..............|
    00000140  00 00 02 00 00 00 00 00  00 07 fd 00 00 00 01 00  |................|
    00000150  00 00 01 00 00 00 00 00  00 05 c9 00 00 00 00 00  |................|
    00000160  00 00 e0 a6 7d 77 b2 00  00 00 00 00 00 00 00 00  |....}w..........|
    00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    00000200
    
    dd if=/dev/sda bs=512 count=1 skip=1953525167 | hd
    00000000  50 52 49 56 48 45 41 44  00 00 2f 87 00 02 00 0c  |PRIVHEAD../.....|
    00000010  01 cc 4b 43 d7 50 5d 50  00 00 00 00 00 00 00 01  |..KC.P]P........|
    00000020  00 00 00 00 00 00 07 ff  00 00 00 00 00 00 07 40  |...............@|
    00000030  65 63 38 35 32 30 31 37  2d 62 37 33 35 2d 31 31  |ec852017-b735-11|
    00000040  65 30 2d 62 64 61 63 2d  30 30 31 64 36 30 61 31  |e0-bdac-001d60a1|
    00000050  65 62 35 66 00 00 00 00  00 00 00 00 00 00 00 00  |eb5f............|
    00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000070  31 62 37 37 64 61 32 30  2d 63 37 31 37 2d 31 31  |1b77da20-c717-11|
    00000080  64 30 2d 61 35 62 65 2d  30 30 61 30 63 39 31 64  |d0-a5be-00a0c91d|
    00000090  62 37 33 63 00 00 00 00  00 00 00 00 00 00 00 00  |b73c............|
    000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000b0  65 63 38 35 32 30 31 36  2d 62 37 33 35 2d 31 31  |ec852016-b735-11|
    000000c0  65 30 2d 62 64 61 63 2d  30 30 31 64 36 30 61 31  |e0-bdac-001d60a1|
    000000d0  65 62 35 66 00 00 00 00  00 00 00 00 00 00 00 00  |eb5f............|
    000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000000f0  44 45 53 4b 54 4f 50 2d  44 67 30 00 00 00 00 00  |DESKTOP-Dg0.....|
    00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000110  00 02 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000120  00 00 3f 00 00 00 00 74  70 65 71 00 00 00 00 74  |..?....tpeq....t|
    00000130  70 65 b0 00 00 00 00 00  00 08 00 00 00 00 00 00  |pe..............|
    00000140  00 00 02 00 00 00 00 00  00 07 fd 00 00 00 01 00  |................|
    00000150  00 00 01 00 00 00 00 00  00 05 c9 00 00 00 00 00  |................|
    00000160  00 00 e0 a6 7d 77 b2 00  00 00 00 00 00 00 00 00  |....}w..........|
    00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    00000200
    LDM-blocker detected. Please backup your data before this operation. Do you want to continue? yes
    dd if=/dev/zero of=/dev/sda bs=512 seek=1953525167 count=1
    /usr/sbin/grub-bios-setup: warning: this LDM has no Embedding Partition; embedding won't be possible.
    /usr/sbin/grub-bios-setup: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
    /usr/sbin/grub-bios-setup: error: will not proceed with blocklists.
    grub-install /dev/sda: exit code of grub-install /dev/sda:1
    Please report this message to yannubuntu@gmail.com
    LDM-blocker detected. This will delete the 6th sector of sda. Do you want to continue? yes
    dd if=/dev/zero of=/dev/sda bs=512 seek=6 count=1
    Installation finished. No error reported.
    grub-install /dev/sda: exit code of grub-install /dev/sda:0
    
    chroot /mnt/boot-sav/sda1 update-grub
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.5.0-17-generic
    Found initrd image: /boot/initrd.img-3.5.0-17-generic
    Found memtest86+ image: /boot/memtest86+.bin
    Found Windows 7 (loader) on /dev/sda2
    Found Windows 7 (loader) on /dev/sda3
    Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
    
    Boot successfully repaired.
    
    You can now reboot your computer.
    Please do not forget to make your BIOS boot on sda (1000GB) disk!
    I will try using bootinfoscript and report back. Thank you!

  4. #4
    Just Joined!
    Join Date
    May 2013
    Posts
    9
    The output results from bootinfoscript is almost identical:
    Code:
                      Boot Info Script 0.61      [1 April 2012]
    
    
    ============================= 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 72 for .
     => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of 
        the same hard drive for core.img. core.img is at this location and looks 
        in partition 72 for .
    
    sda1: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Linux Mint 14 Nadia
        Boot files:        /boot/grub/grub.cfg /etc/fstab
    
    sda2: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /bootmgr /Boot/BCD
    
    sda3: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe
    
    sda4: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  Grub2 (v1.99)
        Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda5 
                           and looks at sector 1786813868 of the same hard drive 
                           for core.img, but core.img can not be found at this 
                           location.
    
    sdb1: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sda1       1,802,575,872 1,953,523,711   150,947,840  83 Linux
    /dev/sda2    *          2,048       206,847       204,800  42 SFS
    /dev/sda3             206,848 1,786,761,215 1,786,554,368  42 SFS
    /dev/sda4       1,786,763,262 1,802,575,871    15,812,610   5 Extended
    /dev/sda5       1,786,763,264 1,802,575,871    15,812,608  82 Linux swap / Solaris
    
    
    Drive: sdb _____________________________________________________________________
    
    Disk /dev/sdb: 250.1 GB, 250059350016 bytes
    240 heads, 63 sectors/track, 32301 cylinders, total 488397168 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   488,394,751   488,392,704   7 NTFS / exFAT / HPFS
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/sda1        65703582-6246-436c-b4ec-39f21f3f76f3   ext4       
    /dev/sda2        3E5477305476E9D3                       ntfs       System Reserved
    /dev/sda3        E8B47CB5B47C87B8                       ntfs       
    /dev/sda5        d9869046-6a74-4812-aa75-e74bb9023c5b   swap       
    /dev/sdb1        06A4F97CA4F96E95                       ntfs       Local Disk
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda1        /                        ext4       (rw,errors=remount-ro)
    
    
    =========================== sda1/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,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    else
      search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    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
    ### 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
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 14 Cinnamon 64-bit, 3.5.0-17-generic (/dev/sda1)' --class linuxmint --class gnu-linux --class gnu --class os {
    	recordfail
    	gfxmode $linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=65703582-6246-436c-b4ec-39f21f3f76f3 ro   quiet splash $vt_handoff
    	initrd	/boot/initrd.img-3.5.0-17-generic
    }
    menuentry 'Linux Mint 14 Cinnamon 64-bit, 3.5.0-17-generic (/dev/sda1) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	echo	'Loading Linux 3.5.0-17-generic ...'
    	linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=65703582-6246-436c-b4ec-39f21f3f76f3 ro recovery nomodeset 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-3.5.0-17-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+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod part_msdos
    	insmod ext2
    	set root='hd0,msdos1'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  65703582-6246-436c-b4ec-39f21f3f76f3
    	else
    	  search --no-floppy --fs-uuid --set=root 65703582-6246-436c-b4ec-39f21f3f76f3
    	fi
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-3E5477305476E9D3' {
    	insmod part_msdos
    	insmod ntfs
    	set root='hd0,msdos2'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  3E5477305476E9D3
    	else
    	  search --no-floppy --fs-uuid --set=root 3E5477305476E9D3
    	fi
    	chainloader +1
    }
    menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-E8B47CB5B47C87B8' {
    	insmod part_msdos
    	insmod ntfs
    	set root='hd0,msdos3'
    	if [ x$feature_platform_search_hint = xy ]; then
    	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  E8B47CB5B47C87B8
    	else
    	  search --no-floppy --fs-uuid --set=root E8B47CB5B47C87B8
    	fi
    	chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  ${config_directory}/custom.cfg ]; then
      source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    --------------------------------------------------------------------------------
    
    =============================== sda1/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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda1 during installation
    UUID=65703582-6246-436c-b4ec-39f21f3f76f3 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=d9869046-6a74-4812-aa75-e74bb9023c5b none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda1: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     871.669815063 = 935.948337152  boot/grub/grub.cfg                             1
     904.322784424 = 971.009196032  boot/initrd.img-3.5.0-17-generic               2
     871.668907166 = 935.947362304  boot/vmlinuz-3.5.0-17-generic                  1
     904.322784424 = 971.009196032  initrd.img                                     2
     904.322784424 = 971.009196032  initrd.img.old                                 2
     871.668907166 = 935.947362304  vmlinuz                                        1

  5. #5
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,113
    What's on your second hard drive - sdb? It appears to be another installation of windows but you have Grub installed in the master boot record of that drive.
    Obviously, you also have Grub in the mbr of sda which is where Mint is. Most of your windows boot files seem to be on sda3 which is the largest and I expect contains your system files. I don't see anything in the grub files that would be problematic, the entries seem to point to the correct partitions (sda, sda3) with the correct uuid numbers.

    The partition you deleted (sda1) to allow creating a partition for Mint, are you sure it was 1MB? I haven't installed windows 7 but do have a pre-installed version and the first partition on it is the boot partition which is about 100MB. There may have been some file or files on that partition which were needed, I don't know. One thing I would suggest to get some information is to open a terminal on Mint and run this command:

    Code:
    sudo parted /dev/sda print all
    Model: ATA ST3320418AS (scsi)
    Disk /dev/sda: 320GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End     Size    Type      File system     Flags
     1      1049kB  106MB   105MB   primary   ntfs            boot
     2      107MB   42.5GB  42.4GB  primary   ntfs
     4      42.5GB  307GB   265GB   extended
     5      42.5GB  63.1GB  20.6GB  logical   ext4
    Note the far right column on the first row which shows 'boot' under flags. See if one of your windows partitions has that as it is needed for windows, AFAIK. If you get an error message running the command, the 'parted' software may not be installed so you can install it with 'sudo apt-get install parted' or through the software manager/center.

    I recall reading that having SFS filesystems on windows can be a problem with dual-boot Linux/windows but I don't know that would be part of your problem.
    If you installed it yourself then you have the windows install disk and you may be able to select the Repair option when you boot the CD/DVD.
    No other ideas, I usually boot my windows once a month or less so am not really familiar with it.

  6. #6
    Just Joined!
    Join Date
    May 2013
    Posts
    9
    My second hard drive (sdb) is ntfs storage space. It doesn't have an operating system installed.

    Yes, I do recall that the sda1 partition I deleted was 1 MB ntfs.

    sudo parted /dev/sda print all
    Code:
    Model: ATA WDC WD1001FALS-0 (scsi)
    Disk /dev/sda: 1000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End     Size    Type      File system     Flags
     2      1049kB  106MB   105MB   primary   ntfs            boot
     3      106MB   915GB   915GB   primary   ntfs
     4      915GB   923GB   8096MB  extended
     5      915GB   923GB   8096MB  logical   linux-swap(v1)
     1      923GB   1000GB  77.3GB  primary   ext4
    
    
    Model: ATA ST3250410AS (scsi)
    Disk /dev/sdb: 250GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End    Size   Type     File system  Flags
     1      1049kB  250GB  250GB  primary  ntfs         boot
    
    
    Model: Seagate Expansion (scsi)
    Disk /dev/sdc: 1000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End     Size    Type     File system  Flags
     1      1049kB  1000GB  1000GB  primary  ntfs
    It seems odd that my second hard drive (sdb) is marked as bootable. It does not have an operating system; Windows 7 is installed on sda3. Could this be the problem? I also don't know what's up with [4 915GB 923GB 8096MB extended]; this shouldn't be there.

    Unfortunately I cannot use the Windows 7 DVD to to a repair install because it does not detect that there is an operating system.

  7. #7
    Just Joined!
    Join Date
    May 2013
    Posts
    9
    I've been reading from a couple places that Windows dynamic disks are not supported for dual-booting Linux. I'm gonna work on backing up all my data on the Windows partition, then try converting the disk from dynamic to basic (hopefully preserving everything).

  8. #8
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,113
    You are right about 'dynamic disks' in windows not working with Linux. I've read that in a number of places but don't have any actual experience with it so can't help.
    Not sure why sdb1 is marked as bootable as that is not even used with Linux. Maybe you had another OS on it earlier?? Don't know? You have windows boot files on both sda2 and sda3 although sda3 is more complete. What is on sda2?

    I also don't know what's up with [4 915GB 923GB 8096MB extended]; this shouldn't be there.
    Yes it should be. That is your Extended partition which is just a container for the logical partition (sda5 in your case) and not a problem.

    Unfortunately I cannot use the Windows 7 DVD to to a repair install because it does not detect that there is an operating system.
    I've read a number of posts where people have this problem with a windows disk not being able to find an operating system. What I have read is that windows doesn't recognize non-windows code in the mbr and just fails. I find that to be astonishing, given the amount of money one pay for the system and 'free' Linux systems don't have a problem with it. I've never personally run into this problem. When you boot your windows install DVD, do you just get 'no operating system found' or are there other messages?

    Anyhow, Grub doesn't actually boot or try to boot any windows bootloader. It just points to the location on the partition where the windows boot files should be and lets windows take over from there. This is a problem with windows and it could be that there was some file (files) in the 1MB you deleted or the dynamic disk thing is the problem.

    I think you are on the right track backing up and dealing with the 'dynamic disk ' thing. Good luck with it.

  9. #9
    Just Joined!
    Join Date
    May 2013
    Posts
    9
    SOLVED

    To fix this problem, I used Partition Wizard to delete my Linux partition, convert the disk to basic and restore the Windows MBR. This got Windows working again. I then re-installed Linux and used Boot Repair (Linux Secure Remix) to install Grub. After a few other bumps in the road, I now have dual-boot Windows 7 and Mint 14 working. Thank you!

Posting Permissions

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