Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Crynh-000202-Lh for mharc-grub-devel@gnu.org; Fri, 21 Jan 2005 08:26:09 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CrynZ-0001xh-Ml for grub-devel@gnu.org; Fri, 21 Jan 2005 08:26:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CrynY-0001xG-L3 for grub-devel@gnu.org; Fri, 21 Jan 2005 08:26:00 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrynY-0001xD-DI for grub-devel@gnu.org; Fri, 21 Jan 2005 08:26:00 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CryTz-0007Uk-QD for grub-devel@gnu.org; Fri, 21 Jan 2005 08:05:48 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 40D6788FA for ; Fri, 21 Jan 2005 13:58:58 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 18488-04 for ; Fri, 21 Jan 2005 13:58:57 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 46F13855F for ; Fri, 21 Jan 2005 13:58:57 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 14A38C046 for ; Fri, 21 Jan 2005 13:58:57 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <87mzv3vdvt.fsf@marco.marco-g.com> <41F0F7CB.5010201@draigBrady.com> From: Marco Gerards Date: Fri, 21 Jan 2005 12:58:44 +0000 In-Reply-To: <41F0F7CB.5010201@draigBrady.com> (P@draigBrady.com's message of "Fri, 21 Jan 2005 12:38:35 +0000") Message-ID: <87mzv3ey63.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: Loopback device 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: Fri, 21 Jan 2005 13:26:03 -0000 P@draigBrady.com writes: > Marco Gerards wrote: >> Hi, >> Here is a patch to add loopback support to GRUB. Although a lot of >> people told me they would find it useful, I just wrote it out of >> boredom without thinking about its use, just to figure out how hard it >> would be. >> I could commit it if anyone really wants it. Can I commit it? > > Thanks, that's handy. > > Note I'm not sure it's completely necessary though > as I have been using grub on a file for > ages by just doing `losetup /dev/loop0 disk.img` > before running grub. This patch is more for when you are booting. So when you booted GRUB from your harddrive you can use the commands: loopback loop (hd0,4)/home/marco/image/floppy.ext2 linux (loop)/vmlinuz root=/dev/hda5 boot To load a kernel from a floppy image on your harddrive. Same for iso9660, etc. I have no idea if your example would work. I never used such things. :) -- Marco