Welcome to the new Linux Foundation Forum!
Single Binary with linux Kernel & filesystem
Hi guys,
I would like to get suggestions on how to create a single binary with linux kernel & filesystem.
Currently i have linux kernel & filesystem as two separate binaries running on mips platform. I intend to have a single binary which should contain both kernel & filesystem. Can somebody guide me on this? Is there a tool available to combine both kernel & filesystem in to one?
This is my first post in this forum. I hope to get valuable suggestions from experts.
Regards,
Joe
0
Comments
So, in a short form. not possible.
However, you could have a single file... just not an executable. You could make something like rootfs.ext2 which would be a single file with a file system inside of it, and a kernel inside of that, but you would have to loop mount the file somehow.
I could be wrong, but as far as I am aware you cannot merge the kernel and filesystem into a single executable.