From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QRlVk-0000kv-Pt for mharc-grub-devel@gnu.org; Wed, 01 Jun 2011 09:31:01 -0400 Received: from eggs.gnu.org ([140.186.70.92]:52021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRlVb-0000ir-PC for grub-devel@gnu.org; Wed, 01 Jun 2011 09:30:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRlVZ-0007yu-Em for grub-devel@gnu.org; Wed, 01 Jun 2011 09:30:51 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:44499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRlVY-0007yn-Uf for grub-devel@gnu.org; Wed, 01 Jun 2011 09:30:49 -0400 Received: by qwa26 with SMTP id 26so3649530qwa.0 for ; Wed, 01 Jun 2011 06:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type; bh=xz+Vhp8ErXxvMUkq3wQ8IdQAw2wlguO6vywsjxUmYOs=; b=QUPqIVaVOau6NOzenjrGOCmhzdPJTkh8ko8tGP0oz4aYCbc0qbzbPVJFzLwzzlJysn 8yjUjuRxSKb5mdJVWsDR2p/umb3q4a8M3nD7ENDpzAICJjs5OKINU4BFqMEg8lNIocZt AFGCk6ey+fSBJjLWy7vUyI2GwihxVKWmY0WcM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=BsBJP7tHkzhyjvtsJZAUZjNq61D4A8vbY6+wCHUi2A9y34wnD1NsjI05Q1mLn3fntt VPZacM5r5J9P7sAKBAMDggy/b4Me9++AU9K8L+7tnU/YGwgk5EIWtpuPoMD3+FLDUlB0 mxbTvWHVcf/lun8QslCVl0eEtrvWWb06CEqUE= Received: by 10.224.200.200 with SMTP id ex8mr5329814qab.395.1306935047822; Wed, 01 Jun 2011 06:30:47 -0700 (PDT) Received: from debian.x201.phnet (c-68-50-4-42.hsd1.dc.comcast.net [68.50.4.42]) by mx.google.com with ESMTPS id e28sm664708qck.42.2011.06.01.06.30.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2011 06:30:46 -0700 (PDT) Message-ID: <4DE63F05.8080803@gmail.com> Date: Wed, 01 Jun 2011 09:30:45 -0400 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110402 Iceowl/1.0b2 Icedove/3.1.9 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: About =?UTF-8?B?Z3J1Yi5jZmfigJTigJRCdWlsZGluZyBjb3JlYm9vdCB3?= =?UTF-8?B?aXRoIGdydWIyIHBheWxvYWQ=?= References: <4DE496BE.9080206@viatech.com.cn> In-Reply-To: <4DE496BE.9080206@viatech.com.cn> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigDFB5F73EFE228B1744FCD080" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.41 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 13:30:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDFB5F73EFE228B1744FCD080 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 31.05.2011 03:20, Rock Cui wrote: > I am working hard at building coreboot with grub2 payload. I thought before using coreboot you had to learn bascs of computng as e.g. not to send HTML messages. > Now I can build a grub2 payload as follow: > 1: Download the lastest grub2 source code. > 2: ./autogen.sh > ./configure --with-platform=3Dcoreboot > make > 3: Use grub-mkimage to generate a "payload.elf", detail: > ./grub-mkimage -d . -O i386-coreboot -o ../coreboot-v4/payload.elf > --prefix=3D'/boot/grub2' > memdisk cpio -m ../memdisk.tar it's -d grub-core and you need "tar" module, not "cpio" and it's --prefix=3D(memdisk)/boot/grub > =20 > Accoding the coreboot website(http://www.coreboot.org/Talk:GRUB2), > memdisk is a virtual disk > in grub image and it is suggested that grub.cfg is contained in a > memdisk image. So I made > folders boot/grub2 in my work folder and add a new grub.cfg and > some modules(such as > memdisk.mod cpio.mod ...) into the boot/grub2, then tar boot/grub2 > to memdisk.tar(according > to the website tar can be used to build a memdisk image). > > *Problems:* > 1: I don't know wether grub2 can found my grub.cfg ,if I set " > --prefix=3D'/boot/grub2' " ? > On the coreboot website,a sample is=20 > --prefix=3D'(ata0)/boot/grub2'. I think the ata0 is hard disk. > but I use the memdisk image, what should I do ? > > 2: I want my grub.cfg in memdisk to load the grub.cfg from my hard > disk. Because I have install the > ubuntu11.04 on my hard disk, a grub.cfg file should be in the > /boot/grub. So my grub.cfg just like > this: > search -f -s /boot/grub/grub.cfg > configfile /boot/grub/grub.cfg > =20 > Is this practicable? > > 3: I want the gurb can boot into the grub-shell, how to ? > Just put no grub.cfg for this. > BRs, > > Rock.C > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigDFB5F73EFE228B1744FCD080 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk3mPwYACgkQNak7dOguQgk4IQEAkQU1UisB/xAqBvCHYHlwn8Cf UXEAwX4skAQR9XQtKu4A/0OJAtDOwSREfGNLYNqE9EZh70H+j4tkvmeOWp0CNM02 =KPgh -----END PGP SIGNATURE----- --------------enigDFB5F73EFE228B1744FCD080--