LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Taking kernel from livecd (https://www.linuxquestions.org/questions/linux-general-1/taking-kernel-from-livecd-303722/)

zaicheke 03-19-2005 07:31 PM

Taking kernel from livecd
 
I have a very slow pc ( so i can't recompile) that is missing a lot of the features with a stock kernel. However slax livecd has all the missing features. How can i copy the kernel from slax to the pc. Is it just taking the kernel image in /boot or do i need to copy some of the modules?

Ben2210 03-20-2005 02:39 AM

You need the kernel, the System map, and the modules.

The kernel is /boot/vmlinuz or /boot/bzImage (possibly followed by the version number, eg /boot/vmlinuz-2.4.29)
The system map is /boot/System.map (same remark applies)
The modules are a whole directory, generally /lib/modules/2.4.29 (if kernel version is 2.4.29)

Copy all those 3 things and respect EXACTLY the filenames-dont try to rename them. For instance if you rename System.map-2.4.29 to System.map, it won't work.

Then edit your lilo.conf file to boot /boot/vmlinuz-2.4.29 (if this is the correct filename)
and you're done.

PS there must be consistency between the filenames

zaicheke 03-20-2005 11:11 AM

thanks.


All times are GMT -5. The time now is 11:24 PM.