You are not logged in.

#1 2013-12-14 14:44:02

granada
Member
Registered: 2012-02-20
Posts: 19

Unable to boot dual boot with windows.

Hello.

For the first time I am using an computer with UEFI. Boot into arch was pretty straight forward, although I got some difficulties. And I am not sore how i got to boot into archlinux.
But I cant get to boot into windows!

I got two HDs, sda with win7 and sdb with arch linux.

I tried typing into the grub prompt during boot: set root(hdx,y) and chainloader +1. But it complains something about an wrong UEFI path.

During the arch install i made the partition with about 200 mb for that EFI stuff. But in the windows harddrive there is only one huge partition, so is it using the BIOS MBR settings?
I didnt install this windows, is the one that came with the computer. The windows is 64 bit also.

When i run the grub-probe to get the uuid and the hint_string i get an error also: grub-probe: error: failed to get canonical path of $esp/EFI/Microsoft/Boot/bootmgfw.efi

On the UEFI page on the arch wiki, under the troubleshooting section I read that the gigabyte Z77X-UD3H got some problem with booting. I got an z77m d3h. After reading that i got a little scared and decided to ask for help before I screw up.

Here is the output of gparted /dev/sdx print

Model: ATA WDC WD10EZEX-00R (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      1049kB  1000GB  1000GB  primary  ntfs         boot

Model: ATA ST1000DM000-9TS1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size   Type     File system  Flags
1      1049kB  300MB   299MB  primary  fat32
2      300MB   120GB   120GB  primary  ext4
3      120GB   620GB   500GB  primary  ext4
4      620GB   1000GB  380GB  primary  ntfs

I am completely lost. If somone can help me...

D:

Offline

#2 2013-12-14 19:50:39

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 470

Re: Unable to boot dual boot with windows.

you can try os-prober

ezik

Offline

#3 2013-12-14 20:42:01

granada
Member
Registered: 2012-02-20
Posts: 19

Re: Unable to boot dual boot with windows.

os-prober returns No volume groups found

Offline

#4 2013-12-15 16:45:27

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 470

Re: Unable to boot dual boot with windows.

have you mounted the windows partition before os probing?

ezik

Offline

#5 2013-12-16 23:50:03

granada
Member
Registered: 2012-02-20
Posts: 19

Re: Unable to boot dual boot with windows.

It gives the error either with the windows partition mounted or unmounted.

Offline

#6 2013-12-17 07:00:29

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: Unable to boot dual boot with windows.

Your Windows 7 x64 in sda1 came with the system and it is installed using msdos (aka MBR) partitioning, then 100% it is booting in BIOS mode. Because of that you do not have Windows UEFI bootloader installed and naturally grub-probe is giving you the error:

grub-probe: error: failed to get canonical path of $esp/EFI/Microsoft/Boot/bootmgfw.efi

You may need to convert the Windows installed to UEFI-GPT mode (possible but tricky) or you have to change the boot mode in your motherboard firmware setup menu everytime you boot into Windows/Arch after rebooting from the other.

Offline

#7 2013-12-17 17:23:35

granada
Member
Registered: 2012-02-20
Posts: 19

Re: Unable to boot dual boot with windows.

I used windows for some time, them I put arch linux on the machine. I didnt change anything in the BIOS. Why do I need this now?

Offline

#8 2013-12-17 18:33:17

socials
Member
Registered: 2013-11-15
Posts: 27

Re: Unable to boot dual boot with windows.

granada wrote:

I used windows for some time, them I put arch linux on the machine. I didnt change anything in the BIOS. Why do I need this now?

Because for some reason you used MBR for Windows (which boots in legacy BIOS mode) but GPT for Arch Linux (boots in UEFI mode). You should have also used MBR for Arch Linux. Now you have two options -
* Convert Windows MBR to GPT
* Install Arch Linux again and use MBR for partitioning
It's pretty clear option 2 is the recommended one.

Edit: I looked at your first post again and it seems that /dev/sdb is also using MBR. The point still stands, you're trying to boot Arch in UEFI mode for some reason which you shouldn't do. Just use legacy BIOS mode since it worked for Windows and so it must work for Arch, too.

Last edited by socials (2013-12-17 18:37:05)

Offline

#9 2013-12-17 18:43:06

granada
Member
Registered: 2012-02-20
Posts: 19

Re: Unable to boot dual boot with windows.

How do you know that i am using MBR on both hard drives? Due the Partition Table: msdos?

Well. what i mess I made. I will see if I can use MBR to boot both windows and arch.

Offline

#10 2013-12-17 18:47:49

socials
Member
Registered: 2013-11-15
Posts: 27

Re: Unable to boot dual boot with windows.

granada wrote:

How do you know that i am using MBR on both hard drives? Due the Partition Table: msdos?

Yes.

Just install Arch again and skip over the UEFI/GPT part in the Beginner's Guide.

Offline

#11 2013-12-17 19:10:51

granada
Member
Registered: 2012-02-20
Posts: 19

Re: Unable to boot dual boot with windows.

I will do that.

Thanks for the support.

Let see if it will work.

---------- edit ----------

I managed to boot into windows after I reinstalled arch linux big_smile

The problem as the user that went full retard with the UEFI stuff. By user I mean me.

Thank you for the help.

Last edited by granada (2013-12-17 21:02:41)

Offline

Board footer

Powered by FluxBB