On Tuesday 25 Oct 2011 19:22:50 Pravinkumar Chavan wrote:
Hay thanks.
First Happy Diwali to you.
When I was compiling the kernel I got error
/opt/linux-2.6.35/scripts/gen_initramfs_list.sh: Cannot open '/opt/linux-2.6.35/usr/initramfs.cpio' make[1]: *** [usr/initramfs_data.cpio] Error 1 make: *** [usr] Error 2
I have the compiled version of 2.6.28. so I in menuconfig for 2.6.35 i have given initramfs.cpio path of 2.6.28 and compiled the kernel.
But in 2.6.35/usr/ I dont have initramfs (which contain the init and other files required to device bootup) filesystem which is present in 2.6.28
So I copied the finitramfs to 2.6.35/usr/ and again compiled. but no luck with that image as well.
Do I need to create initramfs for this kernel or have to found way to create the initramfs.cpio so that I can boot the kernel without the 2.6.28 initramfs.cpio?
Let's back track a little. initramfs-tools is a standard tool in any base install. I am surprised that it is missing. It means that your install is possibly not ok. What distro do you use? My comments are solely for debian (and should be valid for it's derivatives).
Install initramfs-tools the proper way using apt or aptitude.
If you need any module which is not compiled into the kernel until you can mount root, then you definetly need initramfs. Otherwise you dont. Framebuffer (usually) comes much later, so you maynot require initramfs to reach a shell.
( I dont have clue how can I generate the file.)
man update-initramfs