![]() |
Is it possible to recompile the kernel, but leave the present modules intact, so that after the recompile, the modules would still work?
Thanks in advance. |
Depends. If the module has changed or you choose to version modules (which is a kernel compiling option) that wont work. Best way is to recompile modules. Anyway kernel compiling takes only 9-10 minutes @ P3 703 mhz
|
So when compiling the kernel, modules are compiled as well? I just need to make sure, I don't want my system to go down.
|
After you crated bzImage you do make modules && make modules_install.
If you dont know what bzImage is then you need to read on kernel-compling-howto @ www.linuxnewbie.org :cool: Ahh and /me still looks for Crossover Plugin for LinuX :confused: |
I created the kernel, compiled the modules, and edited lilo.conf. however when I reboot I get a blank screen. Is this because of one of the options in xconfig?
|
Try too boot from a disk go to console and open lilo.conf check if there are any vga=xxx option and uncomment them save and exit.Then type
lilo -v as root. Cheers |
This only happens when I boot using my new kernel. When I boot from my old kernel everything works fine.
|
This is probably because you didnt enabled frame-buffer in new kernel compilation and use a vga=xxx option in lilo.conf.
If you want to this work without editing lilo.conf you gotta recompile your kernel and enable framebuffer there. Just make menuconfig go to Console Drivers click Frame Buffer. Then Choose "Vesa Drivers" then click "Low-Level Drivers" then choose ones for 1bit-2bits-8bits etc.Then re-compile whole kernel you dont need to compile modules. Then make a lilo -v and reboot.Everything should work now :cool: |
Thanks CARTMAN, you have been a great help. I've tried recompiling the kernel from scratch (ie did make mrproper at prompt first and set the default options). Now the kernel doesn't compile at all. Any ideas.
Your help again is very much appreciated. Thanks |
First try make clean then other stuff if you got no luck compiling post the kernel_version and error. Cheers
|
SUCSESS!!!!
I compiled a working kernel (prety much). Problems during boot: - 1) Won't mount local and other file systems (although I can use the system and have access to all drives) 2) IPVS - What is it gives me two errors 3) Kernel won't pick up my Soundcard (Although compiled in correctly) Any ideas? Thanks |
[quote:9be3a114d5][i:9be3a114d5]Originally posted by craftyc [/i:9be3a114d5]
[b]SUCSESS!!!! I compiled a working kernel (prety much). [/quote:9be3a114d5] [quote:9be3a114d5]Problems during boot: - 1) Won't mount local and other file systems (although I can use the system and have access to all drives)[/quote:9be3a114d5] If you want to mount windows share you need VFAT support. [quote:9be3a114d5]2) IPVS - What is it gives me two errors[/quote:9be3a114d5] Pls give the [color=blue:9be3a114d5]exact[/color:9be3a114d5] error. [quote:9be3a114d5]3) Kernel won't pick up my Soundcard (Although compiled in correctly)[/quote:9be3a114d5] You gotta load module with modprobe . For example my soundcard is cmpci i do [color=blue:9be3a114d5]modprobe cmpci[/color:9be3a114d5] to load it.Just learn your sound card's module name @ google.com and add modprobe foo (where foo is modulename ) to /etc/rc.d/rc.local so it loads module at every boot. Cheers cartman :cool: |
Thanks CARTMAN.
1) VFAT support is definately compiled in, but I am not sure whether it is compiled into the kernel or as a module. If it is a module, does it load at boot all the time after I type modprobe xxxxx.o (can't remeber the specific module name) or do I have to do it every time I log in? 2) I'll have to get back to you on that one. 3) I'll try it. |
Best way is to compile VFAT in kernel because if you compile as module you have to play with /etc/rc.d/rc.local file to get it loaded at boot time.
Cheers cartman |
IPVS fails to load at boot and at shutdown can never clean its temp directory. Any ideas?
Also, this isn't really a necessity, but with my old kernel everything is logged in a graphical mode, ie anything that is started shows up with all the pretty colours. Is there any way to do this with my new kernel? Thanks. |
What is IPVS? :confused:
If you talking about login screen its about /etc/inittab first line is default run level if you make it 4 it takes you to the graphical login screen. And you can choose your login manager in /etc/rc.d/rc.4 Cheers cartman :cool: |
All times are GMT +1. The time now is 06:51 AM. |
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.