From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1L1yRM-0005MJ-P7 for mharc-grub-devel@gnu.org; Mon, 17 Nov 2008 02:22:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1yRK-0005LG-9d for grub-devel@gnu.org; Mon, 17 Nov 2008 02:22:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1yRG-0005Jx-LN for Grub-devel@gnu.org; Mon, 17 Nov 2008 02:22:29 -0500 Received: from [199.232.76.173] (port=48625 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1yRG-0005Jt-I3 for Grub-devel@gnu.org; Mon, 17 Nov 2008 02:22:26 -0500 Received: from web15701.mail.cnb.yahoo.com ([202.165.102.68]:22571) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L1yRD-0003rx-Qi for Grub-devel@gnu.org; Mon, 17 Nov 2008 02:22:26 -0500 Received: (qmail 21899 invoked by uid 60001); 17 Nov 2008 07:22:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=a6afM3UAjIAaAkv9YjSwdfqsZ9DizG8SxjbzvQ2f3nyil3laALd+c6qdKA9CmlOKzmHcYhsWR0yYx0NSiUUpH6frnmto/giDlbrJeNd68zneAd3/jXU4xBU2brTe4RAawJ3W5xPKtMVoLBjMAiuQuroO6LIetHXLBevsH7n/tn8=; X-YMail-OSG: 0FiAfk4VM1nbkUcVb5txyFXuseCH0W_2LMXPHYviYTlxRnNzA9iKvqMl52fWy8ev4AY0cycFZneCmVWqxd0oQ5AjR1FNYlGdaPXJ5F9rGtrBNY3wkobPfQVl89KtTgD3ZgwMTXKN8fgb8dEPv9HfsMa42dP8RinHdkg3OSC1kcxMPaOT141yOrM3B.uG Received: from [220.189.223.56] by web15701.mail.cnb.yahoo.com via HTTP; Mon, 17 Nov 2008 15:22:19 CST X-Mailer: YahooMailWebService/0.7.260.1 Date: Mon, 17 Nov 2008 15:22:19 +0800 (CST) From: yue315012-grub2@yahoo.com.cn To: Grub-devel@gnu.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-957797538-1226906539=:21692" Message-ID: <917276.21692.qm@web15701.mail.cnb.yahoo.com> X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: Subject: the order of the modules when create core image 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, 17 Nov 2008 07:22:30 -0000 --0-957797538-1226906539=:21692 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, all, I don't know which mail list should I=C2=A0send this question to, so I send= to here. Hope somebody will help me. I create a MD raid0 in my VirtualBox that has two virtual=C2=A0disks (I cre= ate the Virtual PC according to my old PC.) Each disk has 2 partitions, one= for raid, one for swap. no LVM on the raid0. and I want to use grub2 on it= . I got the src from svn 2008-11-11. and compiled it successfully. But when I= install it with=20 grub-install --modules=3Dmdraid /dev/hda, the grub2 can't enter into normal= mode. With ls command, it don't show the md1 device. So I changed the module order in grub-install when create core image, move = the $module to after biosdisk, and install again, the it shows the md1devic= e.=20 I think that I made the change in the grub-install is not a good idea, I wa= nt to know whether there is a better way to change the order of the modules= when create or load the core.img. =C2=A0 BTW, how to debug the main.c in kern directory? If use grub-dprintf, I can'= t see all the debug info because the text scrolls too fast. Do you have bet= ter method? =C2=A0 Thanks >From Cola=0A=0A=0A ___________________________________________________= ________ =0A =E5=A5=BD=E7=8E=A9=E8=B4=BA=E5=8D=A1=E7=AD=89=E4=BD=A0=E5=8F= =91=EF=BC=8C=E9=82=AE=E7=AE=B1=E8=B4=BA=E5=8D=A1=E5=85=A8=E6=96=B0=E4=B8=8A= =E7=BA=BF=EF=BC=81 =0Ahttp://card.mail.cn.yahoo.com/ --0-957797538-1226906539=:21692 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi, all,
I don't know which mail list should I send this question to, so I= send to here. Hope somebody will help me.
I create a MD raid0 in my VirtualBox that has two virtual disks (= I create the Virtual PC according to my old PC.) Each disk has 2 partitions= , one for raid, one for swap. no LVM on the raid0. and I want to use grub2 = on it.
I got the src from svn 2008-11-11. and compiled it successfully. But w= hen I install it with
grub-install --modules=3Dmdraid /dev/hda, the grub2 can't enter into n= ormal mode. With ls command, it don't show the md1 device.
So I changed the module order in grub-install when create core image, = move the $module to after biosdisk, and install again, the it shows the md1= device.
I think that I made the change in the grub-install is not a good idea,= I want to know whether there is a better way to change the order of the mo= dules when create or load the core.img.
 
BTW, how to debug the main.c in kern directory? If use grub-dprintf, I= can't see all the debug info because the text scrolls too fast. Do you hav= e better method?
 
Thanks

From Cola

=0A=0A=0A
=E5=A5=BD=E7=8E=A9=E8=B4=BA=E5=8D=A1=E7=AD=89=E4=BD= =A0=E5=8F=91=EF=BC=8C=E9=82=AE=E7=AE=B1=E8=B4=BA=E5=8D=A1=E5=85=A8=E6=96=B0= =E4=B8=8A=E7=BA=BF=EF=BC=81 --0-957797538-1226906539=:21692--