LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2010, 07:03 AM   #1
ravishekhar.82
Member
 
Registered: Feb 2010
Posts: 30

Rep: Reputation: 15
Question Renaming bzImage and vmlinux


Hi,
I want to rename default bzImage and vmlinux to bzImage_X and vmlinux_X respectively. I think bzImage can be renamed by changing /linux-version/arch/i386/Makefile, but if in same file I change vmlinux then error like no rule to make vmlinux_X. There are also some flags like "LDFLAGS_vmlinux". I do not know this need to be also changed or not.


Can I simply rename these files after compiling my kernel.

Please help. I am knew to kernel so not having much idea.

Last edited by ravishekhar.82; 02-25-2010 at 07:21 AM.
 
Old 02-25-2010, 07:31 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,896

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Yes, you can simply rename the bzimage or vmlinuz file after compiling the kernel. Just be careful to also edit the grub config file to call the renamed file. Also, you may want to rename the initrd img file (if you have one) to match the renamed kernel image file.
 
1 members found this post helpful.
  


Reply

Tags
compilekernel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
difference between bzImage and vmlinux jsjcaowei Linux - Software 2 12-02-2009 07:32 PM
Different checksum of vmlinux.64 mailanantgarg Linux - Kernel 1 05-19-2009 08:42 AM
What is the different between vmlinux and zImage? alice95089 Linux - Software 1 02-21-2005 03:10 AM
Reboot after vmlinux bigneko Arch 1 01-06-2005 05:42 AM
vmlinux eastj1974 Linux - Newbie 1 04-19-2003 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration