From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C6ONu-0007Vk-PX for qemu-devel@nongnu.org; Sun, 12 Sep 2004 03:02:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C6ONt-0007VX-Hx for qemu-devel@nongnu.org; Sun, 12 Sep 2004 03:02:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6ONt-0007VU-FO for qemu-devel@nongnu.org; Sun, 12 Sep 2004 03:02:49 -0400 Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C6OI3-0007eh-Gx for qemu-devel@nongnu.org; Sun, 12 Sep 2004 02:56:47 -0400 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1C6OI1-00077e-00 for ; Sun, 12 Sep 2004 08:56:45 +0200 Received: from dsa.physics.usu.ru ([194.226.236.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Sep 2004 08:56:45 +0200 Received: from patrakov by dsa.physics.usu.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Sep 2004 08:56:45 +0200 From: "Alexander E. Patrakov" Date: Sun, 12 Sep 2004 12:56:58 +0600 Message-ID: References: <200409111456.42032.elcuco@kdemail.net> <20040911142553.GA2577@sentinelchicken.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <20040911142553.GA2577@sentinelchicken.org> Sender: news Subject: [Qemu-devel] Re: installing a boot loader into the disk images 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 Tim wrote: >>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 You can also use EVMS to partition the loop device. This is a complete replacement of lomount. But it's like (as Russians say) shooting sparrows from a big cannon. -- Alexander E. Patrakov