LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2004, 07:31 AM   #1
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
/home Gone


HellO...
i'm in trouble
i was trying a tar command and it messed up my system i did
# tar cvfM /dev/hda2 500 /boot ..........I juat wanted to make a tarball into some pices each one=500k
but what happend is it made it Over my /home which is /dev/hda2
something like another layer on all users dir~z under /home
How can i remove this layer (solve this problem anyway without reinstalling linux) ..???

and also i dont see this tarball in /home ...
I rebooted and it wont boot of course and giving me a prompt
(Repair filesystem) and the output of mount command is

/dev/hda3 on / ext3 (rw)
none on /proc type proc (rw)
usbdevbfs on /proc/bus/usb type usbdevfs (rw) {a usb hub}
...


any suggestions ..???

I hashed #/home line in fstab (while i'm on the repair mode)so it booted up but when lagging as a user it say no /home/user logging in with home="/".


Thank You...

Last edited by ziox; 11-27-2004 at 08:06 AM.
 
Old 11-27-2004, 07:56 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
you wont see it on /dev/hda2, /dev/hda2 is the actually partition on the disk, including file system things, to "see" files means to look thru the file system .. apparently you wrote over that file system, and most diffidently files on that partition

you don't have to reinstall linux, or the distro tho, its not like you broke your system, you just trashed all your (and anyone else's) documents in /home .... just reput a file system on it, and add the users home docs, and hope you had nothing important in there

tho I'm no expert on ext2/3 file systems (per sonly i hate them), so there might be a way to recover ... maybe someone with some ext2/3 knowledge will see this thread?

and just for future reference, try to make the thread title a short description of the problem "/home Coverd" is a bit too short, and says nothing about your problem until you read your post
 
  


Reply


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
win xp home edition and samba home shares scheidel21 Linux - Software 8 10-09-2008 01:47 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
want to ssh/ftp to home machine (Slack) from office through home router fincher69 Linux - Networking 2 09-21-2005 11:55 PM
mount / , /home , /home/usr on different partitions alekoos Slackware 14 05-03-2004 12:39 PM
ftp problem (Probably coverd somewhere) mrPhantastik Red Hat 13 09-04-2003 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:51 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
Open Source Consulting | Domain Registration