From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LNMfb-0004he-2z for mharc-grub-devel@gnu.org; Thu, 15 Jan 2009 02:29:39 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNMfY-0004hO-NM for grub-devel@gnu.org; Thu, 15 Jan 2009 02:29:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNMfW-0004h6-Kk for grub-devel@gnu.org; Thu, 15 Jan 2009 02:29:36 -0500 Received: from [199.232.76.173] (port=34411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNMfW-0004h3-I1 for grub-devel@gnu.org; Thu, 15 Jan 2009 02:29:34 -0500 Received: from mail.mnsspb.ru ([84.204.75.2]:45327) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNMfW-00008x-8H for grub-devel@gnu.org; Thu, 15 Jan 2009 02:29:34 -0500 Received: from [192.168.0.114] by mail.mnsspb.ru with esmtps id 1LNMd9-0002us-DX for ; Thu, 15 Jan 2009 10:27:08 +0300 Message-ID: <496EE550.4080807@mns.spb.ru> Date: Thu, 15 Jan 2009 10:27:12 +0300 From: Dmitriy Blinov User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Subject: loop device doesn't supported by grub-install 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: Thu, 15 Jan 2009 07:29:36 -0000 Hi all! I tried to install grub2 on the image mounted via loop device (http://lists.gnu.org/archive/html/help-grub/2008-12/msg00009.html). And it turned out to be impossible with standard grub-install utility. The reason is grub-probe error: cannot find a GRUB drive for /dev/loop2 This error occurs then grub tries to define drive by device name parsing. See file: biosdisk.c function: get_os_disk. Only scsi and ide disks supported by this function. My problem resolved by using low-level utilities grub-mkimage and grub-setup.