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: Thierry Laronde
Subject: Re: Don`t understand error message
Date: Thu, 2 Oct 2003 22:03:11 +0200
User-agent: Mutt/1.0.1i

On Wed, Oct 01, 2003 at 10:43:32PM +0000, Robert Millan wrote:
> On Wed, Oct 01, 2003 at 10:18:55PM +0200, Michael Gehm wrote:
> 
> > +++ sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%'
> 
> Urgh. I should learn sed someday ;)

sed extracts entries matching (hd<number> or (fd<number> that may be
followed by a comma, and partitions (DOS ones or BSD slices) and ending
with a ')'. If the string matches, this substring is extracted (\1)
and if it doesn't match the string is printed unchanged.

> 
> > ++ echo '/dev/ide/host0/bus0/target0/lun0/disc does not have any 
> > corresponding 
> > B       IOS drive.'
> > /dev/ide/host0/bus0/target0/lun0/disc does not have any corresponding BIOS 
> > drive       .
> > ++ exit 1
>

Since I'm using mainly *BSD systems these days I'm perhaps not up to
date with Linux, but I think this is simply because here we have the
new Linux device names/entries and because the script still try to find
a symlink to a classical /dev/hda /dev/sda etc. and the sed expressions
don't change the string "/dev/ide/host0/bus0/target0/lun0/disc" to
something it is able to recognize.

More sed expressions have to be added (please note once more that I
have no up-to-date Linux under my eyes and since I don't use
grub-install neither...).


Cheers,
-- 
Thierry Laronde (Alceste) <address@hidden>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C




reply via email to

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