1

I was trying to install MATLAB on my computer, and got a low memory warning. When I tried to restart my computer, it will not load and is stuck on 'Started User Manager for UID 121...'. I attempted to open in recovery mode, but it gives me a mostly blank screen with nonsense along the top whenever I do.

I tried to enter the second terminal using alt+F3, but nothing happened.

df:

Filesystem     1K-blocks      Used Available Use% Mounted on
udev             8138204         0   8138204   0% /dev
tmpfs            1632756      1812   1630944   1% /run
/dev/sdc         2076704   2076704         0 100% /cdrom
/dev/loop0       1982464   1982464         0 100% /rofs
/cow             8163776    490420   7673356   7% /
tmpfs            8163776     71988   8091788   1% /dev/shm
tmpfs               5120         8      5112   1% /run/lock
tmpfs            8163776         0   8163776   0% /sys/fs/cgroup
tmpfs            8163776       512   8163264   1% /tmp
tmpfs            1632752        76   1632676   1% /run/user/999
/dev/loop1         91264     91264         0 100% /snap/core/8268
/dev/loop2         56064     56064         0 100% /snap/core18/1668
/dev/loop3         46080     46080         0 100% /snap/gtk-common-themes/1440
/dev/loop4        164096    164096         0 100% /snap/gnome-3-28-1804/116
/dev/loop5          4352      4352         0 100% /snap/gnome-calculator/544
/dev/loop6         15104     15104         0 100% /snap/gnome-characters/399
/dev/loop7          1024      1024         0 100% /snap/gnome-logs/81
/dev/loop8          3840      3840         0 100% /snap/gnome-system-monitor/127
/dev/sda1      155571552 148032260         0 100% /media/ubuntu/6323ac85-ccdf-4730-baba-1ab81b6b88a0

free -h:

              total        used        free      shared  buff/cache   available
Mem:            15G        1.1G         11G        525M        3.2G         13G  
Swap:           15G          0B         15G

Any advice would be much appreciated.

Edit 2: In order:

total 108492
drwxr-xr-x  3 root root     4096 Mar  3 05:22 .
drwxr-xr-x 24 root root     4096 Feb  3 12:37 ..
-rw-r--r--  1 root root   235811 Dec 18 15:01 config-5.3.0-26-generic
-rw-r--r--  1 root root   235811 Jan 15 18:10 config-5.3.0-28-generic
drwxr-xr-x  5 root root     4096 Mar  3 05:22 grub
-rw-r--r--  1 root root 41379617 Jan 23 14:41 initrd.img-5.3.0-26-generic
-rw-r--r--  1 root root 41380298 Feb  3 12:37 initrd.img-5.3.0-28-generic
-rw-r--r--  1 root root   182704 Jan 28  2016 memtest86+.bin
-rw-r--r--  1 root root   184380 Jan 28  2016 memtest86+.elf
-rw-r--r--  1 root root   184840 Jan 28  2016 memtest86+_multiboot.bin
-rw-------  1 root root  4487587 Dec 18 15:01 System.map-5.3.0-26-generic
-rw-------  1 root root  4487587 Jan 15 18:10 System.map-5.3.0-28-generic
-rw-------  1 root root  9146616 Dec 18 15:20 vmlinuz-5.3.0-26-generic
-rw-------  1 root root  9146616 Jan 15 21:28 vmlinuz-5.3.0-28-generic

total 2204
-rw-r-----   1 root              adm             341522 Mar  5 05:11 apport.log.
1
-rw-rw-r--   1 root              utmp            292292 Jun 27  2019 lastlog
-rw-r-----   1 root              adm             235040 Mar  5 05:21 apport.log
-rw-r-----   1 syslog            adm             218053 Jan 31 15:08 syslog.5.gz
-rw-r-----   1 syslog            adm             186902 Jan 27 18:09 kern.log.3.
gz
-rw-r-----   1 syslog            adm             127811 Jan 19 05:48 kern.log.4.
gz

total 32
drwxrwxrwt  8 root root 4096 Mar  5 13:30 .
drwxr-xr-x 24 root root 4096 Feb  3 12:37 ..
drwx------  2 root root 4096 Mar  5 05:06 cvcd
drwxrwxrwt  2 root root 4096 Mar  5 05:06 .font-unix
drwxrwxrwt  2 root root 4096 Mar  5 05:21 .ICE-unix
drwxrwxrwt  2 root root 4096 Mar  5 05:06 .Test-unix
drwxrwxrwt  2 root root 4096 Mar  5 05:21 .X11-unix
drwxrwxrwt  2 root root 4096 Mar  5 05:06 .XIM-unix

Any help would be greatly appreciated.

Thanks, Andrew

Andrew
  • 13

1 Answers1

1

First check your file system...

  • boot to a Ubuntu Live DVD/USB
  • open a terminal window by pressing Ctrl+Alt+T
    • type df -h and edit this into your question
    • type free -h and edit this into your question
  • type sudo fdisk -l
  • identify the /dev/sdXX device name for your "Linux Filesystem"
  • type sudo fsck -f /dev/sdXX, replacing sdXX with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot

Update #1:

  • boot to your Ubuntu Live DVD/USB

    • sudo fsck -f /dev/sda1 (if you haven't already done this)
  • Let's see if we can guess at some commonly full directories. Edit your question with the output of:

    • ls -al /media/ubuntu/6323ac85-ccdf-4730-baba-1ab81b6b88a0/boot

    • ls -alS /media/ubuntu/6323ac85-ccdf-4730-baba-1ab81b6b88a0/var/log | more (only the first 5-10 lines is fine)

    • ls -alS /media/ubuntu/6323ac85-ccdf-4730-baba-1ab81b6b88a0/tmp | more (only the first 5-10 lines is fine)

  • Use Disk Usage Analyzer to determine where your disk space went.

Update #2:

  • Uninstalling matlab cleared enough space and the disk is able to boot now.
heynnema
  • 73,649