On Tue, Feb 8, 2011 at 4:31 PM, Xinhuan Zheng <xzh...@christianbook.com> wrote:
> My grub.conf is pointing to sdb1 for /. I've corrected to use
> /dev/vg0/lv1. But after rebooting, I am getting the same error. I guess
> I need to rebuild initrd.img file. How do I rebuild that file?

You'd use the mkinitrd utility and specify the name of the new initrd
and the kernel version.

To create from the current settings:

Update your /etc/modprobe.conf
mkinitrd /boot/my_new_initrd-`uname -r`.img `uname -r`

Then update your /etc/grub.conf and update the initrd line..

You can specify an alternate kernel than the one running also.  This
is useful if you're rebooting into a new kernel and need to preload
the modules.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to