Re: GPT on PC/BIOS computers

2007-05-07 Thread Robert Millan
On Mon, May 07, 2007 at 09:23:54PM +0200, Yoshinori K. Okuji wrote: > On Monday 07 May 2007 11:17, Robert Millan wrote: > > On Sat, May 05, 2007 at 03:21:38PM +0200, Marco Gerards wrote: > > > > I've looked into this, but I need some advice. What's the simplest way > > > > to obtain the correspond

Re: GPT on PC/BIOS computers

2007-05-07 Thread Yoshinori K. Okuji
On Monday 07 May 2007 11:17, Robert Millan wrote: > On Sat, May 05, 2007 at 03:21:38PM +0200, Marco Gerards wrote: > > > I've looked into this, but I need some advice. What's the simplest way > > > to obtain the corresponding grub_partition_t structure for a partition > > > by knowing its drive na

Re: GPT on PC/BIOS computers

2007-05-07 Thread Robert Millan
On Sat, May 05, 2007 at 03:21:38PM +0200, Marco Gerards wrote: > > I've looked into this, but I need some advice. What's the simplest way to > > obtain the corresponding grub_partition_t structure for a partition by > > knowing > > its drive name? > > You can use grub_partition_iterate. Or open

Re: GPT on PC/BIOS computers

2007-05-06 Thread Javier Rodríguez Sánchez
Hello, curently to make grub2 works, I need a MBR emulation with the same partition as GPT scheme. If grub2 doesn't found any partition in MBR table it doesn't. Then, It's necessary to be in MBR the partitions that match with GPT scheme? Thx PD:Sorry for my english 2007/5/5, Marco Gerards <[EMA

Re: GPT on PC/BIOS computers

2007-05-05 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: [...] > I've looked into this, but I need some advice. What's the simplest way to > obtain the corresponding grub_partition_t structure for a partition by knowing > its drive name? You can use grub_partition_iterate. Or open the disk and use ->partitio

Re: GPT on PC/BIOS computers

2007-05-05 Thread Marco Gerards
"Javier Rodríguez Sánchez" <[EMAIL PROTECTED]> writes: > Hello, I have tried the patch and it works well, but I have one question. > It's necessary to be a MBR partition scheme? because I need a MBR > emulation from the GPT scheme to Grub2 loader works. If I only let the GPT > scheme with the EF

Re: GPT on PC/BIOS computers

2007-05-04 Thread Robert Millan
On Fri, May 04, 2007 at 10:40:17AM +0200, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > Here's a patch to enable GPT support for PC/BIOS systems. Need for GPT is > > increasingly common due availability of > 2 TiB hard drives. > > > > Please let me know if everything is c

Re: GPT on PC/BIOS computers

2007-05-04 Thread Robert Millan
On Fri, May 04, 2007 at 10:32:00PM +0200, Javier Rodríguez Sánchez wrote: > Hello, I have tried the patch and it works well, but I have one question. > It's necessary to be a MBR partition scheme? because I need a MBR > emulation from the GPT scheme to Grub2 loader works. If I only let the GPT >

Re: GPT on PC/BIOS computers

2007-05-04 Thread Javier Rodríguez Sánchez
Hello, I have tried the patch and it works well, but I have one question. It's necessary to be a MBR partition scheme? because I need a MBR emulation from the GPT scheme to Grub2 loader works. If I only let the GPT scheme with the EFI protective partition on MBR, grub doesn't find any bootable d

Re: GPT on PC/BIOS computers

2007-05-04 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > Here's a patch to enable GPT support for PC/BIOS systems. Need for GPT is > increasingly common due availability of > 2 TiB hard drives. > > Please let me know if everything is correct. > > Some testing would be welcome, too (but be careful, earlier ver

Re: GPT on PC/BIOS computers

2007-05-03 Thread Javier Rodríguez Sánchez
Great!, now It compile, when I return to home, I will try it on my MacBookPro. When I have the results I will post them here. Thanks 2007/5/3, Robert Millan <[EMAIL PROTECTED]>: On Thu, May 03, 2007 at 03:33:58PM +0200, Javier Rodríguez Sánchez wrote: > Hello Robert, > > I have applied the pat

Re: GPT on PC/BIOS computers

2007-05-03 Thread Robert Millan
On Thu, May 03, 2007 at 03:33:58PM +0200, Javier Rodríguez Sánchez wrote: > Hello Robert, > > I have applied the patch to the latest CVS rev. but when I compile grub2 I > get this error: > > grub_setup-util_i386_pc_grub_setup.o: In function `main': > /usr/src/grub2/util/i386/pc/grub-setup.c:666:

Re: GPT on PC/BIOS computers

2007-05-03 Thread Javier Rodríguez Sánchez
Hello Robert, I have applied the patch to the latest CVS rev. but when I compile grub2 I get this error: grub_setup-util_i386_pc_grub_setup.o: In function `main': /usr/src/grub2/util/i386/pc/grub-setup.c:666: undefined reference to `grub_gpt_partition_map_init' /usr/src/grub2/util/i386/pc/grub-s

GPT on PC/BIOS computers

2007-05-01 Thread Robert Millan
Here's a patch to enable GPT support for PC/BIOS systems. Need for GPT is increasingly common due availability of > 2 TiB hard drives. Please let me know if everything is correct. Some testing would be welcome, too (but be careful, earlier versions of my patch had a "feature" that fucked up you