0

My problem started after i rebooted my pc from the terminal , not doing any upgrades ,just a simple reboot , i saw some warning about low space on the home folder nothing else but i think it is unlikely that this is the problem . My computer booted just fine ,but when i type my login password it freezes and nothing happens . I can't acces tty shell with CTRL+ALT+F(1...6) ,when i do this sometimes it loads all that output and keeps bring me the login screen and freezes , i managed to get to a login in tty once put after i type my password it reloading the login screen . I have installed on this machine a fluxbox windows manager and i could login there , and list my files and did some commands i saw on related problem posts , don't know if it's stupid or not .. tried reinstall ubuntu-desktop , unity what . nothing works for me ..

l0cal
  • 11

1 Answers1

0

Could be that being out of space is causing all the problems... that's the first error you mention, so should be the first thing fixed.
or a filesystem (FS) problem...
or there's some error in the GUI desktop...

But running from a live USB/DVD is the first step, to:

  • Check the FS for errors - [Note: if your hard drive is failing, then it will probably get worse no matter what, a whole-partition backup with gddrescue may be required, then fix & backup from the copy]

    To do a read-only check (if you're really paranoid about losses, but you should already have several backups in that case).

    fsck -nv /dev/<device>
    

    But you're probably using an ext3/4 filesystem on / & /home, so fsck would use the e2fsck program, and these options would be useful:

    • -n Open the filesystem read-only, and assume an answer of 'no' to all questions.
    • -f Force checking even if the file system seems clean.
    • -p Automatically repair ("preen") the file system. This option will cause e2fsck to automatically fix any filesystem problems that can be safely fixed without human intervention.
    • -v Verbose mode.
  • Mount the partitions - as read-only (mount -o ro <partition> <mountpoint>) if you're concerned about them getting changed.

  • Back up your files - Copy wanted files to some other partition, delete unwanted ones, to solve the out of space problem and prevent catastrophic loss in case there is a problem in the future.
  • Remove/re-install packages from a chroot environment (but if you can boot into single-user mode with networking that might be easier.
  • Even re-install if you think the errors are too serious to overcome.
Xen2050
  • 8,943