inudor
02-01-2005, 02:30 PM
Hi, I'm really a newbie to this, so I ask for your patience (and excuse me for my english too... trying to improve it! ;-) )
I'm trying to compile a 2.6.10 kernel for my Fedora Core 3. I'd like to have it monolithic (it's a given requirement) and I do something like this...
- make mrproper
- make menuconfig (where I disable loadable module support)
- make all
( - make modules_install ==> I don't do this, I want it monolithic... it's not necessary then, isn't it?)
- make install
and get this out...
__________________________________________________ __________
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CHK usr/initramfs_list
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/redhat/SOURCES/linux-2.6.10/arch/i386/boot/install.sh 2.6.10marc_monolitic arch/i386/boot/bzImage System.map ""
WARNING: Couldn't open directory /lib/modules/2.6.10marc_monolitic: No such file or directory
FATAL: Could not open /lib/modules/2.6.10marc_monolitic/modules.dep.temp for writing: No such file or directory
/lib/modules/2.6.10marc_monolitic is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
__________________________________________________ __________
why is it looking for a modules' directory if I compiled the kernel as monolithic?
if I compile with modules support it works perfectly, updating my grup.conf too.
can you give any advice or reference? thx a lot!
saludos
I'm trying to compile a 2.6.10 kernel for my Fedora Core 3. I'd like to have it monolithic (it's a given requirement) and I do something like this...
- make mrproper
- make menuconfig (where I disable loadable module support)
- make all
( - make modules_install ==> I don't do this, I want it monolithic... it's not necessary then, isn't it?)
- make install
and get this out...
__________________________________________________ __________
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CHK usr/initramfs_list
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/redhat/SOURCES/linux-2.6.10/arch/i386/boot/install.sh 2.6.10marc_monolitic arch/i386/boot/bzImage System.map ""
WARNING: Couldn't open directory /lib/modules/2.6.10marc_monolitic: No such file or directory
FATAL: Could not open /lib/modules/2.6.10marc_monolitic/modules.dep.temp for writing: No such file or directory
/lib/modules/2.6.10marc_monolitic is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
__________________________________________________ __________
why is it looking for a modules' directory if I compiled the kernel as monolithic?
if I compile with modules support it works perfectly, updating my grup.conf too.
can you give any advice or reference? thx a lot!
saludos