Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C6E4f-0007kL-Mt for qemu-devel@nongnu.org; Sat, 11 Sep 2004 16:02:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C6E4e-0007il-3a for qemu-devel@nongnu.org; Sat, 11 Sep 2004 16:02:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6E4e-0007ie-0k for qemu-devel@nongnu.org; Sat, 11 Sep 2004 16:02:16 -0400 Received: from [193.70.192.51] (helo=smtp1.libero.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C6Dyb-0003Ov-2p for qemu-devel@nongnu.org; Sat, 11 Sep 2004 15:56:01 -0400 Received: from localhost (172.16.1.80) by smtp1.libero.it (7.0.027-DD01) id 40C7315F01281174 for qemu-devel@nongnu.org; Sat, 11 Sep 2004 21:56:04 +0200 Received: from fortuna (151.29.249.169) by smtp1.libero.it (7.0.027-DD01) (authenticated as x.fnord@libero.it) id 40CB290903C41837 for qemu-devel@nongnu.org; Sat, 11 Sep 2004 21:56:04 +0200 Date: Sat, 11 Sep 2004 21:55:24 +0200 From: "Marcello 'R.D.O.' Magnifico" Subject: Re: [Qemu-devel] installing a boot loader into the disk images Message-ID: <20040911195524.GA1794@fortuna.starfleet.cbn> References: <200409111456.42032.elcuco@kdemail.net> <200409111418.14548.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; Format=Flowed; DelSp=Yes; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200409111418.14548.mark.williamson@cl.cam.ac.uk> (from mark.williamson@cl.cam.ac.uk on Sat, Sep 11, 2004 at 15:18:14 +0200) 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 > An alternative approach would be to get a working Linux install in > QEmu, with two virtual hard drives - one containing the stock Linux > distro, one containing your own. Then use the stock distro in QEmu > to prepare the other disk... Floppydistros may fit. I personally partition my disk images via a bootable Linux floppy containing the GNU PartEd. Never tried LILO or GRUB stuff, because I usually let the real distro to do the right job. If you just need a bootloader (ANY bootloader), I use GAG (http://gag.sourceforge.net/) for real machines, and find it to be very practical. Its approach implies that there's nothing else than GAG itself in the MBR; so you'll have to tell your OS'es of choice to place their LILO/GRUB/whatever in the boot sector of their own partition, and nowhere else, while installing. This might seem odd, but I never encountered yet an OS that GAG can't start; and it's quite easy and quick to get back if corrupted or overwritten, say, by a Windows reinstallation. yo, RDO