LinuxQuestions.org
Register a domain and help support LQ
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 07-30-2008, 08:13 AM   #1
PlatinumX
Member
 
Registered: May 2008
Location: France
Distribution: Debian / Fedora / Gentoo
Posts: 178

Rep: Reputation: 15
Question Vmlinux.o instead of vmlinuz


Hi all,

I configured and compiled a vanillia 2.6.24 linux kernel using
Code:
make && make modules_install
I am used to get vmlinuz file that I copy in the /boot folder.

However, this time I add a vmlinux and a vmlinux.o file.

How to use them ?
Whatis the link with a vmlinuz file ?

Thanks
 
Old 07-30-2008, 10:20 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
In a console, cd to the folder which contains vmlinux and run this command: file vmlinux. If you see output which contains something like this
Quote:
Linux/x86 Kernel, Setup Version 0x206, bzImage
then that is your new kernel. Just rename it to vmlinuz and move or copy it to /boot.
 
Old 07-30-2008, 05:50 PM   #3
PlatinumX
Member
 
Registered: May 2008
Location: France
Distribution: Debian / Fedora / Gentoo
Posts: 178

Original Poster
Rep: Reputation: 15
Thanks

I will try this
 
Old 07-31-2008, 04:15 AM   #4
PlatinumX
Member
 
Registered: May 2008
Location: France
Distribution: Debian / Fedora / Gentoo
Posts: 178

Original Poster
Rep: Reputation: 15
Exclamation

Ok, here is what I have:
Code:
pax:/usr/src/linux# ls -alh
...
-rwxr-xr-x  1 root root 9.7M 2008-07-29 17:44 vmlinux
-rw-r--r--  1 root root  680 2008-07-29 17:44 .vmlinux.cmd
-rw-r--r--  1 root root 4.8M 2008-07-29 17:44 vmlinux.o
-rw-r--r--  1 root root  655 2008-07-29 17:44 .vmlinux.o.cmd
pax:/usr/src/linux# file vmlinux
vmlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped
pax:/usr/src/linux# file vmlinux.o
vmlinux.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
It is not a kernel :/
However, I used
make menuconfig
make && make modules_install.

I will do it again
 
Old 07-31-2008, 09:06 AM   #5
PlatinumX
Member
 
Registered: May 2008
Location: France
Distribution: Debian / Fedora / Gentoo
Posts: 178

Original Poster
Rep: Reputation: 15
In /usr/src/linux (where i decompressed my kernel archive), i laucnhed:
Code:
make && mae modules_install
And i got again, 2 files:
Code:
pax:/usr/src/linux# file vmlinux
vmlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped
pax:/usr/src/linux# file vmlinux.o
vmlinux.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
Any ideas why I am not getting a vmlinuz file ?
Thanks
 
  


Reply


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
Convert vmlinuz to vmlinux George2 Programming 12 10-30-2008 06:22 AM
What is vmlinux.scr for ? cyu021 Linux - Software 0 05-07-2005 12:06 PM
Reboot after vmlinux bigneko Arch 1 01-06-2005 05:42 AM
What are these files ? vmlinuz and vmlinux raees Linux - General 4 03-20-2004 07:16 AM
vmlinux eastj1974 Linux - Newbie 1 04-19-2003 04:52 PM


All times are GMT -5. The time now is 11:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration