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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-08-2005, 12:50 AM   #1
chrisidaho
LQ Newbie
 
Registered: Feb 2005
Location: na
Distribution: RH/Slack
Posts: 13

Rep: Reputation: 0
grub runs then: Kernel Panic: unable to mount 03:00, slack 10.0


Background:
Currently running RH 8.0 with the grub boot loader:
hda1: boot
hda2: RH8
hda3: swap
hda4: slack10

Attempting to run slack 10.0. The installation process went fine. Didn't configure lilo because I had grub.

menu.lst:
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.18-14.img
title Slackware 2.4.26
root (hd0,3)
kernel /boot/vmlinuz-ide-2.4.26 ro root=/dev/hda4/ hdd=ide-scsi

Scenario:
It finds the kernel just fine. When the kernel is loading it lists all of the partitions. But then that dirty [explitive deleted] freezes up with: kernel panic: unable to mount rfs 03:00

I looked at the grub doc and couldn't find any more direction that what I already thought I knew. What have I missed/overlooked/frustrated you with my blindness?

Thanks in advance
 
Old 02-08-2005, 01:36 AM   #2
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Re: grub runs then: Kernel Panic: unable to mount 03:00, slack 10.0

Quote:
Originally posted by chrisidaho

root (hd0,3)
kernel /boot/vmlinuz-ide-2.4.26 ro root=/dev/hda4/ hdd=ide-scsi

Scenario:
It finds the kernel just fine. When the kernel is loading it lists all of the partitions. But then that dirty [explitive deleted] freezes up with: kernel panic: unable to mount rfs 03:00

I looked at the grub doc and couldn't find any more direction that what I already thought I knew. What have I missed/overlooked/frustrated you with my blindness?

Thanks in advance
First the error hints as to where the problem lies.

"unable to mount rfs 03:00".

rfs stands for Root File System. So it's unable to load Slackware's root. Looking at your config file above, notice the
Code:
root (hd0,3)
kernel /boot/vmlinuz-ide-2.4.26 ro root=/dev/hda4/ hdd=ide-scsi
First you're telling it Slackware's root is at /dev/hda3, then you're appending the kernel and telling it it's /dev/hda4/. Anyway, you shouldn't need the "root=/dev/hda4/" at all. But if you were to leave it, change it to "root=/dev/hda3".

Last edited by DaHammer; 02-08-2005 at 01:37 AM.
 
Old 02-08-2005, 06:59 AM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you share /boot between RH and Slackware ?
if yes, try :

root (hd0,0)
kernel /vmlinuz-ide-2.4.26 ro root=/dev/hda4 hdd=ide-scsi
 
Old 02-08-2005, 08:31 PM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
root (hd0,3) is /dev/hda4

grub starts numbering at 0

Its gotta be something else
 
Old 02-08-2005, 11:12 PM   #5
chrisidaho
LQ Newbie
 
Registered: Feb 2005
Location: na
Distribution: RH/Slack
Posts: 13

Original Poster
Rep: Reputation: 0
I would have to agree. Grub's parition and harddrive designation is based on the BSD system which starts at 0, unlike linux which starts at 1.

The boot partition (hda1) is only for RH. Within the slack partition (hda4) there is a subdirectory: /boot, where its kernel is located.

Would it make any difference if I did share the boot partition (hda1) between both distrobutions? In the back of my head I thought they had to be separate, but I don't know why I thought that.

I didn't mention it before, but to eliminate the question: I can mount hda4, and have looked at the directory structure. So it leads me to believe its something contained within the kernel commands. But I have no idea what. I've very seldom played with kernels. The cd boot disk loaded just fine, and towards the end of the installation asked me what kernel I wanted to copy over. I told it bare.i because I figured if I needed to mess with kernel settings I'd rather start from scratch.

Hints? Allegations?

on a side note: In going thru the grub info file I couldn't find out why 'ro' is included on that line. And is 'root=...' truely optional?
 
Old 02-08-2005, 11:20 PM   #6
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Yeah, my bad it is /dev/hda4 but not "/dev/hda4/" as you have it. There is no such thing as /dev/hda4/
 
Old 02-08-2005, 11:50 PM   #7
chrisidaho
LQ Newbie
 
Registered: Feb 2005
Location: na
Distribution: RH/Slack
Posts: 13

Original Poster
Rep: Reputation: 0
Problem solved

You are so right! I was so blind. I over looked that little typo. I fixed it and it came out just fine. I just had a completely successful Slack 10 boot. Thanks.

Last edited by chrisidaho; 02-08-2005 at 11:54 PM.
 
Old 02-09-2005, 04:52 AM   #8
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Good job noticing that, DaHammer. This shows that many eyes are a good thing! chrisidaho, glad you got it to boot. Now you can play with Slack! Be careful; you may end up liking it a lot!
 
Old 02-09-2005, 02:47 PM   #9
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Glad you got it going. It's usually the little things that produce the biggest headaches.
 
  


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 panic - Unable to mount fs dave`2005 Slackware 12 04-14-2006 08:00 AM
Kernel Panic! Unable to mount root fs... DarkNebula Linux - General 7 10-24-2004 06:38 PM
2.2 --> 2.65: Kernel panic, unable to mount root. gaea Debian 5 04-28-2004 01:10 PM
Unable to mount root fs -- Kernel panic tijs Linux - Newbie 6 02-07-2004 05:55 PM
Kernel panic - unable to mount root fs felecha Linux - General 3 06-17-2002 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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