Skip to contentSkip to conversation

Windows,grub and grub2

DISCUSSION Viswesh S 2 participants 2 messages Sep 1, 2008

lore
Share & tools
lore

Viswesh S

author
#0 lore raw

----- Original Message ----
From: Bean <[email protected]>
To: The development of GRUB 2 <[email protected]>
Sent: Saturday, 30 August, 2008 11:01:18 AM
Subject: Re: Windows,grub and grub2

Quoted 8 lines

Hi,

I thinks it's caused by partition entry pointer %esi which isn't correct in grub2, please see if this patch fixes the problem.

--
Bean

Hi,

BTW, you should use the following command:

set root=(hd0,1)
chainloader +1

It's not the same as chainloader (hd0,1)+1, as chainloader command would use the value of root to decide the boot partition index.

Signature · 27 lines
Bean

Hi,

There was no need for the initial partition to me made active, as it was already active.So trying that didnt help out anyway.

Initially I was not calling set root=(hd0,1).

But even after I use it, the results were the same.

The location 7c00 was good, so the boot record is getting copied correctly.

I am repeating my earlier doubt, are we sure that,the assembly part of both grub-legacy and grub2 doesnt have any changes with respect to grub2, especially in th

I still feel, there might be a problem with that, as I feel we are jumping into boot record of windows and then going to an infinite after dumping the error :A disk read error occurred'

Viswesh


_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel



      Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.webmessenger.yahoo.com/
#1 lore raw
Quoted 41 lines · Viswesh S

----- Original Message ----
From: Bean <[email protected]>
To: The development of GRUB 2 <[email protected]>
Sent: Saturday, 30 August, 2008 11:01:18 AM
Subject: Re: Windows,grub and grub2

Quoted 8 lines

Hi,

I thinks it's caused by partition entry pointer %esi which isn't correct in grub2, please see if this patch fixes the problem.

--
Bean

Hi,

BTW, you should use the following command:

set root=(hd0,1)
chainloader +1

It's not the same as chainloader (hd0,1)+1, as chainloader command would use the value of root to decide the boot partition index.

--
Bean

Hi,

There was no need for the initial partition to me made active, as it was already active.So trying that didnt help out anyway.

Initially I was not calling set root=(hd0,1).

But even after I use it, the results were the same.

The location 7c00 was good, so the boot record is getting copied correctly.

Quoted 7 lines

I am repeating my earlier doubt, are we sure that,the assembly part of both grub-legacy and grub2 doesnt have any changes with respect to grub2, especially in th

I still feel, there might be a problem with that, as I feel we are jumping into boot record of windows and then going to an infinite after dumping the error :A disk read error occurred'

Hi,

Do you mean the result is still the same after you apply my patch ? I check the source code of grub legacy, the handling should be exactly the same. Are you using the official branch grub 0.96, or some package with modification ?

You can also check memory at 0x7be, this should be the partition table in mbr, %esi would point to the boot partition.

Signature · 1 line
Bean