Linux maintenance mode : How to change a file

fscklinuxUbuntu

In the start-up of Ubuntu 9.04 the fsck fails on sda1 with status 8 signal 11.

I believe the problem was caused by the last change made. Ubuntu was running ok, the PC didn't power off on shut-down (it worked like that on WinXp). The line "apm power_off=1" was added in the end of /etc/modules

Now I want to remove that line, but how? The command line in maintenance mode the file system is in read-only mode. I tried to boot ubuntu 4 from the Live CD, but still I get the same start-up fsck fail error.

sda1 is mounted in / the file system and seems ok, i can list files and enter directories…

How can I fix this problem? Can anyone help troubleshooting this problem?

Thanks

Best Answer

If fsck fails with signal 11 (a segfault) it's not an APM configuration problem -- you've got hardware problems, most likely memory. Get thee to a memtest run immediately.