Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Can't boot into Windows 7

  1. #1
    Join Date
    Mar 2013
    Beans
    11

    Unhappy Can't boot into Windows 7

    I recently deleted a partition which I thought was just a linux mint which didn't install correctly. However, now I can't boot into Windows 7 from GRUB for whatever reason.
    I can get into ubuntu but that's pretty much it.
    I tried to use a Windows 7 boot USB that I made with unetbootin but whenever I boot from it, it only shows the option "default" and I can't do anything from there.

    I've read on some threads that you should modify the syslinux.cfg but mine doesn't seem to be the same as what most people say.
    This is my syslinux.cfg:

    Code:
    default menu.c32
    prompt 0
    menu title UNetbootin
    timeout 100
    
    
    label unetbootindefault
    menu label Default
    kernel /ubnkern
    append initrd=/ubninit

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

    Re: Can't boot into Windows 7

    So did you delete your Windows Partition? Was this deleted partition the first partition of your bootable HDD?

    Post the Boot Info Script here. Put the script on pastebin and just post the link here.

    Meanwhile, when you've booted Ubuntu try to run:

    Code:
    $ sudo update-grub
    After running the above command, check to see if GRUB sees your Windows...
    "Evolution is Nature's way of issuing upgrades."


  3. #3
    Join Date
    Mar 2013
    Beans
    11

    Re: Can't boot into Windows 7

    I have two HDDs. One HDD (1TB) is for my Windows 7. The other HDD is for ubuntu and a linux swap and the partition I deleted :/

    http://www.pastebin.com/Za7KtkMt

    sudo update-grub doesn't do anything to my GRUB menu. It says Windows 7 (loader) is an option in grub.cfg but it doesn't show up in GRUBs menu when I boot.

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

    Re: Can't boot into Windows 7

    Are you using uefi boot or legacy boot?

    fdisk reports sdb2 as EFI System Partition which doesn't seem to be true since the partition is ext4 and that's the ubuntu partition.

    If you can, i suggest you go into BIOS and disable the uefi boot since it can confuse things. You also might need to purge and reinstall grub2 since I don't see /boot/grub/core.img for your 12.10 installation. I think you might be actually booting Backtrack grub, and not Ubuntu grub.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 7 Ultimate 64bit

  5. #5
    Join Date
    Mar 2013
    Beans
    11

    Re: Can't boot into Windows 7

    I'm using UEFI and Legacy boot. Should I only select Legacy?

    How do I purge and reinstall grub2?

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

    Re: Can't boot into Windows 7

    I would set it to legacy only, because if sometimes you boot the cd in uefi mode it will install the OS in uefi mode, and then you will have a problem.

    To purge, boot your ubuntu 12.10 and in terminal do:
    Code:
    sudo apt-get remove --purge grub-pc grub-common
    sudo apt-get install grub-pc
    sudo grub-mkconfig
    sudo update-grub
    sudo grub-install /dev/sda
    Make sure in bios you are booting sda as the first option. Reboot and it should be OK.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 7 Ultimate 64bit

  7. #7
    Join Date
    Mar 2013
    Beans
    11

    Re: Can't boot into Windows 7

    I'm doing sudo apt-get install grub-pc right now. Do I install it on sda or sdb? sda is my main HDD which I use for Windows 7 and sdb is for ubuntu.

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

    Re: Can't boot into Windows 7

    I know but since sdb has gpt table, grub2 will not install correctly there. It needs a small partition that you don't have, although it seems you have space to create one if you want to.

    On sda you have the grub from BT anyway, there is no windows bootloader now. You can install it on /dev/sda and see if everything works, later you can change to /dev/sdb.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 7 Ultimate 64bit

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

    Re: Can't boot into Windows 7

    If you prefer sdb, don't reboot and don't install it on sda. Let me know and I can give you some commands to run. If you want to do that, post the output of:
    Code:
    sudo parted -l (small L)
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 7 Ultimate 64bit

  10. #10
    Join Date
    Mar 2013
    Beans
    11

    Re: Can't boot into Windows 7

    Whichever is my best option. I'd like to have my main hard drive for Windows 7 only but if that's too complicated then I don't mind.
    What do you suggest?

Page 1 of 2 12 LastLast

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
  •