Static kernel compile problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I configured and compiled a static kernel (module support = N). I also
changed the lilo append line to read
append="nomodules root=/dev/hda5"

and ran /sbin/lilo

During boot, it gets to the point:
Mounting filesystems  [OK]
Enabling swap [OK]

and then panics with the message:
modprobe: can't open dependencies file /lib/modules-mykernel.......

Now, my kernel is static and it not should have tried to read the
/lib/mymodules.. in the first place.

Can a modular kernel (default) and a static kernel co-exist? Is there any
workaround to prevent my static kernel from trying to read module
information?

I congifured the static kernel as:

Changed the line in Makefile TOPDIR to point to my kernel source.
make mrproper
make config
make dep
make bzImage

cp /home/tony/mykernel/System.map /boot/System.map-temp
ln -fs vmlinuz-temp vmlinuz
ln -fs System.map-temp System.map

Any pointers ???

Regards,
Tony



-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux