LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-08-2006, 06:12 PM   #1
pothi
LQ Newbie
 
Registered: Aug 2006
Distribution: Fedora 5
Posts: 15

Rep: Reputation: 0
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
 
Old 08-09-2006, 04:13 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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.
 
Old 08-09-2006, 06:31 PM   #3
pothi
LQ Newbie
 
Registered: Aug 2006
Distribution: Fedora 5
Posts: 15

Original Poster
Rep: Reputation: 0
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?
 
Old 08-09-2006, 06:44 PM   #4
pothi
LQ Newbie
 
Registered: Aug 2006
Distribution: Fedora 5
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
Old 08-09-2006, 07:10 PM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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
 
Old 08-09-2006, 07:23 PM   #6
shakumafu
LQ Newbie
 
Registered: Apr 2006
Distribution: ubuntu dapper
Posts: 14

Rep: Reputation: 0
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
 
Old 08-09-2006, 07:44 PM   #7
pothi
LQ Newbie
 
Registered: Aug 2006
Distribution: Fedora 5
Posts: 15

Original Poster
Rep: Reputation: 0
I am sorry, its not the OS2 operating operating system, to operating system windos xp and RHEL4.

I will try vgck -v
 
Old 08-09-2006, 07:54 PM   #8
pothi
LQ Newbie
 
Registered: Aug 2006
Distribution: Fedora 5
Posts: 15

Original Poster
Rep: Reputation: 0
when I run vgck -v
I got

File descriptor 21 left open
Locking type 1 initialisation failed

any more ideas
 
Old 08-10-2006, 06:13 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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

Disk /dev/hda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         261     2096451   16  Hidden FAT16
/dev/hda2   *         262        6258    48170902+   7  HPFS/NTFS
/dev/hda3            6259        6271      104422+  83  Linux
/dev/hda4            6272       12161    47311425    5  Extended
/dev/hda5            6272        8882    20972826   83  Linux
/dev/hda6            8883       10447    12570831   83  Linux
/dev/hda7           10448       10708     2096451   82  Linux swap / Solaris
/dev/hda8           10709       12161    11671191   83  Linux
 
Old 08-14-2006, 07:59 PM   #10
pothi
LQ Newbie
 
Registered: Aug 2006
Distribution: Fedora 5
Posts: 15

Original Poster
Rep: Reputation: 0
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
 
  


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
rhel4 and fc5 dual boot b123coder Fedora 1 04-11-2006 04:05 PM
Quad boot 1 WinXP, 3 RHEL4, with GRUB pgrimes Linux - Newbie 9 03-31-2006 06:20 PM
rhel4 - server hangs at end of boot Munix Red Hat 1 02-16-2006 11:26 AM
Dual boot RHEL4 and RH9 triley Linux - Software 1 02-03-2006 02:51 PM
RHEL4 + XP dual boot installation in RAID0 blankr Red Hat 5 09-13-2005 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06: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
Open Source Consulting | Domain Registration