From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C68um-000446-Go for qemu-devel@nongnu.org; Sat, 11 Sep 2004 10:31:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C68ui-00043t-TM for qemu-devel@nongnu.org; Sat, 11 Sep 2004 10:31:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C68ui-00043q-Rs for qemu-devel@nongnu.org; Sat, 11 Sep 2004 10:31:40 -0400 Received: from [64.105.49.83] (helo=claudius.sentinelchicken.org) by monty-python.gnu.org with smtp (Exim 4.34) id 1C68pE-00006K-8F for qemu-devel@nongnu.org; Sat, 11 Sep 2004 10:26:00 -0400 Date: Sat, 11 Sep 2004 10:25:53 -0400 From: Tim Subject: Re: [Qemu-devel] installing a boot loader into the disk images Message-ID: <20040911142553.GA2577@sentinelchicken.org> References: <200409111456.42032.elcuco@kdemail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409111456.42032.elcuco@kdemail.net> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > I found some nice utilities to make a HD image from a a dir, and another one > for mounting the image on the host, however they are not enough. I need a way > to partition the HD image, and decide which partition will be (ext3 or swap > for example), and most importat: I need to install from the host a boot > loader on the HD image. > > The last one is really tricky since last time I tried, lilo did not want to > use a file, but it insisted on a real device. I did not try grub yet. Well, you can always boot the blank image in conjunction with a boot floppy/cd and just do a normal install. On the other hand, if you are really really wanting to do it from the host OS, I have found this link handy: http://rescuecd.sourceforge.net/288.html#grub hth, tim