From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JJxVg-0004rU-35 for mharc-grub-devel@gnu.org; Tue, 29 Jan 2008 15:56:48 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJxVe-0004r5-3T for grub-devel@gnu.org; Tue, 29 Jan 2008 15:56:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJxVb-0004qs-NE for grub-devel@gnu.org; Tue, 29 Jan 2008 15:56:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJxVb-0004qp-Hk for grub-devel@gnu.org; Tue, 29 Jan 2008 15:56:43 -0500 Received: from smtp-vbr7.xs4all.nl ([194.109.24.27]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJxVb-0002IO-8l for grub-devel@gnu.org; Tue, 29 Jan 2008 15:56:43 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0TKufgC014341 for ; Tue, 29 Jan 2008 21:56:42 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: Mail-Copies-To: mgerards@xs4all.nl Date: Tue, 29 Jan 2008 21:58:15 +0100 In-Reply-To: (bean123ch@gmail.com's message of "Wed, 30 Jan 2008 03:22:58 +0800") Message-ID: <874pcwl57c.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: [PATCH] eltorito cdrom 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: Tue, 29 Jan 2008 20:56:46 -0000 Bean writes: Hi Bean! > This patch enable grub2 to read files from cdrom using int13 service. Wow, you are active! :-) > To create bootable cdrom: > > mkdir cdroot > cat cdboot.img core.img > cdroot/grub2cd.bin > mkisofs -R -no-emul-boot -boot-info-table --boot-load-size 4 -b > grub2cd.bin -o aa.iso cdroot > > > diff --git a/boot/i386/pc/cdboot.S b/boot/i386/pc/cdboot.S > new file mode 100755 > index 0000000..d020651 > --- /dev/null > +++ b/boot/i386/pc/cdboot.S > @@ -0,0 +1,292 @@ > +/* > + * GRUB -- GRand Unified Bootloader > + * Copyright (C) 1994-2002 H. Peter Anvin > + * Copyright (C) 1999,2000,2001,2004 Free Software Foundation, Inc. Please be careful with patches that include code from other sources. If you do so, please mention it explicitly. You know that very often, it cannot just be merged... :-/ -- Marco