Log in

Bekijk de volledige versie : Segmentation fault



velcrow
25-09-2008, 13:55
Hi All,

Have searched through the posts and tried to fix this myself - using

fsck 1.41.0
e2fsck 1.38

I am using wengi's pre-mount script to check but looking at the logs

Sep 23 20:40:14 e2fsck: /dev/discs/disc0/part2: recovering journal
Sep 23 20:40:21 e2fsck: /dev/discs/disc0/part2: clean, 5494/123648 files, 41994/246999 blocks
Sep 23 20:40:21 e2fsck: /dev/discs/disc0/part3: recovering journal
Sep 23 20:40:56 e2fsck: /dev/discs/disc0/part3: clean, 2399/30343168 files, 6583344/60655415 blocks

running "mount" gives me this -

/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part2 on /opt type ext3 (rw,noatime)
Segmentation fault

Have even detached the drive and run the check through Ubuntu

but I still have an issue e.g. I try to run the df -h command and I get

Segmentation fault

Any suggestions...maybe its not a disk problem at all :(

Thanks Velcrow

velcrow
28-09-2008, 14:15
Ok - Just in case people are have the same issue.

The solution for me was to format "part 3" - the data partition (if you use wengi's tutorial) - I could only do this by removing all the startup scripts except dropbear.

umount and format

Then put the scripts back in (all post and pre scripts)

Velcrow