You are not logged in.
100% CPU busy.
Do Caps/Num/Scroll lock turn the relevant LEDs on and off on the keyboard?
Try logging on via ssh from another system and running top. When you get the next hang it should show you what was using the CPU.
Try assigning it an IPv4 address manually to get ethernet working. Eg ifconfig eth0 addr 192.168.1.64/24 as root. Replace eth0 with whatever the link is called. And use an address nothing else you have is using.
That would only be a temporary fix, but would enable you to download fixes onto it.
Or post output from /sbin/ifconfig here to give us a bit more to go by.
it had a nonsense error where it said a library that did exist did not exist.
Quoting the full text of the error message would be likely to get you a better response.
What make and model of system is it? CPU, motherboard, manufacturer, etc? Are you booting from a USB drive or a DVD? In either case what model?
Do any messages come out during the boot process?
If you have more than one system does it respond to pings from another system? If so can you log on to it over the network?
Exactly what message came out about the "live-boot" package when booting the minimal install? Can you take a photo of the screen and post it somewhere?
Chris
I had to ask for someone to tell what the 'zcat' tool was for.
The best bit of advice for Linux users is to read the man page for any command you are not sure about. Just typing man zcat would tell you everything you are likely to need to know (although that man page also covers gzip and gunzip so is a bit wordy).
Just get into the habit of reading man pages and you will learn a lot.
Chris
Secure boot is a misnomer, I prefer hazardous boot personally.
Yes, the microsoft loves linux thing is yet another deception that should have been obvious to most people, even linus torvaldo should see through the bs.
Also, yes capitalism is a poison, clarifying to say out of balance. Denialism is also a problem, which seems to prevent people from dealing with issues, including climate change.
I roll my eyes at all the people who think capitalism is awesome and pure and perfect...
No balance, no hope.
Aka, no system by itself works, including capitalism...
The problem here is that microsoft is an effective monopoly. Capitalism works well if you have a choice of product to buy, eg cars. But most people have to buy the OS with most software written for it, and most software is written for the OS with most users. So just because microsoft got there first they won control of the desktop. Ditto Intel nearly control the hardware market, though AMD do provide some competition.
WSL is intended to help them keep control by allowing people who need software only available on Linux to stay on windoze.
Nothing but US government intervention could break microsoft's monopoly (eg by requiring that the source code for any OS be made publicly available). And don't hold your breath waiting for that to happen.
It's a similar story with facebook (most people use it because most of their friends use it). And google etc.
Chris
I thought it being marked immutable would be the most likely explanation.
The easiest way to find out how to fix it would have been to read the man page for lsattr, then the related command chattr that refers to. If someone recommends a command you are not familiar with it's always a good idea to read it's man page first.
Chris
Also check if the filesystem it is in is mounted read-only, Eg mount | grep /mnt/sd8
If all else fails copy everything you want to keep from that filesystem to somewhere safe, then re-format it.
Chris
Check what root's home directory is (ie it's not /home/groucho). Then look in it to see what it has for it's mbox.
Did you ever switch to root via su without a -, then run mail as root? Or do something else that could make root think it's home dir is /home/groucho ?
Chris
I'd try apt-get --simulate autoremove first and see what it said it would remove (or apt --simulate autoremove). Then double-check it wasn't saying it would remove anything current.
Chris
After that, the lkrg module will start running every time a user logs into DE.
What would happen if a user types ctrl-alt-F1 and logged on to a text console? Or logged on from another system via SSH etc? You have to look for ways round any security checks.
Chris
https://gist.github.com/npcardoso/47d8f … wakeups-sh has backticks round grep '\*disabled' /proc/acpi/wakeup | cut -d ' ' -f1 and grep '\*enabled' /proc/acpi/wakeup | cut -d ' ' -f1. Those tell bash to run the command inside the backticks and assign the output from it to TOGGLE.
You could use $(...) instead, it's easier to read if you don't get muddled about what sort of brackets to use.
Chris
I doubt the keyboard really needed to be pressed harder than normal to get it to work. I've had it seem to need it, but eventually found it was an illusion caused by the system running slowly so it *seemed* to ignore keystrokes. Eventually I found pressing key normally always worked if the system was responding at all.
Why /var filling caused the system to respond slowly is more interesting. Do you have any swap files in /var? Were you logged on as root or as a user? If root where would it's home files be? I would expect anything writing to /var to be slow, eg logon writes to /var/log/wtmp. And anything writing to syslog would struggle.
Chris
I'll have to try Ctrl-Alt-F1 if it happens again. I hadn't heard of that hot-key combination. I think it was Ctrl-Alt-Backspace that forces a desktop environment to quit? I didn't think to try that at the time, but will remember it next time along with Ctrl-Alt-F1....
There are a number of text consoles, accessed by ctrl-alt-F1, ctrl-alt-F2, etc. ctrl-alt-F7 should take you back to the GUI if that's working (it might be some other combination such as ctrl-alt-F6 so it's worth testing before you need it in anger).
And did the logs show anything from the last time it happened? Although I've had systems lock up or suddenly reboot with nothing interesting in the logs before the messages from the system coming back up.
Chris
Does ctrl-alt-f1 get you to a console when it's hung?
Does it respond to ping from another system?
Can you log on via ssh from another system and set top running before a hang? Even if that is frozen the last screenful should give you an idea which task(s) were flooding the system.
Chris
Try memtest86 (first single threaded, then multi). If that fails it's not the OS causing it.
Could you put the old CPU back in and see if that still works OK?
Try running watch sensors in another window and see if the system gets too hot under load. If you have another system log on to the faulty one (eg by ssh) and run it. That way you could still see the last screenful of output.
Try other stress tests. If it's stable under CPU load but not graphically intensive ones that might point to the error.
But it's odd the OS needs to be re-installed after a few crashes. What are the symptoms in that state?
Chris
Does dmesg show any interesting messages when the system starts running slowly?
Are there any interesting messages in syslog (check /var/log/auth.log /var/log/daemon.log /var/log/kern.log /var/log/messages and /var/log/syslog)?
Chris
I also dug into /var/log/messages and found log about gnome-flashback get segfault (I am not really sure what it means).
Please post the segfault log entries here (and a few each side of the segfaults).
Chris
If you have a routing problem try sudo route -n on the pi *and* on your other system both when the ethernet cable is plugged in and when it's not. If you can't work out how to fix it after reading the man page for route then post all the output here.
I'm not an expert but I have managed to fix a few routing problems. Although mostly by guesswork.
Chris
@Head_on_a_Stick
nobody@toshiba128:~$ pgrep -a expressvpn && echo 'It's running' || echo 'Not running' >
The command you were given contains an odd number of quotes. Try
pgrep -a expressvpn && echo 'It is running' || echo 'Not running'Chris
Where did you get the installation medium from? And when did you download it? What version of Devuan does it say it is?
Chris
To save typing I'll assume the user account is called fred. Replace it below if that's not true.
The first thing to try is ctrl-alt-F1 to get to a text console, then try logging on as fred. If it fails you may get interesting messages.
If that fails use ctrl-alt-F7 (or ctrl-alt-F6) to get back to the normal GUI, log on as root, open a console and enter su fred. If that works the account should be OK, but the password may not be what you think it should be.
To fix the password enter passwd fred. This should ask you for a new password for fred. Then try logging on as fred.
If that fails post output from grep fred /etc/passwd here.
If all else fails set up another user account from scratch.
Chris
My first step would be to add:
set -xnear the start of the script. This would tell bash to display the dd command as it will be executed after variable substitution. See the man page for bash for details.
Also look at set -n which tells bash to read commands but not execute them. This could be useful to syntax check the script before letting it do anything.
Chris
Does a directory called /var/db exist? If not try sudo mkdir /var/db
NB: I'm only guessing since I don't use DHCP. But the "can't create /var/db/dhclient.leases: No such file or directory" message looks suspicious.
Chris
It runs well enough on the core i5 with 4Gb desktop I'm posting from. So he should be OK (unless being a notebook causes a problem).
Chris