Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chroot /mnt/gentoo /bin/bash => Segmentation fault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Eagle_
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 119

PostPosted: Mon Nov 14, 2005 5:47 pm    Post subject: chroot /mnt/gentoo /bin/bash => Segmentation fault Reply with quote

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
View user's profile Send private message
hollywoodb
Apprentice
Apprentice


Joined: 05 Nov 2003
Posts: 259
Location: MN, U.S.A.

PostPosted: Tue Nov 15, 2005 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Eagle_
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 119

PostPosted: Tue Nov 15, 2005 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum