Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Can't boot into Windows 7

  1. #11
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't boot into Windows 7

    I suggest you do it now as I suggested, install grub on /dev/sda. If everything works, later you can install it on /dev/sdb too and put windows bootloader on /dev/sda.

    The bootloaders don't matter much, you still need to use grub to boot because windows bootloader can't boot linux. Whether grub is on sda or sdb doesn't make much difference.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  2. #12
    Join Date
    Mar 2013
    Beans
    11

    Re: Can't boot into Windows 7

    :Ignore this reply, I double posted:

  3. #13
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't boot into Windows 7

    The disk will still have windows, you are not changing the OS. I have to go offline for few hours now, if you want to install on sdb, post the result of the parted command I posted and I'll give you other commands when I can.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  4. #14
    Join Date
    Mar 2013
    Beans
    11

    Re: Can't boot into Windows 7

    I did it! Thanks so much Darko. Any equivalent of props on this forum?

  5. #15
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Can't boot into Windows 7

    If there is an option to reinstall then I'd suggest you reinstall Ubuntu. If you have any DATA to rescue then do so. Boot with the LiveCD/USB and use GPARTED to delete all the partitions on /dev/sdb and then Delete Partition Table.

    Recreate Partition Table as DOS and partition your HDD the way you like and reinstall Ubuntu. Only this time install Grub on /dev/sdb. (You MUST change the HDD boot order in the BIOS later to boot /dev/sdb first).
    After partitioning your HDD use fixparts to ensure that you don't have any GPT leftovers.

    You can also fix your Windows if you have Windows install Disk or Win Repair Disk: Read Here. So when/if you select /dev/sda from BIOS to boot first only Windows will boot as it does without Grub.
    Last edited by fantab; March 26th, 2013 at 07:07 PM.
    "Evolution is Nature's way of issuing upgrades."

  6. #16
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't boot into Windows 7

    I would keep gpt on sdb, it has some advantages. Its main disadvantage is that Windows will only boot from gpt with UEFI.

    But as Darko has mentioned you need a bios_grub partition for grub to correctly install in sdb. It only needs to be 1MB and is unformatted space.

    GPT Advantages (older but still valid) srs5694 post #@:
    http://ubuntuforums.org/showthread.php?t=1457901


    In a GPT partition map, the 31 kiB area after Master Boot Record where GRUB is usually embedded to, does not exist. When GRUB can't be embedded, its only option is to use blocklists, which are unreliable and discouraged. Thus, you must make a separate "BIOS boot partition" to hold core.img. BIOS Boot Partition only needs to be about 32 KiB in size, although in most cases make it 1 MiB because of partition alignment issues. It can be anywhere on drive and has no format.

    You can set bios_grub flag in gparted (right click flags) & no format
    In GPT fdisk (gdisk), give bios_grub a type code of EF02.

    Unless booting with UEFI, you should not have an efi partition. Use gparted to remove boot flag.
    Parted & gparted use the boot flag with gpt to define the efi partition. That somewhat confused users that in BIOS/MBR the boot flag was the Windows partition to boot from. With UEFI the efi partition is always the boot partition and you can only have one efi partition per drive.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  7. #17
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't boot into Windows 7

    If you want us to help with creating the small partition you need for grub2, post the output of this:
    Code:
    sudo parted /dev/sdb unit MiB print
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

Page 2 of 2 FirstFirst 12

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
  •