I configured and compiled kernel 2.6.1 following the README file and the compiling kernel how-to for newbies
. Everything went fine.
But when I tried to boot with 2.6.1 I was getting this error:
VFS: Cannot open root device "LABEL=/" or unknown-block(0,0)
followed by kernel panic
I searched the internet do find the solution to this problem and I found out that this looks like a common problem. I tried to follow a solution I found and now I cannot boot with any kernel.
What did I do:
I made a backup of the file /etc/fstab and edited to change the line
following the suggestion I found to solve my problem.
I also changed grub.conf to fit this change in fstab.
Now, when I try to boot with kernel 2.6.1 I get
VFS: Cannot open root device "root=/" or unknown-block(0,0)
Booting with the previous bootable kernel I get and error about not being able to mount my filesystem. It asks me for the root password to give me a shell do try to correct my problem but the access to the file system is read-only and I cannot change back th fstab file.
I tried the Red Hat disk and
boot: linux rescue
to get a read.write shell but an error occurs trying to mount the file system and only part of it is mounted.... and fstab isn't in that part
So what else can I do to fix this? Any ideas?
This is on Red Hat 9.0