From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JHdOI-0004Cv-TY for mharc-grub-devel@gnu.org; Wed, 23 Jan 2008 06:03:34 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHdOF-00049P-L0 for grub-devel@gnu.org; Wed, 23 Jan 2008 06:03:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHdOD-00046m-0q for grub-devel@gnu.org; Wed, 23 Jan 2008 06:03:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHdOC-00046O-LG for grub-devel@gnu.org; Wed, 23 Jan 2008 06:03:28 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JHdOC-0001AM-7P for grub-devel@gnu.org; Wed, 23 Jan 2008 06:03:28 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JHdOA-000507-Jj for grub-devel@gnu.org; Wed, 23 Jan 2008 12:03:27 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JHdMk-0006fv-BH for grub-devel@gnu.org; Wed, 23 Jan 2008 12:01:58 +0100 Date: Wed, 23 Jan 2008 12:01:58 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080123110158.GA25594@thorin> References: <20080121165209.GA2557@thorin> <871w88stvk.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <871w88stvk.fsf@xs4all.nl> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] memdisk + grub-mkrescue 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, 23 Jan 2008 11:03:32 -0000 On Wed, Jan 23, 2008 at 11:45:19AM +0100, Marco Gerards wrote: > Robert Millan writes: > > > These two were predestined to get together.. attached patch for their > > wedding. > > > > Comments? > > > > -- > > Robert Millan > > > > I know my rights; I want my phone call! > > What use is a phone call… if you are unable to speak? > > (as seen on /.) > > > > > > * kern/i386/pc/init.c (make_install_device): When memdisk image is > > present, "(memdisk)/boot/grub" becomes the default prefix. > > Sounds sane to me. > > > * util/i386/pc/grub-mkrescue.in: Switch to a minimal core.img plus > > a memdisk tarball with all the modules. Add --overlay=DIR option that > > allows users to overlay additional files into the image. > > Overlay means that I can add a grub.cfg easily? It means you can do: mkdir -p boot/grub zile boot/grub/grub.cfg grub-mkrescue --overlay=boot Of course, it'd be easier if you could just add it directly, but I really think having this in a separate directory is a good idea (in case user wants to add random stuff to her memdisk). So I'm not sure if it can be improved. Does it seem fine as-is ? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)