LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error in "make install" - please help (https://www.linuxquestions.org/questions/linux-newbie-8/error-in-make-install-please-help-552918/)

uthra 05-10-2007 12:02 PM

Error in "make install" - please help
 
Hello

I am using Fedora Core 1 and built kernel 2.4.32 from source.
I was trying to experiment with some patch files and
did the following after patching. Got an eroor in make install.
These are the last few lines of the result...

cd /usr/src/linux
make oldconfig
make dep
make bzImage
make modules
make modules_install
make install
...
...
warning: kernel is too big for standaloneboot from floppy
sh -x ./install.sh 2.4.32 bzImage /usr/src/linux-2.4.32/System.map " "
+ '[' -x /root/bin/installkernel ']'
+ '[' -x /sbin/installkernel 'x'
+ exec /sbin/installkernel 2.4.32 bzImage /usr/src/linux-2.4.32/System.map ' '
All of your loopback devices are in use.
mkinitrd failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/usr/src/linux-2.4.32/arch/i386/boot'
make: *** [install] Error 2


Can you please tell me what I am doing wrong ?

Okie 05-10-2007 12:09 PM

the kernel image is too big for making a boot floppy, no big deal unless you require a boot floppy...

looks like you just need to manually run mkinitrd after you copy bzImage & System.map to /boot...

personally i prefer to build filesystem support in to the kernel itself rather than as a module so initrd is not necessary (you may consider this) i know it works with ext3 but i never use reiserFS so i can not say if it works with reiserFS...

uthra 05-10-2007 12:19 PM

Thanks Okie.

How do I build build the filesystem support in to the kernel itself rather than as a module ??
Do I have to go through the "make xconfig" to do it ?

Appreciate the help very much.

masonm 05-10-2007 01:15 PM

Yep, in the xconfig or menuconfig you select Y (yes, build it in) instead of M (build as module)

uthra 05-10-2007 02:31 PM

Hi Masonm...
I tried menu xconfig --> File systems...Do I set all the options to 'Y' or is there a specific one that I should change ?

uthra 05-10-2007 06:05 PM

Please advice. I tried various combinations. Either I am not setting the right one or this thing isnt working :(.
Help plzzz !!


All times are GMT -5. The time now is 08:32 PM.