View previous topic :: View next topic |
Author |
Message |
Eagle_ Tux's lil' helper
Joined: 19 Jun 2004 Posts: 119
|
Posted: Mon Nov 14, 2005 5:47 pm Post subject: chroot /mnt/gentoo /bin/bash => Segmentation fault |
|
|
Hi,
I think i am one of the linux talents which can do magics.
The story begin like this: I deleted by accedent (of course) some files from my partition (/dev/hda4 reiserFS). I checked how i could recover thuse files and i saw the line
Quote: | fsck.reiserfs --rebuild-tree -S /dev/hd?? |
I took my Gentoo 2005,0 CD and went to work. After it ended i try to reboot my system. The grub loaded and the system information (the one you could find at the dmesg) was running on the screen but then after that nothing happen. I used my Gentoo boot CD once again and try to mount the partition, everzthing is fine. When i write:
Quote: | chroot /mnt/gentoo/ /bin/bash |
I gut the following replay: Quote: | Segmentation fault | .
What dameage have i coused to my HD? and how could i fix it?
Thanks
Last edited by Eagle_ on Tue Nov 15, 2005 3:11 pm; edited 1 time in total |
|
Back to top |
|
|
hollywoodb Apprentice
Joined: 05 Nov 2003 Posts: 259 Location: MN, U.S.A.
|
Posted: Tue Nov 15, 2005 12:33 am Post subject: |
|
|
from 'man reiserfsck' :
Quote: | --rebuild-tree
This option rebuilds the entire filesystem tree using leaf nodes
found on the device. Normally you only need this option if the
reiserfsck --check reports "Running with --rebuild-tree is
required". You are strongly encouraged to make a backup copy of
the whole partition before attempting the --rebuild-tree option.
Once reiserfsck --rebuild-tree is started it must finish its
work (and you should not interrupt it), otherwise the filesystem
will be left in the unmountable state to avoid subsequent data
corruptions.
|
--rebuild-tree is designed to fix corruptions, not recover files....
from your Gentoo LiveCD, run reiserfsck --check on your unmounted partition
hopefully that will tell you to run with --fix-fixable or --rebuild-tree, and hopefully that will fix it... I'm not sure there's much else you can do |
|
Back to top |
|
|
Eagle_ Tux's lil' helper
Joined: 19 Jun 2004 Posts: 119
|
Posted: Tue Nov 15, 2005 3:09 pm Post subject: |
|
|
First of all, after i did
Quote: | fsck.reiserfs --rebuild-tree -S /dev/hd?? | my used HD size return to what it been before.
I did Quote: | fsck.reiserfs --check /dev/hd?? | (I hope it is the same like reiserfsck --check) and it gut no errors.
Now my question is if need to reinstall everything which was on this specific partition from the begining? or could i just copy one of the stages?
If there other suggestemnts? |
|
Back to top |
|
|
|