Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I was trying to bring up my custom kernel. I did the following :

$ make menuconfig && make modules && make modules_install && make install

I would like to change the install PATH. How can i do that?

I tried doing

$ export INSTALL_PATH=<my custom path>

But then it is only creating vmlinux.bin (it is not creating the ramdisk image!)

But if I don't do that, make install will automatically create the ramdisk image in the default /boot folder.

How can i change that?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Yup, I found where is that install path.

It is inside /sbin. The script file name is installkernel.

Just need to make a couple of changes in there and i could change the default install path of my Linux source(which was /boot).

share|improve this answer
And you can use "make install INSTALLKERNEL=XXX" to use a custom script as mentioned under Documentation/kbuild. – Ciro Santilli 六四事件 法轮功 包卓轩 Aug 8 at 18:25

You use a separate tool to create an initrd image.
Most distros use a command called mkinitrd, but Fedora has a tool called dracut that is supposed to replace mkinitrd.

share|improve this answer
but i would like to know from where is it getting the install path? – Sen Jan 5 '11 at 14:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.