# Rebuild pxe initrd with dm-multipath

**URL:** <https://forums.suse.com/t/rebuild-pxe-initrd-with-dm-multipath/22728>\
**Category:** SLES Install-Boot\
**Created:** [June 8, 2012, 9:28pm UTC](https://forums.suse.com/t/rebuild-pxe-initrd-with-dm-multipath/22728 "2012-06-08T21:28:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![markus\_b](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@markus\_b](https://forums.suse.com/u/markus_b)\
**Post date:** [June 8, 2012, 9:28pm UTC](https://forums.suse.com/t/rebuild-pxe-initrd-with-dm-multipath/22728/1 "2012-06-08T21:28:54Z")

</div>

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 ?

Markus

---

<div class="post-metadata">

**Author:** ![amo\_vzug](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@amo\_vzug](https://forums.suse.com/u/amo_vzug)\
**Post date:** [June 14, 2012, 11:15am UTC](https://forums.suse.com/t/rebuild-pxe-initrd-with-dm-multipath/22728/2 "2012-06-14T11:15:54Z")

</div>

You can create an initrd with integrated multipath-driver like this:

```auto
$ mkinitrd -f multipath
```

regards,

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 14, 2012, 3:30pm UTC](https://forums.suse.com/t/rebuild-pxe-initrd-with-dm-multipath/22728/3 "2012-06-14T15:30:40Z")

</div>

markus,

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](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](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

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  
[http://forums.suse.com](http://forums.suse.com)

---

<div class="post-metadata">

**Author:** ![markus\_b](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@markus\_b](https://forums.suse.com/u/markus_b)\
**Post date:** [June 18, 2012, 11:30am UTC](https://forums.suse.com/t/rebuild-pxe-initrd-with-dm-multipath/22728/4 "2012-06-18T11:30:57Z")

</div>

[QUOTE=amo\_vzug;5110]You can create an initrd with integrated multipath-driver like this:

```auto
$ mkinitrd -f multipath
```

regards,[/QUOTE]

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 ?

---

<div class="post-metadata">

**Author:** ![markus\_b](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@markus\_b](https://forums.suse.com/u/markus_b)\
**Post date:** [June 18, 2012, 11:33am UTC](https://forums.suse.com/t/rebuild-pxe-initrd-with-dm-multipath/22728/5 "2012-06-18T11:33:30Z")

</div>

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.
