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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-17-2006, 04:18 AM
|
#1
|
LQ Newbie
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 23
Rep:
|
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
|
|
|
03-17-2006, 05:32 AM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006
Rep:
|
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
|
|
|
03-17-2006, 03:47 PM
|
#3
|
LQ Newbie
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 23
Original Poster
Rep:
|
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
|
|
|
03-17-2006, 04:02 PM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,314
|
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.
|
|
|
03-17-2006, 04:28 PM
|
#5
|
LQ Newbie
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
03-17-2006, 04:41 PM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,314
|
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.
|
|
|
03-17-2006, 04:53 PM
|
#7
|
LQ Newbie
Registered: Nov 2005
Distribution: Slackware 10.2
Posts: 23
Original Poster
Rep:
|
nope not SATA
|
|
|
All times are GMT -5. The time now is 02:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|