Click to See Complete Forum and Search --> : missing hda7 file


mykie
02-28-2002, 05:31 PM
Hi!
im running a linux7 on my machine and not long ago a power failure struck in our neighborhood and my UPS didn't carry it all throughout the night. as soon as power came back up i boot up my machine but to no avail i can't get it working. it has a missing file called hda7 and i was told that the file has something to do with my partition. Basically, i still can access my files but i just don't have the graphic display that i used to have. For now, i just want to retrieve my files before im gonna reinstall my linux and i can't find a way how to do this. Every help and suggestions are greatly appreciated.

Thank you.

SpinyNorman
02-28-2002, 05:44 PM
hda7 is the 7th partition on you primary master drive. It sounds like it got corrupted by the power outage and can't be mounted now. You might be able to repair it with the"fsck" utility.

Take a look in your /etc/fstab file and find out which mount point is associated with /dev/hda7. That will give you some idea as to just what got clobbered.

If you need more info, include the /dev/hda7 line from /etc/fstab when you repost.

mykie
02-28-2002, 07:05 PM
here ya go.

/dev/hda7 /var ext2 defaults 1 2

i try to run that "fsck" utility but a message says couldn't open the file /etc/fstab...couldn't find file.

thanks.

mdwatts
02-28-2002, 07:35 PM
Ensure /dev/hda7 is not mounted though it shouldn't be due to the problem you are having.

fsck -a or -r /dev/hda7

-a for automatically fixing any errors found or -r for interactive repair.

The fsck manpage gives you lots of info on the options.

SpinyNorman
03-01-2002, 12:04 AM
To add to WattsMD's reponse:

<STRONG>here ya go.

/dev/hda7 /var ext2 defaults 1 2</STRONG>Good, it's only /var. It could be worse. :D

<STRONG>i try to run that "fsck" utility but a message says couldn't open the file /etc/fstab...couldn't find file.</STRONG>But it is there, right? Type "less /etc/fstab" to verify that you can view the contents of the file. If not, type "mount" and make sure all of your other filesystems are mounted, including /etc.

mdwatts
03-01-2002, 11:02 AM
That was actually mykie's response and not mine. :)

Though my name is Mike, I can't remember the last time I was called mykie. :D

So mykie... Is the problem fixed?

SpinyNorman
03-01-2002, 07:48 PM
Hmm...that does read a little strangely, doesn't it? Here, this should totally clarify things:

What I meant was that I was adding my comments on mykie's comments to your comments on those same comments.

Crystal clear now, right?

:D

mdwatts
03-01-2002, 08:21 PM
I understood what you meant though I wanted to make it clear to others. :)

What I meant was that I was adding my comments on mykie's comments to your comments on those same comments.


Huh? Can we not go back to the original misinterpretation?