Results 1 to 10 of 31

Thread: Unable to boot in windows 7 after ubuntu install

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Location
    Punjab, India
    Beans
    6
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Unable to boot in windows 7 after ubuntu install

    Yesterday I installed Ubuntu on my laptop running windows 7. I chose the option of running both OS side by side. Now at the time of boot up these are the options available :-

    1. Ubuntu, with Linux 2.6 32-22-generic
    2. Ubuntu, with Linux 2.6 32-22-generic (recovery mode )
    3. Ubuntu, with Linux 2.6 32-22-generic
    4. Ubuntu, with Linux 2.6 32-22-generic (recovery mode)
    5. Memory Test (memtest 86+)
    6. Memory Test (memtest 86+)
    7. Windows 7 (loader) (on /dev/sda1)

    I am confused with these options & when I select windows 7, again the same screen appears.
    At the time of installation the screen friezed & I restarted the installation, Is the problem arising due to this? Please inform what should I do?
    I am totally new to Ubuntu, please guide me on this.

  2. #2
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Unable to boot in windows 7 after ubuntu install

    I would post this script to begin with in code tags. [code] at the beginning and [/code] at the end.
    http://bootinfoscript.sourceforge.net/

    You should also confirm if you shrunk the W7 partition with the W7 partition manager or if you let Ubuntu shrink W7.

  3. #3
    Join Date
    Jul 2009
    Location
    Punjab, India
    Beans
    6
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Unable to boot in windows 7 after ubuntu install

    deleted
    Last edited by gaur.puneet; May 29th, 2010 at 04:00 AM. Reason: without codes

  4. #4
    Join Date
    Jul 2009
    Location
    Punjab, India
    Beans
    6
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Unable to boot in windows 7 after ubuntu install

    I have not shrunk the window 7 partition.

  5. #5
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Unable to boot in windows 7 after ubuntu install

    Quote Originally Posted by gaur.puneet View Post
    I have not shrunk the window 7 partition.
    Would you please go back to the script and use the code tags as I showed in my 1st post. It is very hard to read otherwise.

    [code] at the beginning and [/code] at the end
    Last edited by wilee-nilee; May 28th, 2010 at 07:42 AM.

  6. #6
    Join Date
    Jul 2009
    Location
    Punjab, India
    Beans
    6
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Unable to boot in windows 7 after ubuntu install

    Code:
                   
    
    Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Windows is installed in the MBR of /dev/sda
    
    sda1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Grub 2
        Boot sector info:  Grub 2 is installed in the boot sector of sda1 and 
                           looks at sector 125741144 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/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe 
                           /ntldr /NTDETECT.COM
    
    sda2: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  Unknown
        Boot sector info:  
    
    sda5: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows XP
        Boot sector info:  According to the info in the boot sector, sda5 starts 
                           at sector 63.
        Operating System:  
        Boot files/dirs:   
    
    sda6: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04 LTS
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
    
    sda7: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63   100,012,178   100,012,116   7 HPFS/NTFS
    /dev/sda2         100,014,078   312,576,704   212,562,627   5 Extended
    /dev/sda5         153,597,528   312,576,704   158,979,177   7 HPFS/NTFS
    /dev/sda6         100,014,080   151,289,855    51,275,776  83 Linux
    /dev/sda7         151,291,904   153,595,903     2,304,000  82 Linux swap / Solaris
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/sda1        2098082D980803CE                       ntfs                                     
    /dev/sda2: PTTYPE="dos" 
    /dev/sda5        C98365AB31088A12                       ntfs       Puneet                        
    /dev/sda6        30495c9b-5aef-4572-9e75-868807c86e2d   ext4                                     
    /dev/sda7        cd775b43-fa89-494a-9a0f-ca8e9fa66ef5   swap                                     
    /dev/sda: PTTYPE="dos" 
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda6        /                        ext4       (rw,errors=remount-ro)
    /dev/sda1        /media/2098082D980803CE  fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
    /dev/sda5        /media/Puneet            fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
    
    
    =========================== sda6/boot/grub/grub.cfg: ===========================
    
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/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
      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
    }
    insmod ext2
    set root='(hd0,6)'
    search --no-floppy --fs-uuid --set 30495c9b-5aef-4572-9e75-868807c86e2d
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    insmod ext2
    set root='(hd0,6)'
    search --no-floppy --fs-uuid --set 30495c9b-5aef-4572-9e75-868807c86e2d
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    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/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,6)'
        search --no-floppy --fs-uuid --set 30495c9b-5aef-4572-9e75-868807c86e2d
        linux    /boot/vmlinuz-2.6.32-22-generic root=UUID=30495c9b-5aef-4572-9e75-868807c86e2d ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-22-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,6)'
        search --no-floppy --fs-uuid --set 30495c9b-5aef-4572-9e75-868807c86e2d
        echo    'Loading Linux 2.6.32-22-generic ...'
        linux    /boot/vmlinuz-2.6.32-22-generic root=UUID=30495c9b-5aef-4572-9e75-868807c86e2d ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-22-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,6)'
        search --no-floppy --fs-uuid --set 30495c9b-5aef-4572-9e75-868807c86e2d
        linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=30495c9b-5aef-4572-9e75-868807c86e2d ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-21-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,6)'
        search --no-floppy --fs-uuid --set 30495c9b-5aef-4572-9e75-868807c86e2d
        echo    'Loading Linux 2.6.32-21-generic ...'
        linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=30495c9b-5aef-4572-9e75-868807c86e2d ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-21-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
        insmod ext2
        set root='(hd0,6)'
        search --no-floppy --fs-uuid --set 30495c9b-5aef-4572-9e75-868807c86e2d
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,6)'
        search --no-floppy --fs-uuid --set 30495c9b-5aef-4572-9e75-868807c86e2d
        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)" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 2098082d980803ce
        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 ###
    
    =============================== sda6/etc/fstab: ===============================
    
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' 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=30495c9b-5aef-4572-9e75-868807c86e2d /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda7 during installation
    UUID=cd775b43-fa89-494a-9a0f-ca8e9fa66ef5 none            swap    sw              0       0
    
    =================== sda6: Location of files loaded by Grub: ===================
    
    
      64.3GB: boot/grub/core.img
      55.6GB: boot/grub/grub.cfg
      64.3GB: boot/initrd.img-2.6.32-21-generic
      64.3GB: boot/initrd.img-2.6.32-22-generic
      64.3GB: boot/vmlinuz-2.6.32-21-generic
      64.3GB: boot/vmlinuz-2.6.32-22-generic
      64.3GB: initrd.img
      64.3GB: initrd.img.old
      64.3GB: vmlinuz
      64.3GB: vmlinuz.old
    =========================== Unknown MBRs/Boot Sectors/etc =======================
    
    Unknown BootLoader  on sda2
    
    00000000  41 42 52 52 52 51 41 55  55 55 55 41 46 46 46 46  |ABRRRQAUUUUAFFFF|
    *
    00000040  41 42 52 52 52 51 41 55  0d 0a 55 55 55 41 46 46  |ABRRRQAU..UUUAFF|
    00000050  46 46 41 42 52 52 52 51  41 55 55 55 55 41 46 46  |FFABRRRQAUUUUAFF|
    *
    00000090  46 46 41 42 52 52 0d 0a  52 51 41 55 55 55 55 41  |FFABRR..RQAUUUUA|
    000000a0  46 46 46 46 41 42 52 52  52 51 41 55 55 55 55 41  |FFFFABRRRQAUUUUA|
    *
    000000e0  46 46 46 46 0d 0a 41 42  52 52 52 51 41 55 55 55  |FFFF..ABRRRQAUUU|
    000000f0  55 41 46 46 46 46 41 42  52 52 52 51 41 55 55 55  |UAFFFFABRRRQAUUU|
    *
    00000130  55 41 0d 0a 46 46 46 46  41 42 52 52 52 51 41 55  |UA..FFFFABRRRQAU|
    00000140  55 55 55 41 46 46 46 46  41 42 52 52 52 51 41 55  |UUUAFFFFABRRRQAU|
    00000150  55 55 55 41 46 46 46 46  41 46 72 56 66 2b 51 6e  |UUUAFFFFAFrVf+Qn|
    00000160  64 2f 38 41 58 5a 2f 35  6d 71 74 57 74 56 2f 35  |d/8AXZ/5mqtWtV/5|
    00000170  43 64 33 2f 41 4e 64 6e  2f 6d 61 71 31 30 34 72  |Cd3/ANdn/maq104r|
    00000180  0d 0a 2b 50 55 39 58 2b  5a 45 50 68 51 55 55 55  |..+PU9X+ZEPhQUUU|
    00000190  56 7a 46 68 52 52 52 51  41 55 55 55 55 41 46 46  |VzFhRRRQAUUUUAFF|
    000001a0  46 46 41 42 52 52 52 51  41 55 55 55 55 41 46 46  |FFABRRRQAUUUUAFF|
    000001b0  46 46 41 42 52 52 52 51  41 55 55 55 55 41 00 fe  |FFABRRRQAUUUUA..|
    000001c0  ff ff 07 fe ff ff 5a 9e  31 03 69 d4 79 09 00 fe  |......Z.1.i.y...|
    000001d0  ff ff 05 fe ff ff 01 00  00 00 01 68 0e 03 00 00  |...........h....|
    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

Tags for this Thread

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
  •