Results 1 to 9 of 9

Thread: Ubuntu does not detect Windows 7

  1. #1
    Join Date
    Aug 2013
    Location
    Lahore, Pakistan
    Beans
    57
    Distro
    Ubuntu Mate

    Post Ubuntu does not detect Windows 7

    hello,

    I have two operating systems one is ubuntu 14.04LTS which is on /dev/sda1 and other is Windows 7 Ultimate which is on /dev/sda2.
    When my machine boots, it boots into directly Ubuntu 14.04LTS without detecting my Windows 7.
    I have freshly installed Ubuntu 14.04LTS. I want a menu through i can decide the desired OS.
    Windows 7 have files over /dev/sda2.
    I ran os-prober through command prompt using ubuntu installed.
    It displays nothing.
    How can i recover windows 7 back?

  2. #2
    Join Date
    Nov 2004
    Location
    Maine
    Beans
    2,420
    Distro
    Kubuntu

    Re: Ubuntu does not detect Windows 7

    you can try running boot-repair found here.

    if it does not find it there is a webpage it will give you with a text file out put post it here so we can find the problem.
    Wireless script
    Dave
    Registered Linux User #462608
    Morse Code an early Digital Mode.

  3. #3
    Join Date
    Oct 2011
    Location
    Galiza
    Beans
    3,380
    Distro
    Ubuntu Development Release

    Re: Ubuntu does not detect Windows 7

    When you installed Ubuntu your already installed Windows 7 wasn't by any chance hibernated?
    Galiza Nação!

  4. #4
    Join Date
    Aug 2013
    Location
    Lahore, Pakistan
    Beans
    57
    Distro
    Ubuntu Mate

    Re: Ubuntu does not detect Windows 7

    Quote Originally Posted by Vladlenin5000 View Post
    When you installed Ubuntu your already installed Windows 7 wasn't by any chance hibernated?
    no it wasn't. I used it 5hours ago & I properly shut it down!

  5. #5
    Join Date
    Aug 2013
    Location
    Lahore, Pakistan
    Beans
    57
    Distro
    Ubuntu Mate

    Re: Ubuntu does not detect Windows 7

    GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
    Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.


    upon running boot-repair it prompted.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu does not detect Windows 7

    Is your system a new UEFI hardware based system?
    And did you reinstall Windows 7 in BIOS mode or UEFI mode?

    It looks like you booted Boot-Repair in BIOS mode and it is trying to install grub to the MBR of a gpt partitioned drive. But in BIOS mode grub has to have a bios_grub partition, in UEFI mode it has to have the efi partition. Boot-Repair does not auto create partitions so it gives the error. But you probably do not want that anyway.

    Post link to BootInfo report. Do not run the auto fix.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: Ubuntu does not detect Windows 7

    I have freshly installed Ubuntu 14.04LTS. I
    Oh oh! DId you "reinstall" using the option to Replace the existing Ubuntu installation? IF so, you might have erased the former Windows install -- as Replace causes the entire drive to be reformatted.

    Best for us to see if Win7 is still there before you start into any Repair/Restore operations.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  8. #8
    Join Date
    Aug 2013
    Location
    Lahore, Pakistan
    Beans
    57
    Distro
    Ubuntu Mate

    Re: Ubuntu does not detect Windows 7

    No I have no UEFI based machine. I am using simple EFI based machine.
    I had Windows 7 from a month and Ubuntu 14.04LTS from 3 months. I just went for LXLE and on my another partition for tri-boot and all messed up! I deleted boot partition because after installing LXLE boot auto gets corrupted.
    When i freshly installed Ubuntu 14.04LTS, I went for "something else" on partition menu, I feel it the most safe way! I always go for it.
    Windows 7 is still there on /dev/sda2 and Ubuntu 14.04 LTS on /dev/sda1. I can see them using Ubuntu 14.04LTS live cd or parted magic live cd. I used grub-doctor given in parted magic CD but of no use! I have also Hiren's Boot CD. Will it help?
    I can tell you right now! I have following four partitions:
    /dev/sda1 : Ubuntu 14.04 LTS
    /dev/sda2 : Windows 7 Ultimate [It's not deleted accidently, I can see files]
    /dev/sda3 : Swap
    /dev/sda4 : My Drive for my stuff.
    /dev/sda5 : 670MB as raw/untyped partition with flags as bios_grub [as given by Gparted Software]
    Last edited by Muhammad_Ahmad_Mujtaba; July 21st, 2014 at 09:00 PM. Reason: completed sentences, grammer corrected.

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu does not detect Windows 7

    We need to see details.
    Install into the Ubuntu installer or if your Ubuntu is working you can run it from that.

    Do not run the auto fix, just post link from BootInfo report.
    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

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
  •