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

Re: kernel reinstall help



On 08/20/03 18:59, Jamie Krasnoo wrote:

> Hi all. I've been using XFS for a while now without a problem. However I
> now have a problem and I've caused it. Apparently I didn't pay attention
> to the fact that a RedHat errata kernel rpm was for 7.3 and not 9.0. The
> rpm in question was kernel-2.4.20-18.7SGI_XFS_1.2.0.i686.rpm. I
> installed it via rpm -Uvh which replaced the previous kernel completely
> and there isn't a trace of it. Now the kernel wont boot up and I get the
> error saying that there isn't an init found and to pass it through the
> kernel arguments. I'd reinstall it but there are programs that I worked
> hard to get them running on RedHat 9.0 and I would rather see if I can
> either get this kernel running or somehow get the old kernel
> re-installed. I've managed to boot via the linux rescue and I can seem
> to get rpm working. It's mounting all the partitions correctly to change
> the kernel that I have no experience with and really don't want to screw
> anything up. Any help would be appreciated.

chroot <wherever your / as mounted>
rpm -ivh kernel-2.4.20-18.7SGI_XFS_1.2.0.i686.rpm.
edit /etc/lilo.conf to reference the new kernel
/sbin/lilo
exit
reboot


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama@linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   7:05pm  up 5 days,  7:33,  1 user,  load average: 0.16, 0.21, 0.74