Red HatThis forum is for the discussion of Red Hat Linux.
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.
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.
I had a RHEL 4 system running, but one day I came into work to find it not booting. A reboot gave me a Kernel panic:
--------
Reading all physical volumes. This may take a while...
/dev/hde: open failed: Read-only file system
Attempt to close device '/dev/hde' which is not open.
Found volume group "VolGroup00" using metadata type lvm2
6 logical volume(s) in volume group "VolGroup00" now active
ext3: No Journal on filesystem on dm-0
mount: error 22 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not sysncing: Attempted to kill init!
--------
I tired booting for the install CD to do a rescue. It told me I had no drives installed, so I ran -> linux all-generic-ide noapic nolapic rescue
This gets me further, and finds my hard drive. But when it attempts to find my Linux installation and mount it, it says I don't have any Linux partitions, so it gives me the shell.
In the shell, I run fdisk -l and it lists my partitions:
Device Boot Start End Blocks Id System
/dev/hde1 1 8 64228+ de Dell Utility
/dev/hde2 9 531 4200997+ 8e Linux LVM
/dev/hde3 * 532 556 200812+ 83 Linux
/dev/hde4 557 30394 239673735 5 Extended
/dev/hde5 557 30394 239673735+ 8e Linux LVM
If I try to do a fsck on any, it tells me that /etc/fstab is missing, so if I just do a touch on that file to create a blank one, I run fsck on /dev/hde3 and get:
fsck 1.35 (28-Feb-2004)
WARNING: Your /etc/fstab does not contain the fsck passno
field. I will kludge around things for you, but you
should fix your /etc/fstab file as soon as you can.
Any ideas on my next step? I'd love to save it with a rescue of some kind instead reinstall. I have and Informix database on it, and to reinstall that I would have to rebuy the key!!
It is not a raid device and as I stated, there is no /etc/fstab so I have none to post.
RHEL 4 is VERY old. I'm surprised you're still using it. Update asap once you're sorted.
You appear to have a faulty /dev/hde, and I wonder what's happened to hda - hdd. I gather that system must be ide, not sata. As a first move, I would suspect hardware. Most motherboards only support hda - hdd. How is hde connected? What can you see that I can't? Can you put a known good disk on IDE0 that will boot, with no other drive related hardware, and see if it boots then? Once you get running, you can check stuff and sort yourself out. That failing, an install cd like slackware boots just to a console. You can log in as root, and have e2fsck etc available.
Your kernel options usually include an option root=<some_disk_partition>. Where does the system think / is? Where actually is it? The 2 are probably different.
For the record, as we're into antiquity here, give us m/c specs, kernel version etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.