View Full Version : Rebuild pxe initrd with dm-multipath

08-Jun-2012, 19:28
I'm pxe booting IBM blades for installation with autoyast. This works, but is very slow due to the absence of a multipath driver in the initrd installation system.

How can I rebuild the initrd used for installation to include dm-multipath, so my initial boot for installation already uses multipathing ?

After installation I can just add 'dm-multipath' to /etc/sysconfig/kernel and run mkinitrd, but the resulting initrd is much smaller than the one provided for installation over pxe on the SLES11 DVD, so I think it will not work for that purpose.

Are the instructions on how to build such a initrd ?


14-Jun-2012, 09:15
You can create an initrd with integrated multipath-driver like this:

$ mkinitrd -f multipath


Automatic reply
14-Jun-2012, 13:30

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.suse.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.suse.com)

Be sure to read the forum FAQ about what to expect in the way of responses:

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team

18-Jun-2012, 09:30
You can create an initrd with integrated multipath-driver like this:

$ mkinitrd -f multipath


Yes, but this recreates the standard initrd, which goes into /boot to boot the local system.

I'm talking about the initrd used for booting and installing via pxe, residing in /tftboot on the pxe install server. How to I build/rebuild that one ?

18-Jun-2012, 09:33
In the meantime I've found that I can unpack the initrd with cpio and can potentially modify it that way. But it looks to me like 5t is not using a standard init system to start up, there is no inittab or init files started at boot. I do not see where I can add the modprobe command to load the dm-multipath module and start the multipathd during boot.