LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, Debian Buster Stable, Windoze 7
Posts: 684

Rep: Reputation: 56
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
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

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, Debian Buster Stable, Windoze 7
Posts: 684

Original Poster
Rep: Reputation: 56
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



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 / openSUSE 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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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