LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ReiserFS, can't mount or boot (https://www.linuxquestions.org/questions/linux-newbie-8/reiserfs-cant-mount-or-boot-564665/)

crispyleif 06-26-2007 04:09 PM

ReiserFS, can't mount or boot
 
Hi


Have a Debian installation (Sarge/3.1) formatted with ReiserFS, after a powershortage it didn't boot. I tried using rescuedisk, but couldn't read/find the partition. I then put the HDD in another computer and tried mounting it there, no result.

Now, this was my picture/video storage..and the backup is 200 MB of pics short, if I have to, I will research more expensive ways of fixing it, but I HOPE that some guru out there have a solution!

I have read about ddrescue, but havent tried it out of fear of using it incorrectly.

Hope to hear ANY advice from the LQ users !

crashmeister 06-26-2007 04:38 PM

Are your partitions still there?

crispyleif 06-26-2007 04:40 PM

Very good and fair question.

Yes, fdisk tells me so!

crashmeister 06-26-2007 04:51 PM

You could try to copy the whole stuff with parted if you got a second or third partition on the same hd.
Lets say you got hda1 which is corrupted and hda2 that is bigger than hda1.

Do a mkreiserfs /dev/hda2 and after that do parted /dev/hda cp 1 2
That`s supposed to do an exact clone from partition 1 to 2 .Worst case scenario is that the data on hda2 is then unmountable,too but then you got a copy to test with rescue options.

Of course the data on your target partition will be lost.

AwesomeMachine 06-26-2007 07:37 PM

I would boot from a live CD and use fsck.reiserfs to fix it. It will tell you to make a backup before you use it, but it's one of the most tested programs in linux. I've used it many times with success. You would probably need to do:

fsck.reiserfs --rebuild-tree


All times are GMT -5. The time now is 03:20 PM.