bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Don`t understand error message


From: Yoshinori Okuji
Subject: Re: Don`t understand error message
Date: Fri, 3 Oct 2003 19:41:21 +0100 (BST)

 --- Robert Millan <address@hidden> wrote:
> It seems that because you have an unusual device name, some part of GRUB is
> unable to recognise it.

It is not an unusual device, but you are right in the point where GRUB cannot
recongnize it. I think I have already answered the same problem in the past.

The problem is that Linux devfs uses multiple names for one device: a
traditional one and a devfs-style one. If you use devfsd, the traditional one
is just a symlink to the devfs-specific one.

Therefore, GRUB needs to resolve symlinks to compare if two files are the same.
There is a fix in grub-install in the CVS version, but it is not enough,
because it does not resolve symlinks in a device map.

But I'm not sure what is the right way to fix this problem. One way is to add a
resolver of symlinks in a device map into grub-install. It wouldn't be very
difficult.

Another idea is to have the grub shell to do all the mappings between a BIOS
drive and an OS device. This might be better, because it is not very good to
have separate code to deal with a device map in grub-install and in the grub
shell.

Okuji




reply via email to

[Prev in Thread] Current Thread [Next in Thread]