3

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?

2 Answers 2

1

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).

1
  • And you can use "make install INSTALLKERNEL=XXX" to use a custom script as mentioned under Documentation/kbuild. Aug 8, 2015 at 18:25
0

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.

1
  • but i would like to know from where is it getting the install path? Jan 5, 2011 at 14:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .