I apologize profusely in advance, as I know exceedingly little about Linux. I am trying to get my friend's laptop working which came with Linux and has recently stopped booting. I know a bit, and I am extremely computer literate and so I ought to be easy to deal with but I will need things spelled out a bit more than perhaps most...
The laptop is booting out of grub. It shows the splash screen, and then when the bar has finished moving to the right, an ASCII style (like the old MS-DOS shell) "window" appears that says "Cannot load X Server... due tosome internal error." It does not provide anything else. I can play around with the grub boot options to try to boot in the failsafe configuration. When I do that, I see a lot of error messages having to do with the computer being unable to write and the file system being read-only. The system then asks for a login, and after entering it, I am given the message "error in service module."
I have seemed to (at least temporarily?) fixed the "error in service module problem" by commenting out the last 3 lines of the file /etc/pam.d/login
That's as far as I can get there. If I add the "single" option to the grub menu, I can get to the linux prompt, and i see the line "fsck succeeded. Mounting root device read-write." However, at the last line it says, "killproc: Can not handle pid file /var/run/blogd.pid 'gCZZp'Quote:
auth required pam_securetty.so
auth include common-auth
auth required pam_nologin.so
account include common-account
password include common-password
session include common-session
#session required pam_lastlog.so nowtmp
#session required pam_resmgr.so
#session optional pam_mail.so standard
When I log in as root (after having fixed the "error in service module" problem as described above), I attempted to "mount -o remount", but I get the message: mount: block device /dev/sda2 is write-protected, mounting read-only
That's about where I am at. Any idea?