LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-03-2004, 01:46 AM   #1
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu 10.04, Debian Squeeze, Windoze 7
Posts: 512

Rep: Reputation: 35
kernel 2.6.3 compile ends in grub error 13: unsupported executable format(?)


Very excited to give the best and freshest a go, I went about compiling the 2.6.3 kernel on my RH 9 box.

I followed the very helpful HOWTO posted here somewhere:
Config went well (make xconfig)
compile also (make bzImage)
modules fine (make modules)
and install good too (make modules_install)

Now I notices that the thing produces a vmlinux file, not a vmlinuz as expected. (as I understand, vmlinuz is compressed, vmlinux not)

When I point grub to boot from it, it tells me:
error 13: invalid or unsupported executable format.

Size of vmlinux is about 3.7 mbyte, chosing a minimal kernel in config and doing most things in modules.

What am I missing here? Can I check the kernel integrity by other means than to try to start the system on it by grub?
 
Old 03-03-2004, 06:52 AM   #2
krisealv
Member
 
Registered: Jan 2004
Location: Hareid, Norway
Distribution: Ubuntu
Posts: 111

Rep: Reputation: 15
I use
make xconfig
make all
make install && make modules_install

Can't help you though, use lilo myself
 
Old 03-03-2004, 06:56 AM   #3
TheOneKEA
Member
 
Registered: Oct 2003
Location: Somewhere in Surrey
Distribution: Debian GNU/Linux 7.4.0 (amd64) w/kernel 3.13.0
Posts: 279

Rep: Reputation: 30
Wrong file.

vmlinux is the uncompressed C machine code of the Linux kernel - placed in the right environment, it acts just like a C program.

You want the file in arch/i386/boot/bzImage - THAT is the proper Linux kernel file.
 
Old 03-03-2004, 03:51 PM   #4
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu 10.04, Debian Squeeze, Windoze 7
Posts: 512

Original Poster
Rep: Reputation: 35
Yes, that did the trick.

Wonderful, thanks for your help!
 
Old 03-06-2004, 02:33 PM   #5
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Rep: Reputation: 30
I used the bzImage file, and yet I still came out with a ton of lilo errors.

warning: '/dev' directory structure is incomplete; device(xx, xx) is missing.
Fatal: Failed to create a temporary device
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gdb "not in executable format: File format not recognized" tcma Programming 9 07-18-2007 06:02 AM
reiserfs invalid module format after kernel compile Phyrexicaid Suse/Novell 4 09-22-2005 01:51 AM
Unsupported wav format arubin Linux - Software 2 03-28-2005 02:12 AM
Box wont boot after kernel upgrade "Dump Card State Ends" error with scsi card abefroman Mandriva 0 03-25-2004 03:42 PM
Executable format on Linux and FreeBSD llama_meme *BSD 1 10-02-2002 11:24 AM


All times are GMT -5. The time now is 10:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration