All of lore.kernel.org
 help / color / mirror / Atom feed
* loop device doesn't supported by grub-install
@ 2009-01-15  7:27 Dmitriy Blinov
  2009-01-15 17:36 ` Pavel Roskin
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitriy Blinov @ 2009-01-15  7:27 UTC (permalink / raw)
  To: grub-devel

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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: loop device doesn't supported by grub-install
  2009-01-15  7:27 loop device doesn't supported by grub-install Dmitriy Blinov
@ 2009-01-15 17:36 ` Pavel Roskin
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Roskin @ 2009-01-15 17:36 UTC (permalink / raw)
  To: The development of GRUB 2

On Thu, 2009-01-15 at 10:27 +0300, Dmitriy Blinov wrote:
> 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.

Please try the current code from the subversion repository.
get_os_disk() doesn't exist in the code anymore.

-- 
Regards,
Pavel Roskin



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-15 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15  7:27 loop device doesn't supported by grub-install Dmitriy Blinov
2009-01-15 17:36 ` Pavel Roskin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.