Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C69CE-0007bh-7a for qemu-devel@nongnu.org; Sat, 11 Sep 2004 10:49:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C69CC-0007bU-Bm for qemu-devel@nongnu.org; Sat, 11 Sep 2004 10:49:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C69CC-0007bR-A0 for qemu-devel@nongnu.org; Sat, 11 Sep 2004 10:49:44 -0400 Received: from [192.115.104.17] (helo=sa3.bezeqint.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C696W-0002qa-7o for qemu-devel@nongnu.org; Sat, 11 Sep 2004 10:43:52 -0400 Received: from localhost (unknown [127.0.0.1]) by sa3.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP id 42A8433E42 for ; Sat, 11 Sep 2004 17:39:19 +0300 (IDT) Received: from sa3.bezeqint.net ([127.0.0.1]) by localhost (sa3 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01623-07 for ; Sat, 11 Sep 2004 17:39:18 +0300 (IDT) Received: from cucomania (unknown [81.218.100.179]) by sa3.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP for ; Sat, 11 Sep 2004 17:39:18 +0300 (IDT) From: Diego Iastrubni Subject: Re: [Qemu-devel] installing a boot loader into the disk images Date: Sat, 11 Sep 2004 17:44:02 +0300 References: <200409111456.42032.elcuco@kdemail.net> <200409111418.14548.mark.williamson@cl.cam.ac.uk> In-Reply-To: <200409111418.14548.mark.williamson@cl.cam.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-8-i" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200409111744.02985.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 =E1=F9=E1=FA, 11 =E1=F1=F4=E8=EE=E1=F8 2004, 16:18, =F0=EB=FA=E1 =F2=EC =E9= =E3=E9 Mark A. Williamson: > I assume you're on a linux host: if it's just a raw HD image, use the > losetup command to bind the image file to a loop block device (e.g. > /dev/loop0), then install grub / lilo on that. > > The loop block device is handy becuase it allows you to make a file appear > as a block device to the rest of the OS. Unfortunately, it does not > support partitions within the "file" device. There are patches available > on the internet which if applied to your host kernel may enable this... Lets take this approach. Now my problem is: I use a disk with one partition. I put the kernel on thr proper location an= d=20 install lilo/grub on it. Will this work? I think the boot loader will be=20 looking for a normal setup, not this hack. Another option is still is making a boot floppy, that will mount /dev/hda (= the=20 raw disk image) as /. (Thanks Tim). http://rescuecd.sourceforge.net/288.html#grub Anyway, you been more then helpfull. Thanks! =2D-=20 diego, kde-il translation team Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html =46ree MS-Office replacement for most platforms http://www.openoffice.org/