S
S
Sergey Krasnopivets2015-11-10 14:39:08
SUSE
Sergey Krasnopivets, 2015-11-10 14:39:08

Where can modules go when repacking an OpenSUSE 13.2 initrd?

Greetings!
There is a need to add a profile for AutoYaST to the initrd. The problem is that after any actions with the initrd (even corny unpacking and packing back), the installer stops loading virtio modules, so there is no network or disks. At the same time, if you do not touch the initrd - everything is ok.
What I do:
1. I take the netinstall image
2. I unpack the intitrd: xzcat -cd <path_to_initrd> | cpio -id
3. I put the prepared XML for AutoYaST into the root
4. I pack it back:

find . | cpio --create --format='newc' | xz -cz > ../initrd

5. I'm rolling this whole thing into ISO using genisoimage.
Can anyone tell me which way to dig?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question