Skip to contentSkip to conversation

Adding ramdisk/initramfs data to kernel post build

DISCUSSION Subodh Nijsure 2 participants 2 messages Jul 22, 2009 – Jul 23, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I am exploring ways to add combine kernel and ramdisk into single image on X86 platform.

(Unfortunately) the way build system is working kernel is built before the modules that need to go into the ramdisk.

I have been looking at addRmdisk.c found in  arch/powerpc/boot/ directory and see if I can use it.

Within the initramfs infrastructure is there way to patch in the initrd/initramfs into kernel that has already been built?

/Subodh
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive
Quoted 5 lines · Subodh Nijsure

Hello,

I am exploring ways to add combine kernel and ramdisk into single image on X86 platform.

Quoted 8 lines

(Unfortunately) the way build system is working kernel is built before the modules that need to go into the ramdisk.

I have been looking at addRmdisk.c found in arch/powerpc/boot/ directory and see if I can use it.

Within the initramfs infrastructure is there way to patch in the initrd/initramfs into kernel that has already been built?

For what purpose?

Tools like wraplinux will wrap a kernel and initrd image (like generated by dracut) into a single image file, either NBI or ELF format.

Warren Togami
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html