From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HgmHb-0005C4-10 for mharc-grub-devel@gnu.org; Wed, 25 Apr 2007 14:32:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HgmHa-0005Bk-13 for grub-devel@gnu.org; Wed, 25 Apr 2007 14:32:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HgmHY-0005Az-9s for grub-devel@gnu.org; Wed, 25 Apr 2007 14:32:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgmHX-0005Ao-Um for grub-devel@gnu.org; Wed, 25 Apr 2007 14:32:00 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HgmBt-0006wd-5m for grub-devel@gnu.org; Wed, 25 Apr 2007 14:26:09 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 3F2523D0FEEB8 for ; Thu, 26 Apr 2007 00:21:08 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id F25A43D0FEEB7 for ; Thu, 26 Apr 2007 00:21:07 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Wed, 25 Apr 2007 20:26:03 +0200 User-Agent: KMail/1.8.2 References: <8c0c43de0704210717q3e2cc21wfb2e4c4a23d049be@mail.gmail.com> <87tzv44etz.fsf@xs4all.nl> <8c0c43de0704250941u3ffdaf4eg52d2a312cf3bd77f@mail.gmail.com> In-Reply-To: <8c0c43de0704250941u3ffdaf4eg52d2a312cf3bd77f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704252026.04204.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.17.2 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: My Summer of Code Project 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: Wed, 25 Apr 2007 18:32:02 -0000 On Wednesday 25 April 2007 18:41, Alex Roman wrote: > > For GRUB 2 you will need to install ruby as well. What I actually > > meant with a good development environment is setting up qemu or so. > > Or when you want to test things on real hardware you can better use > > networking instead of messing around with floppies. Doing things > > right from the start can save you time :-). > > How can I tell qemu to boot grub? last I checked qemu took a hard > drive image that it booted from. I have documented a howto on the wiki: http://grub.enbug.org/TestingOnX86 Although the page says bochs, you can do the same with qemu. When testing, I myself often use qemu with a floppy image. This is quite easy. I also use a hard disk image from time to time, but it is a bit more painful to set up a correct image than a floppy image. For real systems, I usually use PXE or a USB key. > > Have a look at grub_dprintf. It prints debug messages depending on a > > variable. For example, use "set debug=all" on the GRUB prompt. I > > think it is easier for you to start playing with grub-emu to > > understand how things in general work. Although it will be useless to > > you when you start working on your project. > > What is grub-emu? Look at the directory util. In the current version, it is built only if you specify --enable-grub-emu to configure. Okuji