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: Michael Gehm
Subject: Re: Don`t understand error message
Date: Wed, 1 Oct 2003 22:18:55 +0200
User-agent: KMail/1.5.3

On Sunday 28 September 2003 19:25, you wrote:
> On Sun, Sep 28, 2003 at 04:33:04PM +0200, Michael Gehm wrote:
> > Hi,
> >
> > I boot my box with grub from a knoppix installation. Now I installed grub
> > (0.932) on my Gentoo partition, copied menu.lst from Knoppix to Gentoo
> > (/boot/grub) and typed: grub-install /dev/hda.
> >
> > I'm afraid, I don't understand the error message I get then:
> >
> > gentoo root # grub-install /dev/hda
> > sed: -e expression #1, char 12: Invalid reference \1 on `s' command's RHS
> > sed: -e expression #1, char 12: Invalid reference \1 on `s' command's RHS
> > Unrecognized ls output: Not found or not a block device.
> >
> > Can anybody help please ?
>
> Please ensure you're using GRUB's grub-install and not Gentoo's patched
> version, we can't provide support for patched versions of GRUB.
>
> I suggest you take the latest grub-install version from GRUB CVS and
> re-try. If it still fails then pass "--debug" to grub-install and send a
> report again.

Ok, I did so but it fails too ....

Here the debug output of "grub-install /dev/hda" and "grub-install /dev/hd0" 
-> I tried both...

bash-2.05a# ./grub-install --debug /dev/hd0
+ bootdir=/boot
+ grubdir=/boot/grub
+ device_map=/boot/grub/device.map
+ test -f /usr/local/sbin/grub
+ :
+ test -f /usr/local/share/grub/i386-pc/stage1
+ :
+ test -f /usr/local/share/grub/i386-pc/stage2
+ :
+ test -d /boot
+ test -d /boot/grub
+ test no = yes
+ test -f /boot/grub/device.map
+ :
++ sed -n '/^([fh]d[0-9]*)/s/\(^(.*)\).*/\1/p' /boot/grub/device.map
++ sort
++ uniq -d
++ sed -n 1p
+ tmp=
+ test -n ''
++ resolve_symlink /dev/hd0
++ tmp_fname=/dev/hd0
++ test -L /dev/hd0
++ echo /dev/hd0
+ install_device=/dev/hd0
++ convert /dev/hd0
++ test -e /dev/hd0
++ echo '/dev/hd0: Not found or not a block device.'
/dev/hd0: Not found or not a block device.
++ exit 1
+ install_drive=
+ test x = x
+ exit 1
bash-2.05a# ./grub-install --debug /dev/hda
+ bootdir=/boot
+ grubdir=/boot/grub
+ device_map=/boot/grub/device.map
+ test -f /usr/local/sbin/grub
+ :
+ test -f /usr/local/share/grub/i386-pc/stage1
+ :
+ test -f /usr/local/share/grub/i386-pc/stage2
+ :
+ test -d /boot
+ test -d /boot/grub
+ test no = yes
+ test -f /boot/grub/device.map
+ :
++ sed -n '/^([fh]d[0-9]*)/s/\(^(.*)\).*/\1/p' /boot/grub/device.map
++ uniq -d
++ sort
++ sed -n 1p
+ tmp=
+ test -n ''
++ resolve_symlink /dev/hda
++ tmp_fname=/dev/hda
++ test -L /dev/hda
+++ ls -al /dev/hda
+++ sed -n 's%.*-> \(.*\)%\1%p'
++ tmp_new_fname=ide/host0/bus0/target0/lun0/disc
++ test -z ide/host0/bus0/target0/lun0/disc
+++ echo /dev/hda
+++ sed 's%/[^/]*$%%'
++ tmp_fname=/dev/ide/host0/bus0/target0/lun0/disc
++ test -L /dev/ide/host0/bus0/target0/lun0/disc
++ echo /dev/ide/host0/bus0/target0/lun0/disc
+ install_device=/dev/ide/host0/bus0/target0/lun0/disc
++ convert /dev/ide/host0/bus0/target0/lun0/disc
++ test -e /dev/ide/host0/bus0/target0/lun0/disc
++ :
+++ echo /dev/ide/host0/bus0/target0/lun0/disc
+++ sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' -e 's%\(fd[0-9]*\)$%\1%' -e 
's%/part[0-       9]*$%/disc%' -e 's%\(c[0-7]d[0-9]*\).*$%\1%'
++ tmp_disk=/dev/ide/host0/bus0/target0/lun0/disc
+++ echo /dev/ide/host0/bus0/target0/lun0/disc
+++ sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' -e 's%.*/fd[0-9]*$%%' -e 
's%.*/flopp       y/[0-9]*$%%' -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' -e 
's%.*c[0-7]d[0-9]*p*%%'
++ tmp_part=
+++ grep -v '^#' /boot/grub/device.map
+++ grep '/dev/ide/host0/bus0/target0/lun0/disc *$'
+++ sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%'
++ tmp_drive=
++ test x = x
++ 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
+ install_drive=
+ test x = x
+ exit 1
bash-2.05a#

Any ideas ?

Thank you

Michael

-- 
If Linux doesn't have the solution you have the wrong problem.
Registered Linux user #191 807                ICQ # 125941330
http://www.michael-gehm.de         http://www.gentoo.org
Against-TCPA                       http://www.againsttcpa.com           
Say NO  !!          Don't let them take YOUR RIGHTS !!              





reply via email to

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