LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   boot problem pls help (https://www.linuxquestions.org/questions/linux-newbie-8/boot-problem-pls-help-919694/)

pollyVent 12-20-2011 12:41 PM

boot problem pls help
 
When I boot my Linux RHEL system, I get the following error:

Checking root filesystem
fsck.ext3: No such file or directory while trying to open /dev/VolGroup00/LogVol00 ..................... [Failed]

***An error occurred during the file system check.
***Dropping you to a shell; the system will reboot
***when you leave the shell.
Give root password for maintenance (or type Control-D to continue):

(Repair Filesystem) 1 #

i want to resolve this problem without reisntalling the OS

TB0ne 12-20-2011 01:21 PM

Quote:

Originally Posted by pollyVent (Post 4554629)
When I boot my Linux RHEL system, I get the following error:

Checking root filesystem
fsck.ext3: No such file or directory while trying to open /dev/VolGroup00/LogVol00 ..................... [Failed]

***An error occurred during the file system check.
***Dropping you to a shell; the system will reboot
***when you leave the shell.
Give root password for maintenance (or type Control-D to continue):

(Repair Filesystem) 1 #
i want to resolve this problem without reisntalling the OS

Sorry, not enough information here. Looks like you installed to a logical volume, and the device isn't found. But without knowing how you installed, to what hardware, partitioning, etc., there's not much we can tell you.

However, since you're using RedHat Enterprise, you can call RedHat support for help, since you are paying for RHEL, right? They can walk you through lots over the phone, and tell you some options we may not know about here.

pollyVent 12-20-2011 01:26 PM

last week i cannot login to my server, so ive tried to recover it using grub. but unfortunately grub also has a password and i dont know it. so i used the installation DVD to run the linux rescue. i tried to edit the grub.conf then comment the md5 password. ive rebooted the system and boot into single user mode using grub to create a new root password using passwd and reboot the system and successfully login as root. then i tried to execute ll command but theres an error message something like cannot alocate memory(i cant remember the error message).
after 4 days, again i cannot login so ive tried the same solution but sadly to say i cant rebbot my system normally

pollyVent 12-20-2011 01:27 PM

my rhel support was already expired and last 2010 and we did not renew our subscription

singhharmeet 12-20-2011 01:35 PM

your gurb boot loader is pointing to load filesystem from your partition which is not being found.
or simply grub is unable to find root partition.
u can troubleshoot this with the help of grub menu,
at grub menu press c to go to grub prompt.
it will be something like this
grub >
type this command
grub> find /grub/grub.conf
GRUB should return the partition with the /boot directory. In this case, it’s the first
partition on the first hard drive:
(hd0,0)
you may have to edit grub.conf file or you may have to edit /etc/fstab file
in worst case you partition may have gone bad
hope this helps !!

TB0ne 12-20-2011 02:02 PM

Quote:

Originally Posted by pollyVent (Post 4554652)
last week i cannot login to my server, so ive tried to recover it using grub. but unfortunately grub also has a password and i dont know it. so i used the installation DVD to run the linux rescue. i tried to edit the grub.conf then comment the md5 password. ive rebooted the system and boot into single user mode using grub to create a new root password using passwd and reboot the system and successfully login as root. then i tried to execute ll command but theres an error message something like cannot alocate memory(i cant remember the error message).
after 4 days, again i cannot login so ive tried the same solution but sadly to say i cant rebbot my system normally

...and...
Quote:

Originally Posted by pollyVent
my rhel support was already expired and last 2010 and we did not renew our subscription

You are still not providing ANY useful details. Just telling us you cannot log in to your server, and hinting at some unspecified error message tells us nothing.

Again, it seems you're booting from a logical volume...either the device is bad, or (without the password), it can't be mounted/read. Without actual DETAILS about your setup, we can't help. If this is a production server at your company, call RedHat, pay for support TODAY, and they will help you.

pollyVent 12-20-2011 02:29 PM

this is a production server. we cannot afford to pay or renew our subscription now because of company financial crisis. so were here to seek some advices and solutions

pollyVent 12-20-2011 02:32 PM

to singhharmeet, i tried ur advice and the output is (hd0,0)

singhharmeet 12-20-2011 02:51 PM

try using this and check if the configuration files are okay and point correctly towards your root partition in read only mode:

grub > cat grub.conf (display contents of file )

and also check your /etc/fstab file with:

grub> cat /etc/fstab (displays content of file )

see if the files have correct configurations

if files are okay...
try this ( following is just an example press tab twice to enter correct kernel ):
grub > kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/sda1
then press enter
and then:
grub > initrd /initrd-2.6.32-55.el6.i686.img
press enter
then type
grub > boot

pollyVent 12-20-2011 03:14 PM

i cannot check the content of grub.conf,/etc/fstab using cat file not found when i execute. could you post here where can i find this or maybe the path in grub mode>

singhharmeet 12-20-2011 03:38 PM

try this
grub> cat (hd0,0) /grub/grub.conf
grub> cat (hd0,0) /etc/fstab


All times are GMT -5. The time now is 02:04 PM.