Re: file check wont pass

"Taylor, ForrestX" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
Ronald C. Pope wrote:
> I am really new with Linux so please bear that in mind if you reply to 
> this post. In other words, might have to tell me very detailed steps 
> needed to solve my problem.
> 
> My system gave me a message that it was shut down badly and performed a 
> file system check. Then I get a message that it wont fix itself and a 
> suggestion to run the check manually without the switches. When I try to 
> enter the command, it says no device selected. I guess I am completely 
> lost. Is this refering to the hard drives? In any event, the machine 
> will not completely boot

You need to run fsck on your disks.  The command should be something like:

fsck -y /dev/hda1

Since you are new, you may not know the names of your partitions.  If 
this is the case, you may be able to find them by typing:

fdisk -l

The partitions should be listed on the left side.  If it doesn't show 
anything, use trial and error.  Try:

fsck -y /dev/hda1
fsck -y /dev/hda2
and so on up to hda10.  If it doesn't recognize any of these, try:

fsck -y /dev/sda1
fsck -y /dev/sda2
and so on.  The s in sda stands for SCSI, thus if you are certain that 
you have SCSI hard drives, use this command.

If neither of these finds any valid partitions, try using hdb1, hdb2, 
etc.  You may need to try hdc or hdd, or sdb and sdc for SCSI as well.

Once you find the partitions and clean them, you should type `exit`, and 
reboot.

Forrest
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.