I inadvertently missed using the list...here are my recent messages.
On 3/8/2011 8:39 PM, Nico Kadel-Garcia wrote:
On Tue, Mar 8, 2011 at 11:31 PM, Todd Carytodd@aristesoftware.com wrote:
reinstall is not an option for yum. I ran "yum install kernel" and it completed without errors however there are no links created.
Oh, dear. Can you grab the RPM and do "rpm -U -replacepkgs [kernel-whatver].rpm"? You should be able to use "yum remove" on the old kernel packages, consistent with freeing up the space, and now install your new kernel with yum.
Would this be the correct ln command for vmlinuz-2.6.9-89.35.1
# /boot/vmlinuz-2.6.9-89.35.1 /boot/vmlinuz
Todd
On 3/8/2011 7:04 PM, Nico Kadel-Garcia wrote:
On Tue, Mar 8, 2011 at 9:58 PM, Todd Carytodd@aristesoftware.com wrote:
I started a new thread since the original one is getting rather long.
I have retrieved the files I deleted in /boot and /boot/grub, however I need to make links for
/boot/System.map (System.map -> System.map-2.6.9-89.35.1) /boot/vmlinuz (vmlinuz -> vmlinuz-2.6.9-89.35.1) /boot/grub/menu.lst (menu.lst -> ./grub.conf)
Instead, re-install your kernel. "yum reinstall kernel". This should regenerate your symlinks correctly, except possibly the grub.conf.
If it was not so important to get it correct, I would appreciate the syntax for the command. Usually I would figure it out.
Since I have restored the files (I will double check to make sure they are all there), do I need to run grub-install?
i think yes. The old location of the boot loader is listed in /boot/grub/grub.conf, and should be used as the argument to that command. grub is much smarter than LILO used to be, but I think the bootstrap procedure relies on knowing details of where the fiddly bits of grub live on the relevant ex2 compatible filesytem.
My apologies for bothering everyone with such a dumb error on my part.
Todd
-- Ariste Software Petaluma, CA 94952
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Ariste Software Petaluma, CA 94952