no HOME!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David A. Sinck
Date:  
Subject: no HOME!

\_ SMTP quoth on 8/8/2001 22:28 as having spake thusly:
\_
\_ Need help.
\_ I just powered off my notebook, came home from work and powered it back up.
\_ No problems while at work.
\_
\_ when I logged in, I was told no home directory, so I wasplaced into /
\_ Upon further inspection, /home was not a directory, but a file!
\_ I unmounted, ran fsck (which reported nothing but good), and remounted.
\_ same thing. If I do a df while mounted, it will report the corect stats
\_ (i.e 6% full), etc. when I open the 'file' it is just a short garbage file.
\_
\_ I then did a dumb thing like 'cat /dev/hda6' (which is my home partition).
\_ I whole bunch of stuff (binary) data wizzed off the screen until I ctrl-c'd it.
\_
\_ Anyone have any sugesstions to revover the partition? My last backup is probably
\_ 2-3 weeks old, and would hate to loose any data between that time.

So /home is a file? What's in it?

mv /home /home-as-file
mkdir /home
mount /dev/hda6 /home

???

If that doesn't work, can you mount it someplace else? There are some
recovery tools worst case. e2fstools? If all else fails
'strings /dev/hda6' and run for the hills. :-)

YMMV. Significantly.

David

/Home, /home on the /ro-ooot,
whereis deer && antelope play,
!whereis <</dev/audio | audiogrep 'pshaw',
...

right, time to go to sleep.