Results 1 to 4 of 4

Thread: Unable to boot Windows 7 after Ubuntu 12.04 installation

  1. #1
    Join Date
    Apr 2011
    Beans
    8

    Unable to boot Windows 7 after Ubuntu 12.04 installation

    Help please! Thanks loads

    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 
        for (,msdos6)/boot/grub on this drive.
    
    sda1: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Grub2 (v1.99)
        Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda1 
                           and looks at sector 429146784 of the same hard drive 
                           for core.img, but core.img can not be found at this 
                           location. No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe
    
    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:        
    
    sda3: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  Unknown
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info: 
    
    sda6: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 12.04 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 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/sda1    *             63   324,881,205   324,881,143   7 NTFS / exFAT / HPFS
    /dev/sda2         324,882,432   407,563,971    82,681,540   7 NTFS / exFAT / HPFS
    /dev/sda3         407,564,286   488,396,799    80,832,514   5 Extended
    /dev/sda5         480,538,624   488,396,799     7,858,176  82 Linux swap / Solaris
    /dev/sda6         407,564,288   480,538,623    72,974,336  83 Linux
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/sda1        1846F1DF46F1BD96                       ntfs       
    /dev/sda2        ECE2F40AE2F3D6B4                       ntfs       New Volume
    /dev/sda5        a764686f-5280-4df3-ac17-b8c23fc70519   swap       
    /dev/sda6        b9ef055b-1a50-4da6-9962-79dc493092dc   ext4       
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda6        /                        ext4       (rw,errors=remount-ro)
    
    
    =========================== sda6/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 [ "${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 {
      insmod vbe
      insmod vga
      insmod video_bochs
      insmod video_cirrus
    }
    
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos6)'
    search --no-floppy --fs-uuid --set=root b9ef055b-1a50-4da6-9962-79dc493092dc
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos6)'
      search --no-floppy --fs-uuid --set=root b9ef055b-1a50-4da6-9962-79dc493092dc
      set locale_dir=($root)/boot/grub/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
    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
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Ubuntu, with Linux 3.2.0-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	gfxmode $linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos6)'
    	search --no-floppy --fs-uuid --set=root b9ef055b-1a50-4da6-9962-79dc493092dc
    	linux	/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=b9ef055b-1a50-4da6-9962-79dc493092dc ro   quiet splash $vt_handoff
    	initrd	/boot/initrd.img-3.2.0-23-generic-pae
    }
    menuentry 'Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos6)'
    	search --no-floppy --fs-uuid --set=root b9ef055b-1a50-4da6-9962-79dc493092dc
    	echo	'Loading Linux 3.2.0-23-generic-pae ...'
    	linux	/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=b9ef055b-1a50-4da6-9962-79dc493092dc ro recovery nomodeset 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-3.2.0-23-generic-pae
    }
    submenu "Previous Linux versions" {
    menuentry 'Ubuntu, with Linux 2.6.31' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	gfxmode $linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos6)'
    	search --no-floppy --fs-uuid --set=root b9ef055b-1a50-4da6-9962-79dc493092dc
    	linux	/boot/vmlinuz-2.6.31 root=/dev/sda6 ro   quiet splash $vt_handoff
    }
    menuentry 'Ubuntu, with Linux 2.6.31 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos6)'
    	search --no-floppy --fs-uuid --set=root b9ef055b-1a50-4da6-9962-79dc493092dc
    	echo	'Loading Linux 2.6.31 ...'
    	linux	/boot/vmlinuz-2.6.31 root=/dev/sda6 ro recovery nomodeset 
    }
    }
    ### END /etc/grub.d/10_linux ###
    
    ### 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,msdos6)'
    	search --no-floppy --fs-uuid --set=root b9ef055b-1a50-4da6-9962-79dc493092dc
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos6)'
    	search --no-floppy --fs-uuid --set=root b9ef055b-1a50-4da6-9962-79dc493092dc
    	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/sda1)" --class windows --class os {
    	insmod part_msdos
    	insmod ntfs
    	set root='(hd0,msdos1)'
    	search --no-floppy --fs-uuid --set=root 1846F1DF46F1BD96
    	chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### 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  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    --------------------------------------------------------------------------------
    
    =============================== sda6/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/sda6 during installation
    UUID=b9ef055b-1a50-4da6-9962-79dc493092dc /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=a764686f-5280-4df3-ac17-b8c23fc70519 none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda6: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
                   =                boot/grub/core.img                             1
                   =                boot/grub/grub.cfg                             1
                   =                boot/initrd.img-3.2.0-23-generic-pae           2
                   =                boot/vmlinuz-2.6.31                            1
                   =                boot/vmlinuz-3.2.0-23-generic-pae              1
                   =                initrd.img                                     2
                   =                vmlinuz                                        1
    
    ======================== Unknown MBRs/Boot Sectors/etc: ========================
    
    Unknown BootLoader on sda3
    
    00000000  db 93 dd 70 9f 20 10 79  67 63 0a 37 98 f4 e5 ff  |...p. .ygc.7....|
    00000010  ad 30 79 d9 52 dc 96 5a  7c bb cf e3 9c 41 d0 d9  |.0y.R..Z|....A..|
    00000020  93 24 55 a3 49 20 53 22  88 54 98 1d 2b 58 2c 52  |.$U.I S".T..+X,R|
    00000030  69 15 73 71 b7 c5 c7 ea  bc 4d d0 db ca ea 51 88  |i.sq.....M....Q.|
    00000040  b6 ec 99 62 c1 87 66 bc  87 88 7a 65 8d c8 b5 e4  |...b..f...ze....|
    00000050  df 42 99 c2 f6 9a d1 8c  ca 31 10 8e d6 33 b5 71  |.B.......1...3.q|
    00000060  b2 87 fa f0 b9 16 ec bc  cb 78 d3 c5 77 c4 03 00  |.........x..w...|
    00000070  4c 26 ec 8d ce b9 3b 79  4e 13 c9 37 2e 66 5f c5  |L&....;yN..7.f_.|
    00000080  6d a3 76 e9 06 59 3d 3d  0e 24 df c3 bb 24 08 2e  |m.v..Y==.$...$..|
    00000090  d8 67 07 cc 8f 81 3d 8f  46 e5 9e 01 1a 8b 50 ed  |.g....=.F.....P.|
    000000a0  d1 9f 89 cc 9b c4 e4 92  ba 9e e1 f6 c5 14 ba 8c  |................|
    000000b0  37 5b 48 87 cb bc 91 48  c9 f9 d0 8c f8 5c 43 47  |7[H....H.....\CG|
    000000c0  56 8f 80 55 70 31 f8 fa  d5 0b 4e ad 71 86 64 2c  |V..Up1....N.q.d,|
    000000d0  d1 2f b7 d3 58 2a 35 41  f6 30 34 f9 08 e1 92 cf  |./..X*5A.04.....|
    000000e0  c3 cc 6f 15 43 c7 27 d4  3d 06 e0 a8 b1 65 65 e2  |..o.C.'.=....ee.|
    000000f0  50 b2 b3 20 2d be bd 5e  1f ae 17 0e 65 59 6d b2  |P.. -..^....eYm.|
    00000100  37 b8 69 e7 d2 b1 d5 a4  20 52 fd f0 89 d5 b1 29  |7.i..... R.....)|
    00000110  dd ca 14 07 f4 64 69 4d  4b fd 01 cd e0 1d 12 14  |.....diMK.......|
    00000120  bf 15 4f 97 45 65 00 00  02 1f 00 01 00 0b d9 98  |..O.Ee..........|
    00000130  00 00 03 01 53 5a 40 00  2b 50 16 66 20 02 75 f9  |....SZ@.+P.f .u.|
    00000140  a1 c5 cf 33 da b6 23 cf  3c f3 f7 2e af 8e ae 1a  |...3..#.<.......|
    00000150  e0 e0 eb e1 6e df 1b 8b  d9 4d 8a 4d 18 ac c2 cb  |....n....M.M....|
    00000160  89 28 d6 cc 99 bd a6 8b  17 5e cb 33 37 e8 f7 06  |.(.......^.37...|
    00000170  fa 38 2d 26 b9 d2 6b 98  1a b6 55 99 e4 25 30 36  |.8-&..k...U..%06|
    00000180  ec bf 0f 5f 0b e8 55 08  dc 1f bc fd 73 5a 1e a5  |..._..U.....sZ..|
    00000190  b6 c1 6b 5c d3 7d 2a e0  05 2b 92 ed 0c dd c4 d5  |..k\.}*..+......|
    000001a0  e2 33 0c 1c cc d8 b0 f5  12 2c 1c f3 cf 3c 6a da  |.3.......,...<j.|
    000001b0  4b d2 a3 0f 62 18 cc 66  30 be 8f 98 16 66 00 fe  |K...b..f0....f..|
    000001c0  ff ff 82 fe ff ff 02 80  59 04 00 e8 77 00 00 fe  |........Y...w...|
    000001d0  ff ff 05 fe ff ff 01 00  00 00 01 80 59 04 00 00  |............Y...|
    000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
    00000200
    
    
    =============================== StdErr Messages: ===============================
    
    xz: (stdin): Compressed data is corrupt
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Unable to boot Windows 7 after Ubuntu 12.04 installation

    Grub is installed to the boot sector of your Windows system partition, sda1. It should not be there and is interfering with the booting of Windows. For fix, see here:

    http://sourceforge.net/apps/mediawik...ms:Boot_Sector

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

  3. #3
    Join Date
    Apr 2011
    Beans
    8

    Re: Unable to boot Windows 7 after Ubuntu 12.04 installation

    Thanks coffecat! That was a fast and easy fix.

  4. #4
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Unable to boot Windows 7 after Ubuntu 12.04 installation

    Good luck!

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

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
  •