From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KRHG1-0006oh-5V for mharc-grub-devel@gnu.org; Thu, 07 Aug 2008 21:59:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRHFy-0006kj-O9 for grub-devel@gnu.org; Thu, 07 Aug 2008 21:59:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRHFu-0006cE-1Y for grub-devel@gnu.org; Thu, 07 Aug 2008 21:59:05 -0400 Received: from [199.232.76.173] (port=43511 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRHFt-0006c6-UQ for grub-devel@gnu.org; Thu, 07 Aug 2008 21:59:01 -0400 Received: from web31605.mail.mud.yahoo.com ([68.142.198.151]:34834) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KRHFs-0002zv-Fy for grub-devel@gnu.org; Thu, 07 Aug 2008 21:59:01 -0400 Received: (qmail 46336 invoked by uid 60001); 8 Aug 2008 01:58:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=6NgvWplcvwAVr9ayCDsrAca092E+WuMSGqADYnyXOfHxbVAFQPmRO7Ngz6PT8Ur9FdBjYybt5O11VWiH9zma6N8UYEv8ADi33RClOj2VIccJE6uA/+hVXhvB0Rfj4I0c3H5tCsLnab9AXfI+a8mvwtxYbrpoA6AZ6SFfxpdwVmM=; Received: from [122.167.211.176] by web31605.mail.mud.yahoo.com via HTTP; Thu, 07 Aug 2008 18:58:54 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Thu, 7 Aug 2008 18:58:54 -0700 (PDT) From: Viswesh S To: The development of GRUB 2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-718810247-1218160734=:43725" Message-ID: <2444.43725.qm@web31605.mail.mud.yahoo.com> X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) Subject: Re: Windows boot 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: Fri, 08 Aug 2008 01:59:07 -0000 --0-718810247-1218160734=:43725 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0A=0A=0A=0A----- Original Message ----=0AFrom: Javier Mart=C3=ADn =0ATo: The development of GRUB 2 =0ASent:= Friday, 8 August, 2008 3:56:35 AM=0ASubject: Re: Windows boot=0A=0AHi agai= n,=0A=0A2008/8/7 Viswesh S :=0A> Hi,=0A>=0A> I ins= talled ubuntu in the same harddisk(hda) as windows.=0A>=0A> After installin= g ubuntu, using grub legacy, I was able to log in to windows,=0A> using the= entries, rootnoverify and chainloader +1.=0A>=0A> But when I install grub2= and then modify the grub.cfg with the following,=0A> statements, it is not= working, says ...A disk read error occurred ,Press=0A> Ctrl+Alt+Del .=0A>= =0A> This is my grub.cfg=0A>=0A> menuentry "Windows" {=0A>=C2=A0 =C2=A0 set= root=3D(hd0,3)=0A>=C2=A0 =C2=A0 chainloader +1=0A>=0A> }=0A>=0A> My window= s file sytem is in NTFS and not vfat=0A>=0A> One more thing to check with i= s, the need of ntfs mod present as part of=0A> grub2.So where exactly that = is getting used,though I have tried to load the=0A> module ntfs and ntfscom= p in grub using insmod in grub menu,...but no=0A> positive results.=0AThe F= S only matters if you try to access files on the volume, but=0Achainloader = just reads raw sectors from disk, so the FS module does=0Anot matter: you c= ould have an SFS partition for the sake of it and it=0Awould work if the su= perblock was executable.=0A>=0A> What might be in grub2, which prevents win= dows to boot.=0AHmm... you could try booting (hd1) instead of (hd1,1), i.e.= Windows'=0AMBR instead of its boot sector directly. I'll be back in town t= omorrow=0Anight and then I'll be able to look at my own GRUB config file, b= ut=0AWindows has always been a wild beast to master. For the record, my=0At= ests were with Windows XP Home in an Athlon X2 and with Windows XP=0Ax64 on= an Athlon 64. Thus, I don't know if Intel CPUs triple-fault on=0Amy code (= improbable, because it runs on QEMU) or if Windows Vista=0A(which has a cha= nged boot process) works with it.=0AHi,=0AWindows I am trying to boot is Wi= ndows Server 2003, but anyway that doesnt matter, as from legacy grub,I am = able to boot.This makes it more interesting, as I feel we are missing some = small intricacy in grub2 in this case.=0ALet me also have a look.=0AViswesh= =0A=0A>=0A> Viswesh=0A>=0A>=0A> ________________________________=0A> Unlimi= ted freedom, unlimited storage. Get it now=0A> ____________________________= ___________________=0A> Grub-devel mailing list=0A> Grub-devel@gnu.org=0A> = http://lists.gnu.org/mailman/listinfo/grub-devel=0A>=0A>=0A=0A=0A__________= _____________________________________=0AGrub-devel mailing list=0AGrub-deve= l@gnu.org=0Ahttp://lists.gnu.org/mailman/listinfo/grub-devel=0A=0A=0A=0A = Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/ --0-718810247-1218160734=:43725 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

=0A

=0A
----- Original Message ----
From: Javier Mar= t=C3=ADn <lordhabbit@gmail.com>
To: The development of GRUB 2 <= grub-devel@gnu.org>
Sent: Friday, 8 August, 2008 3:56:35 AM
Subjec= t: Re: Windows boot

Hi again,

2008/8/7 Viswesh S <viswesh_vichu@yahoo.com>:
> Hi,
>
> I installe= d ubuntu in the same harddisk(hda) as windows.
>
> After instal= ling ubuntu, using grub legacy, I was able to log in to windows,
> us= ing the entries, rootnoverify and chainloader +1.
>
> But when = I install grub2 and then modify the grub.cfg with the following,
> st= atements, it is not working, says ...A disk read error occurred ,Press
&= gt; Ctrl+Alt+Del .
>
> This is my grub.cfg
>
> menu= entry "Windows" {
>    set root=3D(hd0,3)
>    chainloader +1
>
&= gt; }
>
> My windows file sytem is in NTFS and not vfat
>=
> One more thing to check with is, the need of ntfs mod present as p= art of
> grub2.So where exactly that is getting used,though I have tr= ied to load the
> module ntfs and ntfscomp in grub using insmod in gr= ub menu,...but no
> positive results.
The FS only matters if you t= ry to access files on the volume, but
chainloader just reads raw sectors= from disk, so the FS module does
not matter: you could have an SFS part= ition for the sake of it and it
would work if the superblock was executa= ble.
>
> What might be in grub2, which prevents windows to boot= .
Hmm... you could try booting (hd1) instead of (hd1,1), i.e. Windows'MBR instead of its boot sector directly. I'll be back in town tomorrownight and then I'll be able to look at my own GRUB config file, but
Windows has always been a wild beast to master. For the record, my<= BR>tests were with Windows XP Home in an Athlon X2 and with Windows XP
x= 64 on an Athlon 64. Thus, I don't know if Intel CPUs triple-fault on
my = code (improbable, because it runs on QEMU) or if Windows Vista
(which ha= s a changed boot process) works with it.
=0A
 
=0A
 =0A
Hi,
=0A
 
=0A
Windows I am trying to boot is Windows Server 2= 003, but anyway that doesnt matter, as from legacy grub,I am able to boot.T= his makes it more interesting, as I feel we are missing some small intricac= y in grub2 in this case.
=0A
 
=0A
Let me also have a look.=0A
 
=0A
Viswesh
=0A
 
=0A
 
=0A
 
=0A=
&= nbsp;
=0A
 
=0A
 
=0A
 
=0A
 
=0A
 =
=0A
 
=0A
 
=0A
 
=0A
 
=0A
 =0A
 
=0A
 
=0A

>
> Viswesh
>
>
= > ________________________________
> Unlimited freedom, unlimited = storage. Get it now
> _______________________________________________=
> Grub-devel mailing list
> Grub-devel@gnu.org
> = http://lists.gnu.org/mailman/listinfo/grub-devel
>
>

_______________________________________________
Grub-devel mailing = list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/= grub-devel

=0A=0A=0A
Add more friends to your messenger and enjoy! In= vite them now. --0-718810247-1218160734=:43725--