Results 1 to 10 of 10

Thread: GRUB does not detect Windows

  1. #1
    Join Date
    Oct 2012
    Beans
    5

    GRUB does not detect Windows

    I have finally installed ubuntu on my second drive i change my d drive to took 8gb for swap and formated d disc(sda4 to ext4), now when i start computer in grub is shows me only ubuntu and windows 7 is not shown. So how should i fix thath problem to i will be able to choose between them at grub.

    Another thing is after i press F12 for boot menu at startup i choose windows boot manager and i get into Windows 7.

    I runed command sudo fdisk -l and here is log: http://pastebin.com/Cgv1igHc

    ARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0xc3ffc3ff

    Device Boot Start End Blocks Id System
    /dev/sda1 1 1953525167 976762583+ ee GPT
    Partition 1 does not start on physical sector boundary.
    Thanks for help!

  2. #2
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,959
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GRUB does not detect Windows

    That disk has gpt table. Are you using UEFI boot? If you do, you should have installed ubuntu in UEFI mode, not the standard mode.

    If windows is on the same disk it's probably UEFI since win7 can't work on gpt without uefi.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  3. #3
    Join Date
    Oct 2012
    Beans
    5

    Re: GRUB does not detect Windows

    Yes probably cause i have Windows 7 its uefi, right now i am going to install Windows 7 again and format both disc. Are there any guides how to make partitions in w7 first to they are fine for ubuntu setup later?

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

    Re: GRUB does not detect Windows

    IF you're asking about creating partitions for Ubuntu -- NO. I'm not aware that Win7 will let you format partitions as Ext4.
    Ubuntu 17.10 Mate, Mint 18.3 Mate; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GRUB does not detect Windows

    If Windows is in UEFI, and you installed Ubuntu in BIOS, you can use Boot-Repair to convert Ubuntu to UEFI boot.

    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration and diagnose advanced problems.

    If reinstalling, you just need to be consistent. Both Windows & Ubuntu have to be either UEFI/gpt or BIOS/MBR. Both installs should offer either as a choice with 64bit versions. Ubuntu's liveCD will install in the mode it is booted into either UEFI or BIOS/AHCI/legacy or whatever.

    With BIOS/MBR you have the 4 primary partition limit or Ubuntu then has to be in logical partitions, with gpt all partitions are primary so the only limit is 128 partitions .
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Oct 2012
    Beans
    5

    Re: GRUB does not detect Windows

    Quote Originally Posted by Mark Phelps View Post
    IF you're asking about creating partitions for Ubuntu -- NO. I'm not aware that Win7 will let you format partitions as Ext4.
    No i am asking how should i divide my disc 1tb big in gparted to prepari it for Windows and Ubuntu, i use quit a lot windows definitly more then Ubuntu right now. But i will be probably using them same amount of time once i start with it.

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GRUB does not detect Windows

    It makes a big difference if UEFI or BIOS as that determines how you create partitions and what partitions are required.

    Windows has to have gpt partitioning if booting in UEFI and will not boot from gpt with BIOS. Ubuntu can boot from gpt or MBR partitioning whether BIOS or UEFI.

    If UEFI with Windows:
    Older Windows info on gpt - 2008 updated 2011
    http://msdn.microsoft.com/en-us/wind.../gg463525.aspx
    Microsoft suggested partitions including reserved partition for gpt & UEFI:
    http://technet.microsoft.com/en-us/l...8WS.10%29.aspx
    Windows technical info on gpt and GUIDs
    http://msdn.microsoft.com/library/wi...sktop/aa365449
    Order on drive is important:
    http://en.wikipedia.org/wiki/Microso...rved_Partition
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Oct 2012
    Beans
    5

    Re: GRUB does not detect Windows

    Quote Originally Posted by oldfred View Post
    It makes a big difference if UEFI or BIOS as that determines how you create partitions and what partitions are required.

    Windows has to have gpt partitioning if booting in UEFI and will not boot from gpt with BIOS. Ubuntu can boot from gpt or MBR partitioning whether BIOS or UEFI.

    If UEFI with Windows:
    Older Windows info on gpt - 2008 updated 2011
    http://msdn.microsoft.com/en-us/wind.../gg463525.aspx
    Microsoft suggested partitions including reserved partition for gpt & UEFI:
    http://technet.microsoft.com/en-us/l...8WS.10%29.aspx
    Windows technical info on gpt and GUIDs
    http://msdn.microsoft.com/library/wi...sktop/aa365449
    Order on drive is important:
    http://en.wikipedia.org/wiki/Microso...rved_Partition
    I have new computer it was made on 2012 it have new i5 with ivy bridge. So how can i check if i have UEFI or BIOS? Also how should i then format and create partions for Windows and for ubuntu in gparted?

  9. #9
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Arrow Re: GRUB does not detect Windows

    Quote Originally Posted by ArcaneWater View Post
    So how can i check if i have UEFI or BIOS? Also how should i then format and create partions for Windows and for ubuntu in gparted?
    UEFI doc: https://help.ubuntu.com/community/UEFI

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GRUB does not detect Windows

    Just post this from liveCD or USB. If first partition is FAT32 and efi/boot then you are in UEFI mode.

    sudo parted /dev/sda unit s print
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

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
  •