public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] bios+gpt+grub2 boot windows
@ 2013-09-10 15:04 东方巽雷
  2013-09-10 15:14 ` Wang Xuerui
  0 siblings, 1 reply; 5+ messages in thread
From: 东方巽雷 @ 2013-09-10 15:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

I format my hard disk to gpt.Then create a 1M partition at the header of
hard disk ,add "bios_grub" flag.I can install and boot gentoo,debain and
archlinux,but have no idea how to boot windows7 and 8.When I boot win7 or
win8 from usb,it always complain the gpt partition and cannot install.What
should I do?

[-- Attachment #2: Type: text/html, Size: 340 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] bios+gpt+grub2 boot windows
  2013-09-10 15:04 [gentoo-user] bios+gpt+grub2 boot windows 东方巽雷
@ 2013-09-10 15:14 ` Wang Xuerui
  2013-09-10 20:18   ` Yuri K. Shatroff
  0 siblings, 1 reply; 5+ messages in thread
From: Wang Xuerui @ 2013-09-10 15:14 UTC (permalink / raw
  To: gentoo-user

2013/9/10 东方巽雷 <dongfangxunlei@gmail.com>:
> I format my hard disk to gpt.Then create a 1M partition at the header of
> hard disk ,add "bios_grub" flag.I can install and boot gentoo,debain and
> archlinux,but have no idea how to boot windows7 and 8.When I boot win7 or
> win8 from usb,it always complain the gpt partition and cannot install.What
> should I do?

It's impossible to install Windows into a GPT partition if the
firmware isn't EFI. This is a limitation artificially set by
Microsoft; here's Microsoft's FAQ on this.
http://msdn.microsoft.com/en-us/library/windows/hardware/gg463525.aspx

In this case, you must either revert to an msdos partition table (can
be done w/o data loss IIRC), or trick Windows into believing it's
running on EFI, i.e. set up UEFI DUET. Google that and you'll find an
excellent HOWTO on this. Happy hacking~


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] bios+gpt+grub2 boot windows
  2013-09-10 15:14 ` Wang Xuerui
@ 2013-09-10 20:18   ` Yuri K. Shatroff
  2013-09-11  3:38     ` Wang Xuerui
  0 siblings, 1 reply; 5+ messages in thread
From: Yuri K. Shatroff @ 2013-09-10 20:18 UTC (permalink / raw
  To: gentoo-user

On 10.09.2013 19:14, Wang Xuerui wrote:
> 2013/9/10 东方巽雷 <dongfangxunlei@gmail.com>:
>> I format my hard disk to gpt.Then create a 1M partition at the header of
>> hard disk ,add "bios_grub" flag.I can install and boot gentoo,debain and
>> archlinux,but have no idea how to boot windows7 and 8.When I boot win7 or
>> win8 from usb,it always complain the gpt partition and cannot install.What
>> should I do?
>
> It's impossible to install Windows into a GPT partition if the
> firmware isn't EFI. This is a limitation artificially set by
> Microsoft; here's Microsoft's FAQ on this.
> http://msdn.microsoft.com/en-us/library/windows/hardware/gg463525.aspx

Well, actually it *is* possible using "hybrid" MBR+GPT partitioning.

http://www.rodsbooks.com/gdisk/hybrid.html

Also google for 'hybrid mbr'.

I am using this setup for multibooting several OS incl. Win 7 without 
problems for a couple of years.

> In this case, you must either revert to an msdos partition table (can
> be done w/o data loss IIRC), or trick Windows into believing it's
> running on EFI, i.e. set up UEFI DUET. Google that and you'll find an
> excellent HOWTO on this. Happy hacking~

An interesting idea, yet, probably, a little more complicated than 
hybrid MBR for the sole purpose of multibooting.

-- 
Best wishes,
Yuri K. Shatroff


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] bios+gpt+grub2 boot windows
  2013-09-10 20:18   ` Yuri K. Shatroff
@ 2013-09-11  3:38     ` Wang Xuerui
  2013-09-11  4:29       ` 东方巽雷
  0 siblings, 1 reply; 5+ messages in thread
From: Wang Xuerui @ 2013-09-11  3:38 UTC (permalink / raw
  To: gentoo-user

2013/9/11 Yuri K. Shatroff <yks-uno@yandex.ru>:
> Well, actually it *is* possible using "hybrid" MBR+GPT partitioning.
>
> http://www.rodsbooks.com/gdisk/hybrid.html
>
> Also google for 'hybrid mbr'.
>
> I am using this setup for multibooting several OS incl. Win 7 without
> problems for a couple of years.

I almost forgot about hybrid MBRs... also it's fragile indeed, so I
probably won't recommend it even if I thought about it in the first
place.

>> In this case, you must either revert to an msdos partition table (can
>> be done w/o data loss IIRC), or trick Windows into believing it's
>> running on EFI, i.e. set up UEFI DUET. Google that and you'll find an
>> excellent HOWTO on this. Happy hacking~
>
>
> An interesting idea, yet, probably, a little more complicated than hybrid
> MBR for the sole purpose of multibooting.

I've tried that on a VirtualBox VM last year, and I'd like to point
out that describing the process as "a little more" complicated is
serious underestimation. :D


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] bios+gpt+grub2 boot windows
  2013-09-11  3:38     ` Wang Xuerui
@ 2013-09-11  4:29       ` 东方巽雷
  0 siblings, 0 replies; 5+ messages in thread
From: 东方巽雷 @ 2013-09-11  4:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]

I have solved my problem by using uefi shell.My pc bios can load uefi shell
from usb fat32 partition.
Thank you.


2013/9/11 Wang Xuerui <idontknw.wang@gmail.com>

> 2013/9/11 Yuri K. Shatroff <yks-uno@yandex.ru>:
> > Well, actually it *is* possible using "hybrid" MBR+GPT partitioning.
> >
> > http://www.rodsbooks.com/gdisk/hybrid.html
> >
> > Also google for 'hybrid mbr'.
> >
> > I am using this setup for multibooting several OS incl. Win 7 without
> > problems for a couple of years.
>
> I almost forgot about hybrid MBRs... also it's fragile indeed, so I
> probably won't recommend it even if I thought about it in the first
> place.
>
> >> In this case, you must either revert to an msdos partition table (can
> >> be done w/o data loss IIRC), or trick Windows into believing it's
> >> running on EFI, i.e. set up UEFI DUET. Google that and you'll find an
> >> excellent HOWTO on this. Happy hacking~
> >
> >
> > An interesting idea, yet, probably, a little more complicated than hybrid
> > MBR for the sole purpose of multibooting.
>
> I've tried that on a VirtualBox VM last year, and I'd like to point
> out that describing the process as "a little more" complicated is
> serious underestimation. :D
>
>

[-- Attachment #2: Type: text/html, Size: 1885 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-11  4:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 15:04 [gentoo-user] bios+gpt+grub2 boot windows 东方巽雷
2013-09-10 15:14 ` Wang Xuerui
2013-09-10 20:18   ` Yuri K. Shatroff
2013-09-11  3:38     ` Wang Xuerui
2013-09-11  4:29       ` 东方巽雷

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox