Re: Can't install kernel 2.6.5-1.435.2.3

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

 




On Thu, 8 Jul 2004, Nifty Hat Mitch wrote:

On Thu, Jul 08, 2004 at 12:45:54AM +0200, Erik P. Olsen wrote:
[root@epo kernels]# rpm -ivh kernel-2.6.6-1.435.2.3.i686.rpm
Preparing...                ###########################################
[100%]
   1:kernel                 ###########################################
[100%]
/sbin/mkinitrd: line 294: /sbin/nash: No such file or directory
/sbin/mkinitrd: line 294: /sbin/nash: No such file or directory
/sbin/mkinitrd: line 294: /sbin/nash: No such file or directory
/sbin/mkinitrd: line 294: /sbin/nash: No such file or directory
no temporary directory could be found
mkinitrd failed
[root@epo kernels]#

/sbin/nash is a link to /sbin/nash-i386 which is not on the system.
What's in this file and how can I recreate it?

On FC2 I see:

   $ ls -l /sbin/nash
   -rwxr-xr-x  1 root root 37476 May  6 18:50 /sbin/nash
   $ file /sbin/nash
   /sbin/nash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped
   $ rpm -q --whatprovides /sbin/nash
   mkinitrd-3.5.22-1
   $

Note that FC2 nash is not a link.

You should be able to reinstall nash with rpm.
A surgeon might do the rpm -r or rpm2cpio set of tricks.

   $ rpm -q --list mkinitrd
   /sbin/grubby
   /sbin/installkernel
   /sbin/mkinitrd
   /sbin/nash
   /sbin/new-kernel-pkg
   /usr/share/man/man8/grubby.8.gz
   /usr/share/man/man8/mkinitrd.8.gz
   /usr/share/man/man8/nash.8.gz

I've posted some of this info on this thread before - but here it is again.

This problem has been noticed by 2 people so far (the original poster
& myself), so there is some messup somewhere - but it didn't happen
with everyone.

Not sure what the trigger was. My guess is one of the test kernel
installs messed things up..

The fix was to reinstall the mkinitrd.rpm - and then install the
newer updated kernel. I've used:

rpm -Uvh --replacepkgs mkinitrd-3.5.22-1.i386.rpm

Satish



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux