LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2003, 09:54 PM   #1
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Rep: Reputation: 15
Another kernel question.


OK. I recompiled my kernel and it compiled great. I tried to make a new initrd image using mkinitrd (I am running RedHat 9) but it wouldn't let me. It said something about not being able to find the aic78xxx module or something. Anyway, I changed some stuff in GRUB and deleted the /initrd line and rebooted. When the system came back up it said:

Kernel panic: VFS: Unable to mount root fs on 00:00

Then I thought I would get smart and just insert the /initrd line from before (i.e. the initrd line I previously deleted). I then rebooted. When I rebooted I got this message:

VFS: Cannot open root devide "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

So I'm lost. I don't know how to fix this problem and I would really appreciate some help.

Thanks in advance,
Phekno
 
Old 06-06-2003, 10:24 PM   #2
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
drop your boot disk in the fd0 and reboot with that. tell it where your root is i.e.-

linux root=/dev/hda5

change the 5 and the a to where your root is. that should get you in so that you can then put lilo in, instead of grub.
 
Old 06-06-2003, 11:13 PM   #3
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
So what you are saying is:

1) I am completely screwed because I don't believe in making boot floppy disks (I know I probably can even though I don't have one).

2) I am screwed and absoutely cannot use GRUB anymore because I am too stupid to configure it correctly.

Why can't I use GRUB? Other than what I just said in #2.
 
Old 06-06-2003, 11:45 PM   #4
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
Someone help PLEASE!! I have had to revert to using Windows 98 and I have already experienced the wonderful BSOD once already. I installed win98 on a different hard drive. Help me Obi Wan Kenobi, you're my only hope!
 
Old 06-06-2003, 11:49 PM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
boot with the redhat cdrom in rescue mode.
go in your /boot/grub dir and see if there is a
grub.conf backup file from before, and see if you old
kernel exists there too. change the names of the old
kernel back to what it was, and put your grub back
like it was.
 
Old 06-07-2003, 12:03 AM   #6
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
I got to a shell when I booted to rescue mode but I can't see or access /boot. It just doesn't exist. I mean it exists but I can't see it. I would really like to keep the kernel that I have and use GRUB too. Is there any way to do that. I was able to get the kernel to boot when I booted from a command line using GRUB. Of course nothing works (i.e. no ethernet) but I don't know why. I guess I will keep trying.
 
Old 06-07-2003, 12:15 AM   #7
emetib
Member
 
Registered: Feb 2003
Posts: 482

Rep: Reputation: 33
when you went in with the rescue mode, did you enter in single user mode? i think, not positve, that that's what you need to do to be able to write to it. when you are trying to look at /boot, are you in the proper /dir? did you put it on another partition is what i'm saying?

you can keep grub, i just don't like it. don't like the way that it wants the devices listed. i'm just used to the standard linux /dir structure and with lilo i get to keep that. i don't need to play around with my brain. could be the couple of times that i tried it i was very tired and my brain was hurting from the 6 hour gentoo install.

so read the sig again before you jump to conclusions about yourself.

p.s. obi wan is dead. :-)
 
Old 06-07-2003, 12:19 AM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
yea, if you have a seperate boot partition and you mount it,
the rescue disk doesn't really know whether it's boot or
not. you just have to mount it somewhere and know
what partition it is. it won't mount under boot. you can
look in your /etc/fstab, and see what partition boot is.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 question: difference between Patch and "regular" kernel source kopikat Linux - Software 1 01-26-2005 06:24 PM
Kernel 2.4 To 2.6 Question... sam.wheale Linux - Newbie 2 01-17-2005 04:16 PM
Broad question: Is kernel 2.6.9 really stable? What is the best 2.6.x kernel? jtp51 Slackware 16 10-27-2004 01:29 PM
Kernel question (about kernel patches) alekoos Linux - Newbie 1 04-29-2004 12:33 PM
Lilo/kernel question & font question phek Linux - General 9 09-18-2001 01:20 PM


All times are GMT -5. The time now is 04:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration