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.
I am wondering how i can go about to get my data back on a dead ReiserFS.
My Kernal Paniced out for some reason when i rebooted and then when i tried to boot again it said i had a invalid Super Block on a ReiserFs So i read some documents and tried the reiserfsck --create-sb option from boot disks i had for Slackware and went through the options.. trying to recreate it.. It created one and then i tried to do a reiserfsck --rebuild-x (can't fully remember the command) so it would try to rebuild the system.. and it Kernal Panics out there.. So i think i created the Super block wrong but i can't create a new one because it says one is just fine.. Is ther any way for me to edit the super block again? Or any way to recreate teh Super block to try and get it the same as before? I haven't written anything to the drive.. i have tried using the dd option and it also kernal panics out. I am mainly wanting my MySQL database and some web files since my wife create a large photo gallery of our daughter.. and i know she wants them back.. the harddrive is create like this..
/dev/hda1 256M Linux Swap
/dev/hda2 5000M Linux (ReiserFS) /
/dev/hda3 10000M Linux (ext3) mounted /home
/dev/hda4 Rest of Harddrive (ext3) mount /develop for all my source downloads
Its a 20 gig Maxtor.. I can't get more detailed because i am reinstalling Slackware on another 20 gig harddrive.. Just wondering if there will be any way to pull my data of that partition the other Partitions are just fine. i was running Kernel 2.4.22 also.. Thanks..
If you have another Linux running, put both drives to the machine and boot the 'working' system. Then try to mount the Reiser partition. The commands will be:
mount -t reiserfs /dev/hdb2 /mnt/rescue
(I'm assuming that the drive with broken partition is /dev/hdb now. If not use the command
mount -t reiserfs /dev/hda2 /mnt/rescue
insted) Does it work?
No i get errors that its an Invaild ReiserFS even after doing all that.. Thats why i tried re-creating the Super Block but i think it failed to do it correctly.. So i am wondering if there is any way you can recreate the partition without Formating and then try and rebuild the tree or anything of that nature..
well the problem was i could never copy the partition anywhere.. I couldn't mount it and dd would cause a kernal panic and not copy anything. I finally got --rebuild-tree to work without crashing.. To get all the # folders.. But i finally found all the files i was wanting to save.. thanks for your help anyways..