[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] How to merge the Xen kernel with modules into one single file ?
hi, Am 21.02.2012 um 04:23 schrieb Fajar A. Nugraha: > Do you guys have some hints on how to do that? BTW, I can merge the domain0 > kernel & initrd.img into one file. build or take the normal initrd you need (/boot/initrd*): ------------ mkdir -p /usr/src/initramfs cd /usr/src/initramfs zcat /boot/initrd.img-$(uname -r) | cpio -i ------------ your initrd is now extracted to /usr/src/initramfs now, build you own kernel (howtos on Google) with option: CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="/usr/src/initramfs" You can also choose, which compress tool you want to use (gzip, bzip2...). After that, build your kernel. In the end, you one file, with kernel and initrd inside. But, for every change in the initram fs, you have to execute "make" in the kernel source. cu denny Attachment:
signature.asc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |