Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
installed ubuntu and now can not boot into windows 7. jr@jr-ET1161-05:~$ sudo fdisk -l Disk /dev/sda: 82.0 GB, 81964302336 bytes 255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors Units ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2012
    Posts
    7

    Installed ubuntu and now cant load windows 7


    installed ubuntu and now can not boot into windows 7.


    jr@jr-ET1161-05:~$ sudo fdisk -l

    Disk /dev/sda: 82.0 GB, 81964302336 bytes
    255 heads, 63 sectors/track, 9964 cylinders, total 160086528 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: 0x0001f604

    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
    /dev/sda2 206848 160083967 79938560 7 HPFS/NTFS/exFAT

    Disk /dev/sdb: 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
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x13c703b5

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 63 243066283 121533110+ 7 HPFS/NTFS/exFAT
    /dev/sdb2 243066878 312580095 34756609 5 Extended
    /dev/sdb5 308654080 312580095 1963008 82 Linux swap / Solaris
    /dev/sdb6 243066880 304723967 30828544 83 Linux
    /dev/sdb7 304726016 308641791 1957888 82 Linux swap / Solaris

    Partition table entries are not in disk order

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Posts
    12
    Have you tried updating grub? Try
    Code:
    sudo update-grub

  3. #3
    Just Joined!
    Join Date
    Apr 2012
    Posts
    7
    Quote Originally Posted by gokurab View Post
    Have you tried updating grub? Try
    Code:
    sudo update-grub
    Just tried that and came up with nothing.

  4. #4
    Just Joined!
    Join Date
    Apr 2012
    Posts
    7
    This is what i get when sudo update-grub



    jr@jr-ET1161-05:~$ sudo update-grub
    [sudo] password for jr:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.0.0-17-generic
    Found initrd image: /boot/initrd.img-3.0.0-17-generic
    Found linux image: /boot/vmlinuz-3.0.0-12-generic
    Found initrd image: /boot/initrd.img-3.0.0-12-generic
    Found memtest86+ image: /boot/memtest86+.bin
    Found Windows 7 (loader) on /dev/sdg1
    done

  5. #5
    Just Joined!
    Join Date
    Dec 2007
    Posts
    12
    Do you get a grub boot screen after you boot up, showing all these kernels?

  6. #6
    Just Joined!
    Join Date
    Oct 2011
    Posts
    22
    @gscheaffer, in your first post the output of fdisk shows partitions on drives sda and sdb. My guess is that Windows 7 is on sda, but there is an NTFS partition with the boot flag set at sdb1, so it is not clear exactly where Windows is. However, in your more recent post, the output of update-grub states, "Found Windows 7 (loader) on /dev/sdg1". There was no mention of sdg in the fdisk output.

    We need to see the output of the boot info script to get a complete overview of your system. Boot into Ubuntu and go to this site:

    SourceForge.net: Boot Info Script - Project Web Hosting - Open Source Software

    Download and run the boot info script according to the instructions there and post the contents of the RESULTS.txt in your post. That will be a great wall of text so, for clarity, you need to enclose it between [CODE] and [/CODE] tags. You can use the # button in the message toolbar for this if you want.

  7. #7
    Guest
    Join Date
    Feb 2005
    Posts
    312
    Run (as root)

    Code:
    # os-prober
    If that produces any output pertaining to your windows partition(s), run (also as root)

    Code:
    # update-grub

  8. #8
    Just Joined!
    Join Date
    Apr 2012
    Posts
    7
    Quote Originally Posted by coffeecat View Post
    @gscheaffer, in your first post the output of fdisk shows partitions on drives sda and sdb. My guess is that Windows 7 is on sda, but there is an NTFS partition with the boot flag set at sdb1, so it is not clear exactly where Windows is. However, in your more recent post, the output of update-grub states, "Found Windows 7 (loader) on /dev/sdg1". There was no mention of sdg in the fdisk output.

    We need to see the output of the boot info script to get a complete overview of your system. Boot into Ubuntu and go to this site:



    Download and run the boot info script according to the instructions there and post the contents of the RESULTS.txt in your post. That will be a great wall of text so, for clarity, you need to enclose it between [CODE] and [/CODE] tags. You can use the # button in the message toolbar for this if you want.
    Followed the instructions to the T and says file doesnt exist.

    jr@jr-ET1161-05:~$ sudo bash ~/Desktop/boot_info_script.sh
    [sudo] password for jr:
    bash: /home/jr/Desktop/boot_info_script.sh: No such file or directory
    jr@jr-ET1161-05:~$

  9. #9
    Just Joined!
    Join Date
    Apr 2012
    Posts
    7
    Also No Boot screen at startup. Goes right into ubuntu.

  10. #10
    Just Joined!
    Join Date
    Oct 2011
    Posts
    22
    Quote Originally Posted by gscheaffer View Post
    Followed the instructions to the T and says file doesnt exist.
    If it says that file doesn't exist, then it means the file is not on your desktop and you couldn't have followed the instructions to a "T".

    From the instructions:

    For example if you downloaded the file to the desktop, use:

    sudo bash ~/Desktop/boot_info_script.sh
    Did you download the file? Where did you download it to? Have a look in your Downloads folder. Firefox downloads to the Downloads folder by default, so if the boot info script file is in your Downloads folder, you need to amend the command or move the file to your desktop.

Page 1 of 2 1 2 LastLast

Posting Permissions

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