Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I noticed there was a download folder in my home folder so I had been storing gigabytes of stuff there and now it is all gone!!! There were 2 linux DVD iso's, a bunch of RPM's and a few GZ files all perfectly sorted in neat directory hierarchy.
Last thing I remember doing in the folder was yester day I downloaded an NNTP news reader called TRN and then I extracted it to ~/apps folder and tried to install it but failed.
The very last thing I did last night before turning the computer off was browse around in windows folder of the ntfs partition and see what EXE files would run in wine...
Today I turn on the computer and all of my downloads are just GONE!!! This is terrible, what will I do?
I tried running file system check programs... fsck, reiserfsck but they would not work because it said /dev/sda3 was mounted read/write! SO I rebooted SuSe Failsafe which logs into run level 3 command prompt and tried again but still same problem!
When I compare the freespace and used space against the volume size, it seems that the data really is gone? There should be far less free space if it were still there!
I noticed that some XP files run under wine have the ability to effect the home/desktop folder. After playing around with wine, I noticed there was a "My Breifcase" folder on the desktop! Did wine/xp wipe out all of my downloads?
If sda3 is your /home partition then you should be able to safely log in as root (not su), unmount it and then run fsck on it. If it's your root partition then you'll need a live CD of some description, perhaps the Suse CD has a rescue function that could help. We'll be able to help more once we know your partition layout
linux:/home/lzw # mount
/dev/sda3 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda1 on /windows/C type ntfs (rw,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/sdb1 on /windows/D type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
usbfs on /proc/bus/usb type usbfs (rw)
Okay, so are you getting any other filesystem weirdness or did the files just vanish? You'll need a live CD or your Suse CD to run reiserfsck because the partition cannot be mounted. I'd try this as well, don't post the output just read over it and see if anything looks like an error:
cat /var/log/messages | grep -i reiser
If everything aside from the missing files seems fine and you don't see any errors during fsck or in your log then I'd say you're stuffed. This is the reason I don't use reiserfs, I've seen a few stories like this and I like to keep my data safe
Yep, I have about 150 errors in that messages log!
- is_tree_node: does not match
- search_by_key: invalid format
- reiserfs_update_sd: i/o failure
Just cut some short snippets out of the long lines but they all repeat over and over like that for about 150 lines! So it's off I go to download a live CD! I'll do some reading and pick one from this list I suppose:
I finally decided on a live cd... I went with Slax KillBill Edition! It boots to a command prompt and after you login, you can run KDE with the startx command! I liked the CD overall but did not like that KDE said the screen was 85hz and I'm sure it was not!
The recovery process was slow but seems to have recovered all of the data I wanted plus tons more!!! All of it is in a lost and found folder in sort of randomly named subfolders! I found the missing DVD iso's but still have much to sort through!
That command declared the file system good! So I figure those errors from the log were already fixed on subsequent suse boots!
reiserfsck --rebuild-tree -S /dev/sdb3
That command seems to have done the recovery in a long process that recovered thousands of items and permanantly removed other items that could not be recovered... (much older stuff like browser cache files I assume because I did some some fairly old cache files succesfully recovered!)
Data recovery under linux is a newbie attainable goal... With a little advice from LinuxQuestions.org of course!