not able to boot rhel4
Urgent help needed!!!!!!!!!
when I boot my computer OS/2 with windows xp and RHEL4 I get Checking root file system fsck.ext2: Is a directory while trying to open/ [FAILED] ***An error occured during the file system check ***Droping you to shell, the system ill reboot ***when ou leve the shell. ***warning -- SELinux is active ***Disabling security enforcement for system recovery. ***Run 'setenforce 1' to reenable Give root Password for maintenance (or type Control-D to Continue): 1) if I press Control-D the computer rebootss and same error message again 2) if I give the root passord, it goes to shell (Repair file system)1# I am really new to linux, so detailed help would be really appreciated. Thankx in advance. looking to hear as soon as possible. - pothi |
Fix the file system by using fsck as suggested by the message, after providing root's password;
Which partitions are which; fdisk -l (that the lowercase letter 'L') Then use fsck on each Linux partition except swap; fsck -A -y /dev/hdaX ;where X is the partition number for each Linux partition. Your partition devices may be different then shown in the example above, use the output from the fdisk command to guide you. |
thankx for helping me out. but still there is problem, here is what I did.
I got the output of fdisk -l output in short. I have two drives, on first drive /dev/hda1 HPFS/NTFS /dev/hda2 Linux LVM on the second drive /dev/hdb1 HPFS/NTFS /dev/hdb2 Linux /dev/hdb3 Linux LVM then I typed fsck -A -y /dev/hdb2 I am not sure if I have to run the above on /dev/hda2 and /dev/hdb3 I got fsck.ext3: Unable to resolve '/LABEL=/boot' the /Label=/boot is my first line in /etc/fstab what should I do now? |
Hi again, I edited /etc/fstab first line from /LABEL=/boot to /dev/hdb2 which is here my boot is. no I am able to run
fsck -A - /dev/hdb2 the output as fsck 1.35 (28-Feb-2004) 2efsck 1.35 (28-Feb-2004) /boot : clean, 35/26208 Files, 12440/104420 blocks then I typed reboot nothing happened, the same old error log and message. :( |
Yes, of course..............
You forgot to mention that you had LVM partitions, and you did not fix the root partition (where the problem is) by fsck /dev/hdb2 (the /boot partition). Try again this time use; vgck -v |
unrelated the errors, but dual booting is not os/2. os/2 is an old OS that was created by ibm and is about to be completely discontinued and unsupported(http://en.wikipedia.org/wiki/OS/2). do not enable os/2 in the bios
|
I am sorry, its not the OS2 operating operating system, to operating system windos xp and RHEL4.
I will try vgck -v |
when I run vgck -v
I got File descriptor 21 left open Locking type 1 initialisation failed :( any more ideas |
Well then try using fsck of both /dev/hdb3 and /dev/hda3.
Stange that no swap parition is shown???? Example from my laptop (CentOS-4.3 custom and Windows XP); Code:
$ fdisk -l |
hi,
this took so long and was not able to fix the problem. so i backed the importnt data using usb and I formatted. thankx for our help and I reall appreciate it. This time I have a swap and I don't have lmv :) |
All times are GMT -5. The time now is 05:12 PM. |