Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ka6Sq-00082M-Eq for mharc-grub-devel@gnu.org; Mon, 01 Sep 2008 06:16:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ka6Sg-00080t-Ee for grub-devel@gnu.org; Mon, 01 Sep 2008 06:16:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ka6Se-00080F-Rl for grub-devel@gnu.org; Mon, 01 Sep 2008 06:16:41 -0400 Received: from [199.232.76.173] (port=41907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ka6Sa-0007zy-WA for grub-devel@gnu.org; Mon, 01 Sep 2008 06:16:37 -0400 Received: from ti-out-0910.google.com ([209.85.142.190]:21858) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ka6Sa-00071D-8A for grub-devel@gnu.org; Mon, 01 Sep 2008 06:16:36 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1088357tia.10 for ; Mon, 01 Sep 2008 03:16:33 -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=d2tR70nKQnDHzHrHds4mC7xJHxfhUpNRgYUowhZmgXk=; b=CFJDTsRALZV/uWpGgs9g/52LHloNyZ2FeAyYPJdxKwN+KyLucO1VGRF4sEFU3ol+Le JU3hh2Napihnd3NrcF9z6amNVNG/irviD5ugHMTKNeeb0pMwU+9ZpFmby/CTuEX/uk4A Y8ZR+gWqs5/fllKEDPn/fkdQ46WzRY/UqcIYI= 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=d0SvUukmvXjv0LWzO5jMF68tQddBQ3Z6d/wHW4o/OXbeaY2Zyw831VfR54BRkd4NJJ FbTom8rEtLBrdsj2qCzy542rRn7LSbHz1PpugNxyz7e7uzPKX4YRK3HMvE7pxQjxOwwn lVqG1Z6Xac0RQsH//UkMx3XyVIBeeaLxx06JE= Received: by 10.110.68.10 with SMTP id q10mr7550195tia.37.1220264192908; Mon, 01 Sep 2008 03:16:32 -0700 (PDT) Received: by 10.110.57.17 with HTTP; Mon, 1 Sep 2008 03:16:32 -0700 (PDT) Message-ID: Date: Mon, 1 Sep 2008 18:16:32 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <599868.39737.qm@web31606.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <599868.39737.qm@web31606.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 10:16:43 -0000 On Mon, Sep 1, 2008 at 5:08 PM, Viswesh S wrote: > > > ----- Original Message ---- > From: Bean > To: The development of GRUB 2 > Sent: Saturday, 30 August, 2008 11:01:18 AM > Subject: Re: Windows,grub and grub2 > >> 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. > > 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. -- Bean