From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KRLNC-00078x-Vr for mharc-grub-devel@gnu.org; Fri, 08 Aug 2008 02:22:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRLNB-000782-0A for grub-devel@gnu.org; Fri, 08 Aug 2008 02:22:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRLN7-00074Q-JY for grub-devel@gnu.org; Fri, 08 Aug 2008 02:22:48 -0400 Received: from [199.232.76.173] (port=55890 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRLN7-00074I-Ea for grub-devel@gnu.org; Fri, 08 Aug 2008 02:22:45 -0400 Received: from web31602.mail.mud.yahoo.com ([68.142.198.148]:41959) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KRLN6-0001TL-Mk for grub-devel@gnu.org; Fri, 08 Aug 2008 02:22:45 -0400 Received: (qmail 86637 invoked by uid 60001); 8 Aug 2008 06:22:41 -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=S9b/Md0sjbZ7p/nFyx7IzVclbnkC2PLVvpSgej34ddT0119CXOw6pg+G3WSJfhvBzIKGXguZmyg4vslpglLGvD6VmwLn3vadppPb9LJhKyi0/7i9WbkEDFOkqEqgyj3UxRwVk60aUyoguEMbNcgFXeRkdSHnoZH9ov0YIqo7RtI=; Received: from [202.62.94.130] by web31602.mail.mud.yahoo.com via HTTP; Thu, 07 Aug 2008 23:22:41 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Thu, 7 Aug 2008 23:22:41 -0700 (PDT) From: Viswesh S To: The development of GRUB 2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-596137973-1218176561=:86484" Message-ID: <436844.86484.qm@web31602.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 06:22:49 -0000 --0-596137973-1218176561=:86484 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: Friday, 8 Aug= ust, 2008 9:13:09 AM=0ASubject: Re: Windows boot=0A=0AOn Fri, Aug 8, 2008 a= t 9:58 AM, Viswesh S wrote:=0A>=0A>=0A> ----- Ori= ginal Message ----=0A> From: Javier Mart=C3=ADn =0A> = To: The development of GRUB 2 =0A> Sent: Friday, 8 Augu= st, 2008 3:56:35 AM=0A> Subject: Re: Windows boot=0A>=0A> Hi again,=0A>=0A>= 2008/8/7 Viswesh S :=0A>> Hi,=0A>>=0A>> I install= ed ubuntu in the same harddisk(hda) as windows.=0A>>=0A>> After installing = ubuntu, using grub legacy, I was able to log in to=0A>> 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+De= l .=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 windows file sytem is in NTFS and not vfat=0A>>=0A>> One more= thing to check with is, the need of ntfs mod present as part of=0A>> grub2= .So where exactly that is getting used,though I have tried to load=0A>> the= =0A>> module ntfs and ntfscomp in grub using insmod in grub menu,...but no= =0A>> positive results.=0A> The FS only matters if you try to access files = on the volume, but=0A> chainloader just reads raw sectors from disk, so the= FS module does=0A> not matter: you could have an SFS partition for the sak= e of it and it=0A> would work if the superblock was executable.=0A>>=0A>> W= hat might be in grub2, which prevents windows to boot.=0A> Hmm... you could= try booting (hd1) instead of (hd1,1), i.e. Windows'=0A> MBR instead of its= boot sector directly. I'll be back in town tomorrow=0A> night and then I'l= l be able to look at my own GRUB config file, but=0A> Windows has always be= en a wild beast to master. For the record, my=0A> tests were with Windows X= P Home in an Athlon X2 and with Windows XP=0A> x64 on an Athlon 64. Thus, I= don't know if Intel CPUs triple-fault on=0A> my code (improbable, because = it runs on QEMU) or if Windows Vista=0A> (which has a changed boot process)= works with it.=0A>=0A>=0A> Hi,=0A>=0A> Windows I am trying to boot is Wind= ows Server 2003, but anyway that doesnt=0A> matter, as from legacy grub,I a= m able to boot.This makes it more=0A> interesting, as I feel we are missing= some small intricacy in grub2 in this=0A> case.=0A>=0A> Let me also have a= look.=0A=0AHi,=0A=0AWhat's the command you use in grub legacy ?=0A=0ABTW, = you should know that device number of grub2 is not the same as=0Agrub legac= y, the first partition is (hd0,1) instead of (hd0,0).=0AAnyway, you can use= ls to list the current devices.=0A=0A-- =0ABean=0A=0AHi,=0AThe partition n= umber difference I am aware of.That difference was taken into account.=0AIn= the case of grub legacy,the grub.cfg was in this way.=0Amenuentry "Windows= " {=0Arootnoverify=0Achainloader +1=0A}=0AAs windows is in the 3 partition,= using ls (hd0,3) I could see windows files.=0Aso the grub.cfg =0Amenuentry= "Win" {=0Achainloader (hd0,3)+1=0A}=0A(or) =0Amenuentry "Win" {=0Aset root= =3D(hd0,3)=0Achainloader +1=0A}=0ATried both the combinations.But not worki= ng, getting the message ." A disk read Error occurred=0A=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=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=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 =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=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=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 Press Ctrl+Alt+Del to restart.=0AI am not sure whether this= is a filesystem issue (ntfs) which grub2 is not able to identify as such (= or) Grub2 is not able to read the boot sector correctly.( As=C2=A0 legacy g= rub was able to boot quite easily the same thing)=0AI am badly stuck and I = dont want to go back to legacy grub also.=0AViswesh=0A=0A=0A_______________= ________________________________=0AGrub-devel mailing list=0AGrub-devel@gnu= .org=0Ahttp://lists.gnu.org/mailman/listinfo/grub-devel=0A=0A=0A=0A Di= d you know? You can CHAT without downloading messenger. Go to http://in.web= messenger.yahoo.com/ --0-596137973-1218176561=:86484 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: Friday, 8 August, 2008 9:13:09 AM
Subject: Re: Windows = boot

On Fri, Aug 8, 2008 at 9:58 AM, Viswesh S <viswes= h_vichu@yahoo.com> wrote:
>
>
> ----- Original Mes= sage ----
> From: Javier Mart=C3=ADn <lordhabbit@gmail.com>
> To: The development of GRUB 2 <
grub-devel@gnu.org>=
> Sent: Friday, 8 August, 2008 3:56:35 AM
> Subject: Re: Windo= ws boot
>
> Hi again,
>
> 2008/8/7 Viswesh S <viswesh_vichu@yahoo.com>= :
>> Hi,
>>
>> I installed ubuntu in the same ha= rddisk(hda) as windows.
>>
>> After installing ubuntu, us= ing grub legacy, I was able to log in to
>> windows,
>> u= sing the entries, rootnoverify and chainloader +1.
>>
>> = But when I install grub2 and then modify the grub.cfg with the following,>> statements, it is not working, says ...A disk read error occurre= d ,Press
>> Ctrl+Alt+Del .
>>
>> This is my grub= .cfg
>>
>> menuentry "Windows" {
>>   = set root=3D(hd0,3)
>>    chainloader +1
>>
= >> }
>>
>> My windows file sytem is in NTFS and not= vfat
>>
>> One more thing to check with is, the need of = ntfs mod present as part of
>> grub2.So where exactly that is getting used,though I have tried to load
>> the
>> modul= e ntfs and ntfscomp in grub using insmod in grub menu,...but no
>>= positive results.
> The FS only matters if you try to access files o= n the volume, but
> chainloader just reads raw sectors from disk, so = the FS module does
> not matter: you could have an SFS partition for = the sake of it and it
> would work if the superblock was executable.<= BR>>>
>> What might be in grub2, which prevents windows to b= oot.
> Hmm... you could try booting (hd1) instead of (hd1,1), i.e. Wi= ndows'
> MBR instead of its boot sector directly. I'll be back in tow= n tomorrow
> night and then I'll be able to look at my own GRUB confi= g file, but
> Windows has always been a wild beast to master. For the= record, my
> tests were with Windows XP Home in an Athlon X2 and wit= h Windows XP
> x64 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 has a changed boot process) works= with it.
>
>
> Hi,
>
> Windows I am trying t= o boot is Windows Server 2003, but anyway that doesnt
> matter, as fr= om 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.<= BR>>
> Let me also have a look.

Hi,

What's the comma= nd you use in grub legacy ?

BTW, you should know that device number = of grub2 is not the same as
grub legacy, the first partition is (hd0,1) = instead of (hd0,0).
Anyway, you can use ls to list the current devices.<= BR>
--
Bean
=0A
Hi,
=0A
 
=0A
The partition number= difference I am aware of.That difference was taken into account.
=0A<= DIV style=3D"FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">&n= bsp;
=0A
In the case of grub legacy,the grub.cfg was in this way.
= =0A
menuentry "Windows" {
=0A
 
=0A
rootnoverify=0A
chainloader +1
=0A
}
=0A
 
=0A
As windows is in the 3 par= tition, using ls (hd0,3) I could see windows files.
=0A
 
=0A<= DIV style=3D"FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">so= the grub.cfg
=0A
 
=0A
menuentry "Win" {
=0A
 
= =0A
}
=0A
 
=0A
(or)
=0A
 =0A
menuentry "Win" {
=0A
set root=3D(hd0,3)
=0A
chainloader +1=0A
}
=0A
 
=0A
Tried both the combinations.But not working, get= ting the message ." A disk read Error occurred
=0A
    &n= bsp;               &= nbsp;               =                =                = ;               &nbs= p;               &nb= sp; Press Ctrl+Alt+Del to restart.
=0A
 
=0A
I am not sure wheth= er this is a filesystem issue (ntfs) which grub2 is not able to identify as= such (or) Grub2 is not able to read the boot sector correctly.( As  l= egacy grub was able to boot quite easily the same thing)
=0A
 =0A
I am badly stuck and I dont want to go back to legacy grub also.
= =0A
 
=0A
Viswesh
=0A
 
=0A
 
=0A<= DIV style=3D"FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif">&n= bsp;
=0A
 
=0A
 
=0A
 
=0A
 
=0A
 <= /DIV>=0A
 
=0A
 
=0A


________________________________= _______________
Grub-devel mailing list
Grub-devel@gnu.org
= http://lists.gnu.org/mailman/listinfo/grub-devel
<= br>=0A=0A=0A=0A
Unlimited freedom, unlimite= d storage. Get it now --0-596137973-1218176561=:86484--