LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2005, 02:57 AM   #1
Very Maqbool
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 0
regarding kernel copying


I have configured my kernel-2.4.20-8 by using the following commands

make xconfig
make dep
make clean
make bzImage
make modules modules_install
mkinitrd /initrd_new.img 2.4.20-8
cp /usr/src/linux-2.4.20-8/arch/i386/boot/bzImage /boot/new_kernel

OR

cp /boot/vimlinuz-2.4.20-8 /boot/new_kernel
in grub....

title New RedHat
root(hd0,1)
kernel /new-kernel ro root=LABEL=/
initrd /initrd_new.img

.................................................................................................... ...............

Is the new kernel same as the original ?
does it use the same system initilaization files as the original kernel like

init
rc.sysinit
inittab.............and etc etc????
 
Old 07-20-2005, 10:20 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
if you did this :
cp /boot/vimlinuz-2.4.20-8 /boot/new_kernel
then you kernel is the very same.

if you did this :
cp /usr/src/linux-2.4.20-8/arch/i386/boot/bzImage /boot/new_kernel
then your kernel is the "new" one, the one you compiled.

of course both use the same system initialisation or config, this is still a linux kernel (and from the same version).
 
Old 07-20-2005, 11:32 PM   #3
Very Maqbool
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Original Poster
Rep: Reputation: 0
configuring initialization files

if i want to change the initilaization files for one of the kernel , what should i do? this will effect the other kernel???????

Also i've 2.4.20-8 version of th kernel does this supports graphical boot(process bar screen)?
 
Old 07-21-2005, 06:40 AM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
all kernels "call" the same initialization files, therefore if you change something all kernel will use the change. In fact, most "initialization files" are not relative to the kernel; the first process the kernel start while booting is "init" then init start everything else (so the kernel you are using doesn't matter to your config files). There is no way to change this.

If by "graphical boot" you mean bootsplash feature, then I doubt so, 2.4.20 is quite old ( ~2 years? ), you will need to upgrade to a newer kernel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem copying knoppix kernel to hard drive fatblueduck Linux - General 4 06-14-2005 06:16 PM
copying to new hard drive - kernel/bootloader problem synaptical Linux - Software 17 10-05-2004 06:01 AM
Kernel Panic when copying lectraplayer Linux - Software 0 03-06-2004 09:01 PM
Manually copying kernel modules crank Linux - Newbie 2 06-05-2003 05:37 PM
copying the kernel? polar Linux - Newbie 2 05-21-2003 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration