Jerry Geis
2008-Jun-07 02:58 UTC
[CentOS] using /dev/hda system to build initrd for /dev/sda system
I think I have booting issues for my custom kernel on centos 4. the sda system cannot find the disk. I used a qemu image to build a centos 4 MATH_EMULATION kernel. This system has /dev/hda. The system I am putting the vmlinuz and initrd files on is a /dev/sda system. I dont think the initrd image is getting built correctly. Does this make sense? What might I look at changing to ensure my initrd is made correctly. Jerry
Filipe Brandenburger
2008-Jun-07 04:33 UTC
[CentOS] using /dev/hda system to build initrd for /dev/sda system
On Fri, Jun 6, 2008 at 10:58 PM, Jerry Geis <geisj at pagestation.com> wrote:> What might I look at changing to ensure my initrd is made correctly.Try copying /etc/modprobe.conf from the production machine to the machine where you built your kernel and then run mkinitrd again. You might also try to play with the --preload= parameter of mkinitrd. See "man 8 mkinitrd" for more details. HTH, Filipe