LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2006, 03:18 AM   #1
PTG
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 23

Rep: Reputation: 15
Upgrade Kernel GRUB error 17


This is hopefully a simple fix, but after several hours of searching it is time to ask for help.
I am simply trying to upgrade the kernel in my RedHat 9 system. Everything goes smoothly it compiles and installs ok I have the right files in the right places. So here is the problem. I add the second kernel to GRUB, but when I tell it to boot it hangs for a second, and tells me teh filesystem type is unknown and then I get error 17 can't mount partition.

here is what my grub.conf file looks like

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-8.img
title Kernel (2.6.15.6)
kernel /vmlinuz-2.6.15.6 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.6.15.6.img

Right well its now past 2:00 a.m. so I think its time for bed. Any help is much appretiated thanks in advance

Phil
 
Old 03-17-2006, 04:32 AM   #2
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
shouldn't your kernel line look like this: kernel (hd0,0)/vmlinuz-2.6.15.6 ro root=LABEL=/ hdd=ide-scsi

Not sure as you seem to have a separate boot partition, am I right? But try the above and tell us what happens.

Here's good source for Grub errors
 
Old 03-17-2006, 02:47 PM   #3
PTG
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 23

Original Poster
Rep: Reputation: 15
Right I sort of accidentally omitted a few lines when I typed my grub.conf file up here I do have the (hd0,0) line in there so thats not the problem. Anyway here is a copy/paste of the actual grub.conf 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/hda5
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-8.img
title Kernel (2.6.15.6)
root (hd0,1)
kernel /vmlinuz-2.4.15.6 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.6.15.6.img
 
Old 03-17-2006, 03:02 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
If you want help, post the real information the first time - don't type what you think it is (or should be).Read the following very carefully - then compare it to your first post
Quote:
title Kernel (2.6.15.6)
root (hd0,1)
kernel /vmlinuz-2.4.15.6 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.6.15.6.img
.
The kernel name is obviously wrong.
 
Old 03-17-2006, 03:28 PM   #5
PTG
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00
If you want help, post the real information the first time - don't type what you think it is (or should be).Read the following very carefully - then compare it to your first post.
The kernel name is obviously wrong.
Ok the time when I wrote my first post was late, and then looking at it later I realized that I made a mistake. Not only that but I admitted to the mistake and tried to remedy it. So don't take an all high and mighty postion and get on my back for it. That aside I fixed the line in my grub.conf file so it is now pointing at the right kernel, but I still get the same error when I try to boot it.
 
Old 03-17-2006, 03:41 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Is this a SATA disk ???.
If so you'll need the support in the kernel (or initrd) and you will probably need to remove the ide-scsi reference in the kernel reference.
 
Old 03-17-2006, 03:53 PM   #7
PTG
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 23

Original Poster
Rep: Reputation: 15
nope not SATA
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
grub error 1 in loading debian kernels after suse upgrade braungiobi Linux - Software 0 12-28-2005 12:35 AM
Kernel upgrade error..... tinaa Linux - Software 3 07-21-2003 01:14 PM
kernel upgrade/boot error with grub c_gebers Linux - Software 2 07-09-2003 04:42 AM
error on boot of new kernel. grub error. Pcghost Linux - General 4 05-10-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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