From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KaBJJ-0004Io-14 for mharc-grub-devel@gnu.org; Mon, 01 Sep 2008 11:27:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaBJH-0004Hb-Ih for grub-devel@gnu.org; Mon, 01 Sep 2008 11:27:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaBJD-0004FB-Px for grub-devel@gnu.org; Mon, 01 Sep 2008 11:27:19 -0400 Received: from [199.232.76.173] (port=60711 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaBJD-0004F2-Ic for grub-devel@gnu.org; Mon, 01 Sep 2008 11:27:15 -0400 Received: from web31601.mail.mud.yahoo.com ([68.142.198.147]:45192) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KaBJD-0000tM-NU for grub-devel@gnu.org; Mon, 01 Sep 2008 11:27:16 -0400 Received: (qmail 231 invoked by uid 60001); 1 Sep 2008 15:27:14 -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=3/MjE4Oj+p1UOzslekKXB5q+aHzpqdKj/589S9hbEfuw+UWy5Tf6cz63lrXs3jV9hEk8lptd2IoMNZLl2PK4BLl8Zga23USFviCqTdvVhMKlshfW6NBG0DkyFrYLKZTWLYqcqT/pcGQtkt8n30gc0HBkW70t2Enx13gms7TfQts=; X-YMail-OSG: 5wAm9l4VM1kyJNEaK4N0x8o.xaljwAaMHyuABYj5WacebhZxqcN1oAsP940ijkY6EXuuVeo.u9E8f7gBojrrf9bC3zJOjBx1QYV8bJpc5DHBnuBBitXEIA5I04blvaoRT475vqVyMqC_jK_9FHX455o- Received: from [202.62.94.130] by web31601.mail.mud.yahoo.com via HTTP; Mon, 01 Sep 2008 08:27:13 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Mon, 1 Sep 2008 08:27:13 -0700 (PDT) From: Viswesh S To: The development of GRUB 2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1717820100-1220282833=:220" Message-ID: <91692.220.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 15:27:19 -0000 --0-1717820100-1220282833=:220 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 8:05:29 PM=0ASubject: Re: Windows,grub and grub2=0A=0A=0AHi,= =0A=0APerhaps you can dump the biosdisk information as well=0A=0A#include <= grub/machine/biosdisk.h>=0A=0A...=0A=0Astruct grub_biosdisk_data *data =3D = (struct grub_biosdisk_data *) dev->disk->data=0A=0Athen print its members (= drive, cylinders, heads, sectors, flags).=0AAlso, please try copy the boot = sector to a file and chainload it.=0A=0A=0A-- =0ABean=0A=0AHi,=0A=0AI have = dumped the biosdisk information also=0A=0Adata->drive=3D0x80=0Adata->cylind= ers=3D0x3ff=0Adata->heads=3D0xff=0Adata->sectors=3D0x3f=0Adata->flag=3D0x1= =0A=0AChainloading from a file doesnt help either=0A=0Add if=3D/dev/hda1 of= =3Dchainload.txt bs=3D512 count=3D1=0A=0AIn the grub2 command:=0A=0Aset roo= t=3D(hd0,1)=0Achainloader (hd0,4)/boot/chainload.txt=0A=0ANo effect :( same= error=0A=0AViswesh=0A=0A=0A=0A____________________________________________= ___=0AGrub-devel mailing list=0AGrub-devel@gnu.org=0Ahttp://lists.gnu.org/m= ailman/listinfo/grub-devel=0A=0A=0A=0A Unlimited freedom, unlimited st= orage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools= /tools-08.html/ --0-1717820100-1220282833=:220 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 8:05:29 PM
Subject: Re: Windo= ws,grub and grub2


Hi,

Perhaps you can dump the biosdisk i= nformation as well

#include <grub/machine/biosdisk.h>

.= ..

struct grub_biosdisk_data *data =3D (struct grub_biosdisk_data *)= dev->disk->data

then print its members (drive, cylinders, hea= ds, sectors, flags).
Also, please try copy the boot sector to a file and= chainload it.


--
Bean

Hi,
=0A
 
=0AI hav= e dumped the biosdisk information also
=0A
 
=0A
data->drive= =3D0x80
=0A
data->cylinders=3D0x3ff
=0A
data->heads=3D0xff=0A
data->sectors=3D0x3f
=0A
data->flag=3D0x1
=0A
 
= =0A
 
=0A
dd if=3D= /dev/hda1 of=3Dchainload.txt bs=3D512 count=3D1
=0A
 
=0A
In the= grub2 command:
=0A
 
=0A
set root=3D(hd0,1)
=0A
chainloader= (hd0,4)/boot/chainload.txt
=0A
 
=0A
No effect :( same error=0A
 
=0A
Viswesh
=0A
 
=0A
 
=0A

_______= ________________________________________
Grub-devel mailing list
Gru= b-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

=0A=0A=0A=0A
Un= limited freedom, unlimited storage.
Get it now --0-1717820100-1220282833=:220--