Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My computer won't boot anymore I think because it ran out of disk space. It asks to boot in low graphics mode and then gets stuck checking battery state. When I boot in recovery mode I run clean and it says it's okay and gets stuck. I go to root terminal and try to delete things or run apt-get and I can't because I can't delete the lock file or anything else. Any ideas?

share|improve this question
1  
First boot a live CD and run fsck. –  goldilocks Mar 20 '13 at 23:49
    
Run df -k to check for full disks. –  vonbrand Mar 21 '13 at 1:06

3 Answers 3

Usually if the Linux OS changes a mount to RO, then there is some type of driver or serious structural error in the filesystem has happened. Please before you possibly damage the disk further, do a FULL fsck on the disk.

share|improve this answer
    
This is the way to go. Let fsck have a crack at repairing it. If you have a state in which the file system is mounted read-only, you should immediately backup everything you might need should a reformat and reinstall be required. –  Faelkle Oct 24 '13 at 23:06

This is just a solution which worked for me:

1) press ALT CTRLF2

2) login whith your credentials

3) enter sudo pkill X

X server will restart and login screen will come up..

share|improve this answer

Get into recovery mode and type

mount -o remount,rw /

You should have your read-write mode set

share|improve this answer
    
I wouldn't remount the filesystem rw until you're sure it isn't corrupt. Doing this on a bad filesystem is probably going to make things worse. –  Faelkle Oct 24 '13 at 23:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.