Hi there,
For some reason (maybe a boot with a non bootable sd card plugged), I can’t boot any more my laptop.
I get few errors:
[FAILED] Failed to start Early Kernel Boot Message
See 'systemctl status klog.service' for details
...
[FAILED] Failed to start Automounts filesystems on demand
See 'systemctl status autofs.service' for details
...
[FAILED] Failed to start Postfix Mail Transport Agent
See 'systemctl status 'postfix.service' for details
...
[FAILED] Failed to start Local Service.
See 'systemctl status 'systemd-localed.service' for details
and it stop here.
I’d guess all the errors are due to the same reason.
How to fix that?
I found that when I boot with kernel 4.12.14-lp151.28-87-default and wait very long time I get to the CLI.
When I boot with the same kernel in save mode or with previous kernel it’s the same.
I found out the the issue is that the / partition is full, nothing in the log (dmesg) but just at the very begin of the boot, fraction of a second.
This back up my last action; I sudo dd a sd card in a wrong place but deleted the huge file just after. Maybe something didn’t work correctly.
Then I tried to find where is the file with
du -ha | sort -n -r | head -n 5
but it’s not working due to the lack of room in the / partition.
Then I tied with an Opnsuse rescue USB.
df -ah /dev/sda2
20G 20G 0 100% /nmt
Confirmation of the above.
cd ./mnt
du -ha ./var/log | sort -hr | head -n 5
13G ./var/log
6.3G ./var/log/messages
6.2G ./var/log/warn
22M ./var/log/updatTestcase..../94...656-package.xml.gz
Can I delete these 3 files full of log without issue?