Category Centos

Linux rebuild the initial ramdisk image

uname -r Make backup of existing ram disk: chroot /mnt/sysimage cd /boot mkinitrd -v -f initrd <TAB> mkinitrd -v -f initrd2.4.18-19.8.0.img 2.4.18-19.8.0   # cp (uname -r).img /root # mkinitrd -o (uname -r).img $(uname -r) # ls -l (uname -r).img initrd…

Yum cache regeneration

At the office I recently upgraded a machine to CentOS 5.2 from CentOS 4.7 (filesystem stayed intact). Everything was cool until I ran into a bit of an issue when attempting to update and regen the yum cache. I got…