From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ka9qd-0005lk-8S for mharc-grub-devel@gnu.org; Mon, 01 Sep 2008 09:53:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ka9qb-0005lY-3t for grub-devel@gnu.org; Mon, 01 Sep 2008 09:53:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ka9qZ-0005lI-Co for grub-devel@gnu.org; Mon, 01 Sep 2008 09:53:36 -0400 Received: from [199.232.76.173] (port=54167 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ka9qZ-0005lF-9c for grub-devel@gnu.org; Mon, 01 Sep 2008 09:53:35 -0400 Received: from web31601.mail.mud.yahoo.com ([68.142.198.147]:34648) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Ka9qY-0007NJ-Lt for grub-devel@gnu.org; Mon, 01 Sep 2008 09:53:35 -0400 Received: (qmail 30713 invoked by uid 60001); 1 Sep 2008 13:53:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=z1h59sL1Pw+5iTropWAvZbIxBM1f3NzNF6vs3djQnKqYHHO9bHKnKYxIS/g95VF9CpFf2yShPIGhANfDWve+uyhYHN7PseopGQ5LtD2TUSnGnGSlr5dKMpZkPMsTIv1RDn5iGbtSiU8UxwHtnQXNIx50Fn1ttyXoOiAGXg+iRQo=; X-YMail-OSG: D01oPkAVM1nDooTZWYazb1qFHfM.vbMRfYXjchcsmRAMxagzea4bbGvvYM_f7W2MRzZ6MWoleKt1HsTAi3__eonkPn5khq_YuQhWTTMbmeAwpZWlXKLb_An_PmBezXQAyJgmVEL4P4.X5N6DkHDfMYc- Received: from [202.62.94.130] by web31601.mail.mud.yahoo.com via HTTP; Mon, 01 Sep 2008 06:53:32 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Mon, 1 Sep 2008 06:53:32 -0700 (PDT) From: Viswesh S To: The development of GRUB 2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-883709835-1220277212=:29469" Message-ID: <955987.29469.qm@web31601.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Subject: Re: Windows,grub and grub2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2008 13:53:37 -0000 --0-883709835-1220277212=:29469 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0A=0A=0A=0A----- Original Message ----=0AFrom: Bean = =0ATo: The development of GRUB 2 =0ASent: Monday, 1 Sep= tember, 2008 6:32:28 PM=0ASubject: Re: Windows,grub and grub2=0A=0AOn Mon, = Sep 1, 2008 at 6:48 PM, Viswesh S wrote:=0A>=0A>= =0A=0AHi,=0A=0AI doubt that this is caused by int 13, as grub2 doesn't chan= ge it.=0ABesides, the boot sector is read properly in grub2, so int 13 shou= ld=0Abe working.=0A=0AI have thought of another possible reason for this. I= n grub2, %dh is=0A0, perhaps it should be set to the partition number. Plea= se test if=0Athe new patch works.=0A=0A-- =0ABean=0A=0A=0AHi,=0A=0ATo get m= ore insight and see whether the values are proper,I dumped the structure me= mbers.=0A=0ASo for the commands:=0A=0Aset root=3D(hd0,1)=0Achainloader +1= =0A=0AThis is disk and partition strucure member values.=0A=0Adisk->name=3D= (hd0,1)=0Adisk->has_partitions=3D1=0Adisk->id=3D0x80=0A=0AFor the partition= p,=0A=0Ap->offset=3D0=0Ap->index=3D0=0Ap->data=3D0=0Ap->start=3D0x3f=0Ap->= len =3D 0x0=0Ap->offset=3D0x4e1edec=0Ap->partmap->name=3D(null)=0Apart_addr= =3D0x7be=0A=0AAnd this is the dump from the mbr:=0A=0A000001b0=C2=A0=C2=A0 = 00 00 00 00 00 00 00 00=C2=A0=C2=A0=C2=A0=C2=A0 81 eb 09 00 00 00 80 01=C2= =A0 |................|=0A000001c0=C2=A0=C2=A0 01 00 07 fe=C2=A0 ff ff 3f 00= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A000 00 ec ed e1 = 04 00 fe=C2=A0 |......?.........|=0A000001d0=C2=A0 =C2=A0ff ff 07 fe ff ff = 00 f0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 e1 04 00 18 30 0b 00 fe=C2=A0 |............0...|=0A000001e0= =C2=A0=C2=A0 ff ff 82 fe ff ff cf 0e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 12 10 33 91 3b 00 00 fe=C2=A0= |..........3.;...|=0A000001f0=C2=A0=C2=A0=C2=A0 ff ff 83 fe ff ff 02 a0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A04d 10 bf ea 53 02 55 aa=C2=A0 |........M...S.U.|=0A=0AViswesh=0A=0Aps= :-The previous patch also didnt work :-(=0A=0A=0A Download prohibited?= No problem. CHAT from any browser, without download. Go to http://in.webme= ssenger.yahoo.com/ --0-883709835-1220277212=:29469 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

=0A

=0A
----- Original Message ----
From: Bean <b= ean123ch@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.= org>
Sent: Monday, 1 September, 2008 6:32:28 PM
Subject: Re: Windo= ws,grub and grub2

On Mon, Sep 1, 2008 at 6:48 PM, Viswesh S <viswesh_vichu@yahoo.com> wrote:
>
>

Hi,
I doubt that this is caused by int 13, as grub2 doesn't change it.
= Besides, the boot sector is read properly in grub2, so int 13 should
be = working.

I have thought of another possible reason for this. In grub= 2, %dh is
0, perhaps it should be set to the partition number. Please te= st if
the new patch works.

--
Bean
=0A
 
=0A=
H= i,
=0A
 
=0A
To get more insight and see whether the values are = proper,I dumped the structure members.
=0A
 
=0A
So for the comm= ands:
=0A
 
=0A
set root=3D(hd0,1)
=0A
chainloader +1
= =0A
This is disk and partition strucure member values.
=0A=
&= nbsp;
=0A
disk->name=3D(hd0,1)
=0A
disk->has_partitions=3D1=0A
disk->id=3D0x80
=0A
 
=0A
For the partition p,
=0A&nb= sp;
=0A
p->offset=3D0
=0A
p->index=3D0
=0A
p->data=3D0=0A
p->start=3D0x3f
=0A
p->len =3D 0x0
=0A
p->offset=3D0x4e= 1edec
=0A
=0A
p->partmap->name=3D(null)
=0A
part_addr=3D0x7be
=0A
 
=0A
And this is the dump from the mbr:
=0A
 =0A
000001b0   00 00 00 00 00 00 00 00     8= 1 eb 09 00 00 00 80 01  |................|
000001c0   01 = 00 07 fe  ff ff 3f 00        &= nbsp; 00 00 ec ed e1 04 00 fe  |......?.........|
000001d0&nbs= p;  ff ff 07 fe ff ff 00 f0       &= nbsp;       e1 04 00 18 30 0b 00 fe  |..= ..........0...|
000001e0   ff ff 82 fe ff ff cf 0e  =              12= 10 33 91 3b 00 00 fe  |..........3.;...|
000001f0   = ; ff ff 83 fe ff ff 02 a0        &n= bsp;     4d 10 bf ea 53 02 55 aa  |........M.= ..S.U.|
=0A
 
=0A
Viswesh
=0A
 
=0A
ps:-The previous = patch also didnt work :-(

=0A=0A=0A=0A Unlimited freedom, unlimited storage. Get it now --0-883709835-1220277212=:29469--