Take the 2-minute tour ×
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
add comment

2 Answers

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
add comment
up vote 0 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
add comment

Your Answer

 
discard

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.