Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question