Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error 13: invalid or unsupported executable format
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mvephoto
n00b
n00b


Joined: 13 Sep 2005
Posts: 5
Location: Winnipeg, MB

PostPosted: Tue Sep 13, 2005 2:03 pm    Post subject: error 13: invalid or unsupported executable format Reply with quote

Hello everyone!

I am new to Linux - only have begun playing with different options/distros a few months back, and slowly getting my bearings.

Tried to do a stage 3 install 2005.1 on my laptop and at boot, this pops up on my otherwise black screen:

Booting 'Gentoo Linux 2.6.12-r6'

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /kernel-2.6.12-gentoo-r6 root=/dev/hda3

Error 13: Invalid or unsupported executable format

Press any key to continue...



When I press any key to continue, I am presented with a splashscreen that gives me the option to boot Gentoo Linux 2.6.12-r6, which brings me right back to the screen I mentioned earlier, or "e" to edit this line, or type a "c" for the command line.

I realize you probably want to see my grub.conf, /etc/fstab and perhaps the path to my kernel, and I'm working on that as I'm getting a live distro to get these outputs. In the meantime, perhaps someone can tell me where I should be looking for a solution?

From what I can tell, this "error 13" happens sometimes to dual, or multiple boot systems. This is a brand new harddrive that hasn't seen anything but this Gentoo install.

Thanks for your assistance!
_________________
there are 10 kinds of people who can read binary - those who can and those who cannot
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Tue Sep 13, 2005 3:36 pm    Post subject: Reply with quote

mvephoto,

You kernel file is not in the correct format. You probably copied the wrong file to /boot.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mvephoto
n00b
n00b


Joined: 13 Sep 2005
Posts: 5
Location: Winnipeg, MB

PostPosted: Tue Sep 13, 2005 4:44 pm    Post subject: Reply with quote

You're probably correct. I just received that same feedback from an aquaintance (not thru this forum). My question is this: considering my limited familiarity with Linux - would it be wiser to start over again with a fresh install, or is a repair of the damage done sowewhat easy to execute?

If you are inclined to answer me, I would appreciate a clear "how-to" aka "step-by-step" if at all possible. Although I realize I'm taking up your time by asking this.

Thanks for the quick response, forum!
_________________
there are 10 kinds of people who can read binary - those who can and those who cannot
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Tue Sep 13, 2005 6:16 pm    Post subject: Reply with quote

mvephoto,

You almost never need to start over. Thats a bad habit you aquired with another OS.
The fix for this is almost a one liner.

Boot the liveCD
mount your root partition on /mnt/gentoo
mount your boot partition on /mnt/gentoo/boot
Now copy the kernel file over with
Code:
cp /mnt/gentoo/usr/src/linux/arch/i386/boot/bzImage /mnt/gentoo/boot/kernel-2.6.12-gentoo-r6

If you haven't discovered tab completeion yet, now is a good chance to learn.
When you type a few letters of a command or file name, then press the tab key, bash tries to complete it for you. Play with it in that long copy command. It helps stop typing errors.

Now reboot to test.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mvephoto
n00b
n00b


Joined: 13 Sep 2005
Posts: 5
Location: Winnipeg, MB

PostPosted: Tue Sep 13, 2005 6:46 pm    Post subject: Reply with quote

and the result is.....

gentoo login: _


THANKS!!

I don't really know where I went wrong during the install - although it was interesting to see that I got asked if I wanted to overwrite that exact file, meaning "/mnt/gentoo/boot/kernel-2.6.12-gentoo-r6" - to which I answered "y" ofcourse.

Thanks again. I'll be back for more, I'm sure! :lol:
_________________
there are 10 kinds of people who can read binary - those who can and those who cannot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum