LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2006, 11:43 PM   #1
nsalas
LQ Newbie
 
Registered: Nov 2006
Posts: 5
Blog Entries: 1

Rep: Reputation: 0
Red Hat Linux not booting up


Hi,

I'm Nelson and a newbie on linux/unix operating system. I wasn't the one who installed linux so I have very little knowledge how it was set-up.

Our deskstop linux server doesn't boot up after I issued fsck -y. When I re-started it, it hangs with message "GRUB loading stage2".

I tried linux rescue to no avail. These were what I've done:

1. Boot using Red Hat Linux 6.2
2. Issued linux rescue
3. mount -t ext2 /dev/hda1 /foo
4. fsck -y
Messages:
Parallelizing fsck version 1.18 (11-Nov-1999)
WARNING: Couldn't open /etc/fstab : No such file or directory
5. Tried e2fsck -p /dev.hda1
Messages:
e2fsck: No such file or directory while trying to open/dev/hda1(null).
The superblock could not read or does not describe a correct ext2 filesystem. If the device is valid, it really contains an ext2 filesystem (and not swap or ufs or sometihng else) then the superblock is corrupt, and you might try running e2fsck with alternate superblock: e2fsck -b 8193 <device>
6. So I tried, e2fsck -b 8193 /dev/hda1
Messages:
e2fsck 1.18, 11-Nov-1999 for ext2 FS 0.5b, 95/08/09
e2fsck: No such file or directory while trying to open /dev/hda1

I also tried fdisk -l but it did not display anything.

How can I repair linux to make it run again? Can I still recover databse and files from it?

Thank you.
 
Old 11-28-2006, 01:06 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,898

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
It's possible that /dev/hda1 doesn't exist.

More likely, I suspect, is that when you ran 'fsck -l', you did so as normal user, which should not report anything if the directory containing the fsck executable is not in your user path. Su to root, then run 'fsck -l'.

Report the output here.
 
Old 11-28-2006, 06:20 PM   #3
nsalas
LQ Newbie
 
Registered: Nov 2006
Posts: 5
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bigrigdriver
It's possible that /dev/hda1 doesn't exist.

More likely, I suspect, is that when you ran 'fsck -l', you did so as normal user, which should not report anything if the directory containing the fsck executable is not in your user path. Su to root, then run 'fsck -l'.

Report the output here.
You are right, I su to root from a normal user. It happened so fast I wasn't able to take note of the output. Can it still be repaired or I just need to salvage the files?

Thank you very much.
 
Old 11-28-2006, 06:21 PM   #4
nsalas
LQ Newbie
 
Registered: Nov 2006
Posts: 5
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nsalas
You are right, I su to root from a normal user. It happened so fast I wasn't able to take note of the output. Can it still be repaired or I just need to salvage the files?

Thank you very much.
What I did this morning was to fdisk -l /dev/hda1 but did not list anything. What does it mean?

Thanks
 
Old 12-03-2006, 06:03 PM   #5
nsalas
LQ Newbie
 
Registered: Nov 2006
Posts: 5
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nsalas
What I did this morning was to fdisk -l /dev/hda1 but did not list anything. What does it mean?

Thanks
Hi,

Can anyone help me with this please?

Thanks
 
Old 12-03-2006, 07:09 PM   #6
kamby
LQ Newbie
 
Registered: Sep 2003
Location: Washington State
Distribution: Fedora Core 6, Suse 10.2
Posts: 16

Rep: Reputation: 0
try running fdisk -l without /dev/hda1 and it should show how your drive is partitioned
 
Old 12-11-2006, 08:16 PM   #7
nsalas
LQ Newbie
 
Registered: Nov 2006
Posts: 5
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kamby
try running fdisk -l without /dev/hda1 and it should show how your drive is partitioned
Hi Kamby,

Thanks for your reply. I tried the fdisk -l but same thing, it didn't display anything. Do you think I can still recover my files?

Thanks again..
 
  


Reply

Tags
boot, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Red hat linux enterprise...booting problem raj_deep2k1 Linux - General 4 01-28-2006 12:10 AM
red hat linux is not booting sauslk Linux - Newbie 5 03-02-2005 10:19 AM
Problem with booting of Red Hat Linux 9 santosh_bandhu Linux - Hardware 1 10-28-2004 10:57 PM
help booting linux red hat 7.3 PLAC??? cwaidelich Linux - Newbie 6 01-10-2004 09:23 AM
Dual booting Red Hat Linux 7.3 dark_light Linux - General 17 09-08-2002 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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