Re: restore /boot directory

"Steven J. Yellin" <[email protected]>
Newsgroups gmane.linux.redhat.release.shrike
Message-ID <Pine.LNX.4.44.0410101315450.13324-100000@ucsba1.slac.stanford.edu>
    If you trashed the /boot partition, I assume you lost /boot/grub,
too.  If you use grub, you'll have to restore it, including grub.conf.
    So far as the kernel is concerned, you should then be able to get it
all back by installing the 2.4.20-31.9 kernel rpm.  This standard kernel
should be able to handle NVidia (as a module), but if you want what you
last compiled into the kernel, and haven't cleaned up since you compiled,
I'll bet reinstalling it from source will also work ("make install" when
in /usr/src/linux-2.4).  I don't know if this also handles making the
initrd file, but if it doesn't, you can do

mkinitrd /boot/initrd-2.4.20-31.9.img  2.4.20-31.9

On Sun, 10 Oct 2004, LeRoy M. Dorman wrote:

> 
> I have been running linux-2.4.20-31.9 (updated several times from the
> version originally installed) and was working on installing WinXP 
> (multiboot) and I inadvertently trashed the /boot partition on the linux 
> disk.
> Using linux rescue from the install CD, I can get to a command-line 
> prompt, running off the old kernel on the install cd.
> 
> Can I just copy a replacement copy of the 2.4.20-31.9 kernel from 
> www.kernel.org into the boot directory? What else has to be there?
> 
> I am using a NVidia display card so I had compiled their driver
> into the kernel which I was using so I have the kernel source rpm.
> 
> Is there a clear path to recovery other than full re-installation?
> What do I need to read to learn more?
> 
> Sigh,
> LeRoy Dorman
> 
> 
> 

-- 
Steven Yellin

-- 
Shrike-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/shrike-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.