Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KaBRf-00019a-Ns for mharc-grub-devel@gnu.org; Mon, 01 Sep 2008 11:35:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaBRd-000185-IC for grub-devel@gnu.org; Mon, 01 Sep 2008 11:35:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaBRa-00016V-R9 for grub-devel@gnu.org; Mon, 01 Sep 2008 11:35:55 -0400 Received: from [199.232.76.173] (port=34141 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaBRa-00016D-6e for grub-devel@gnu.org; Mon, 01 Sep 2008 11:35:54 -0400 Received: from ti-out-0910.google.com ([209.85.142.189]:57237) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaBRa-0002QY-DE for grub-devel@gnu.org; Mon, 01 Sep 2008 11:35:54 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1156064tia.10 for ; Mon, 01 Sep 2008 08:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=AD3KGimxqkPhCA4FoGYwI6PyPFparjim1LJA0udpGa4=; b=ZFFtEuwzZ58H8CPqAbhnBTgDx1tesbmHClSUB3Uh9FgFfe3d3nvuJMTjWaZG7O1zzT wtbsGR7W0puAOu05JdVzOrzbBLh37i4dFmnUofxz4sYi6UsPT1USzpZ77i7dAu5PfKLJ jzTOUY63noPdvCuGSJus8Nj1xcGRFlLHfslq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=rKL7qowlvFAtdyQmUgT5cPt6pTY5A1imZlXCOZhibSjw2HxJRhxLOiKoUj3y0uLuJK tcH8rTznNAg3smlAFuq8uloO38BW3QWxz09q1kpy6FjbM1Tb0YUlPRZl4EqOQc4Xhrxk Jdw3zA/HTAOZANSuhE5qmpMl51ao2dl2vsiUs= Received: by 10.110.103.5 with SMTP id a5mr7987528tic.2.1220283348287; Mon, 01 Sep 2008 08:35:48 -0700 (PDT) Received: by 10.110.57.17 with HTTP; Mon, 1 Sep 2008 08:35:48 -0700 (PDT) Message-ID: Date: Mon, 1 Sep 2008 23:35:48 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <91692.220.qm@web31601.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <91692.220.qm@web31601.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:35:58 -0000 On Mon, Sep 1, 2008 at 11:27 PM, Viswesh S wrote: > > > ----- Original Message ---- > From: Bean > To: The development of GRUB 2 > Sent: Monday, 1 September, 2008 8:05:29 PM > Subject: Re: Windows,grub and grub2 > > > Hi, > > Perhaps you can dump the biosdisk information as well > > #include > > ... > > struct grub_biosdisk_data *data = (struct grub_biosdisk_data *) > dev->disk->data > > then print its members (drive, cylinders, heads, sectors, flags). > Also, please try copy the boot sector to a file and chainload it. > > > -- > Bean > > Hi, > > I have dumped the biosdisk information also > > data->drive=0x80 > data->cylinders=0x3ff > data->heads=0xff > data->sectors=0x3f > data->flag=0x1 > > Chainloading from a file doesnt help either > > dd if=/dev/hda1 of=chainload.txt bs=512 count=1 > > In the grub2 command: > > set root=(hd0,1) > chainloader (hd0,4)/boot/chainload.txt Hi, Perhaps you can upload the boot sector file ? I can dissemble it to see where the error is printed. -- Bean