LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-15-2003, 12:42 PM   #1
Johnnydiabetic
LQ Newbie
 
Registered: Sep 2003
Distribution: RH9
Posts: 6

Rep: Reputation: 0
Grub problem; error 13


Okay. I just compiled a new kernel, version 2.4.22smp on a RH9 system. Before this, I had 3 options in my grub menu, all of which are standard RH9 kernels.
I downloaded the source, ran the following:
#make xconfig
#make dep
#make bzImage
#make modules
#make modules_install

I also ran the mkinitrd command.
Here is my grub menu.1st file:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.22smp custom)
root (hd0,0)
kernel /vmlinuz-2.4.22smpcustom ro root=LABEL=/ hdc=ide-scsi hdd=ide-scsi
initrd /initrd-initrd-2.4.22smpcuston.img
title Red Hat Linux (2.4.20-20.9smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.9smp ro root=LABEL=/ hdc=ide-scsi hdd=ide-scsi
initrd /initrd-2.4.20-20.9smp.img
title Red Hat Linux (2.4.20-8smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/ hdc=ide-scsi hdd=ide-scsi
initrd /initrd-2.4.20-8smp.img
title Red Hat Linux-up (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi hdd=ide-scsi
initrd /initrd-2.4.20-8.img


I get error 13 (invalid or unsupported executable) at startup when I try to boot my new kernel. I have played around with my bios settings for the hard drive (from Auto to LBA etc), however I get the same error. Any suggestions? thanks in advance.

--Johnnyd
 
Old 09-15-2003, 05:07 PM   #2
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
Are you absolutely sure you copied the kernel from arch/i386/bzImage to the file you specified? That has happened to me more than once.
Also, I have noticed xconfig is unreliable (When I tried it, it only gave me about half of the options). I noticed you use the root=LABEL option. I have never gotten this to work in a kernel that I have compiled myself. Doesn't sound like the problem you specified, but you could run into it further along.

Last edited by jspenguin; 09-15-2003 at 05:09 PM.
 
Old 09-16-2003, 12:53 PM   #3
Johnnydiabetic
LQ Newbie
 
Registered: Sep 2003
Distribution: RH9
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, I am certain i copied the file.
 
  


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
what is Grub loading error 21, and how can I fix the problem! logiplex Linux - Software 26 06-30-2009 03:20 PM
GRUB error 2 and possibly related problem cajunaggie Linux - General 4 08-31-2007 04:08 AM
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
GRUB error 17 boot problem digitalmojo17 Linux - Software 2 10-24-2005 11:06 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM

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

All times are GMT -5. The time now is 10:15 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