Questions tagged [init]

Init is the initial process that loads on a linux system. If init fails to load, it will result in a kernel failure.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

Ubuntu won't boot: Kernel Panic - Not Syncing Attemptted to kill init

I have Ubuntu 20.04 and windows installed in a dual boot. Suddenly my ubuntu won't boot and shows this error end Kernel Panic - not syncing: Attempted to kill init I've tried several solutions: at ...
0
votes
0answers
33 views

Boot messages in login screen in Ubuntu Server 20.04

I have quite bizarre issue after boot sequence, where boot messages continue on login screen and sometimes prevent from typing in user name. I've reinstalled few times, but issue persists. Is it to ...
1
vote
0answers
150 views

End Kernel Panic - Not Syncing attempted to kill init! (18.04)

On starting Ubuntu, it just showed purple screen for 5 min. so I switched off the laptop. When I started, it showed "Unexpected inconsistency: Run fsck manually" so I did it using fsck /dev/...
0
votes
0answers
108 views

Prevent ubuntu 20.04 update triggering a change in bios boot order

I have a desktop machine with two hard drives. One is an NVMe disk with Windows 10 and the other an SSD with Ubuntu 20.04 installed. I do not have a bootloader installed, nothing like grub or the like,...
3
votes
1answer
958 views

/sbin/init splash high CPU usage

I'm running Ubuntu 20.04 and since a week the fan of my laptop spins constantly. There are also major performance dropouts where the system seems to halt for a few seconds. Now I had the time to take ...
2
votes
1answer
80 views

Init process at 2000% CPU usage

I have a Ubuntu 16.04 LTS machine and recently I found that the init process is at 2000% CPU usage and it would restart with the same cpu usage after killing it. This occurred after I updated my ...
3
votes
1answer
590 views

Ubuntu 20.04: some services fail during boot (files missing)

I have recently updated from 18.04x to 20.04.1 LTS. All seems to work fine, except that couple of services fail during boot. Output of systemctl --failed: ● checkfs.service loaded failed ...
0
votes
0answers
360 views

Hostnamectl WSL2 Error

I'm running Ubuntu 20.04 on WSL2 and I'm trying to change the hostname. Running hostnamectl, I receive the error messages: System has not been booted with systemd as init system (PID 1). Can't ...
2
votes
1answer
79 views

Creating separate scripts to run after separate reboots

I am wanting to run multiple scripts after boot up. When the machine boots up, one script would run and force a reboot. Then, after the reboot, another script would run and then reboot. Need this ...
0
votes
0answers
4k views

Missing modules (cat /proc/modules; ls /dev) and UUID doesn't exist in BusyBox

I'm stuck in the boot and can't open any terminal. When I try to boot my laptop it shows the following error: Gave up waiting for root device. Common problems: -Boot args (cat /proc/cmdline) -Check ...
0
votes
0answers
74 views

How can I dual boot my computer with windows and Ubuntu 16.04 when the computer says “PPM init failed (-110)”?

I know there are more recent versions of Ubuntu but I need 16.04 on my computer to run a specific simulation. I have downloaded 16.04 from the Ubuntu website, created a bootable USB drive, and tried ...
0
votes
2answers
7k views

Failed to activate service 'org.freedesktop.systemd1': timed out

On ubuntu 16.04.6 on trying to mask a systemd service. I am seeing errors like below. systemctl mask hadoop-hdfs-zkfc.service Failed to activate service 'org.freedesktop.systemd1': timed out I am ...
1
vote
2answers
699 views

Failure to boot from Live USB: Kernel Panic

I am unable to boot from a Ubuntu Live USB stick (current version 20.04 LTS) whatever I try. The boot stops right after the "disk check" completed successfully. When booting without the splash screen (...
1
vote
1answer
1k views

Error while installing Ubuntu Server 20.04 (Initramfs unpacking failed: no cpio magic)

I am brand new to Linux so I have no clue what any of the error message means in the slightest. The message I am getting is: [0.424931] Initramfs unpacking failed: no cpio magic [0.984686] Failed to ...
2
votes
1answer
2k views

Boot Error with LVM: No such file or directory

I have installed Xubuntu 20.04 encrypted on an SSD and get the following error on boot time: /tmp/mountroot-fail-hooks.d//scripts/init-premount/lvm2: No such file or directory The boot time is ...
0
votes
1answer
669 views

What will I see after I kill the /sbin/init?

What will happen after I killed /sbin/init (PID:1)? Will the system crash after this?
0
votes
1answer
228 views

Bootprocess of Ubuntu 19.10

I'm trying to figure out, what the system does during its boot procedure. This is how far I came: GRUB (bootloader) → Kernel → systemd (init process) systemd checks default bootlevel/target (where?)...
0
votes
0answers
655 views

nautilus cannot open display

I looked at all the other help, and cannot solve this issue. I am sure it is something small/simple that I am missing - but I just can't see what it is. I VNC to my Ubuntu server, just updated to 18....
0
votes
0answers
59 views

Is it possible to add new runlevel in initd or systemd?

Can I add a new runlevel to initd/systemd? These are the default runlevels in Slackware: 0 = halt 1 = single user mode 2 = unused (but configured the same as runlevel 3) 3 = multiuser mode (default ...
1
vote
1answer
43 views

How do I stop two of almost every process running?

How do I stop two of almost every process running? Each duplicate process has my Username. Gnome seems to be running duplicated. I found it because an error was indicating Failed to start server, ...
0
votes
0answers
50 views

Is there a single init script in Ubuntu 16.04 for the invocation of the booting or separate directories?

If so, where are they located? And can the init script be modified according to the system requirements? I located the /etc/init folder and I wanted to know, since Suse has one init script, does ...
0
votes
2answers
9k views

(gedit:76): Gtk-WARNING

When I type gedit filename.c: Unable to init server: Could not connect: Connection refused (gedit:76): Gtk-WARNING **: 17:57:16.278: cannot open display: This is the error is displayed and those ...
1
vote
1answer
38 views

Initialization texts appear in nano

When I am coding with nano on my ubuntu server, The initialization texts(The ones appear with [ok] before them) appear on the screen. I think I can explain it better with an image: What can I do ...
0
votes
0answers
2k views

Are [kthreadd] and [rcu_gp] commands?

I want to learn from the output from command ps usr@host:~$ ps -ef | head -5 UID PID PPID C STIME TTY TIME CMD root 1 0 0 16:43 ? 00:00:04 /sbin/init splash ...
1
vote
1answer
92 views

Is the terminal named “?” the grandmother of all processes?

When I invoke the gnome-control-center from the search bar The true command which the os runs can be found in ps: me@alpha:~$ ps -ef | grep gnome-control-center me 13952 7293 0 12:20 tty2 ...
2
votes
1answer
1k views

Ubuntu MATE won't boot: “Kernel panic - not syncing” and “error while loading shared libraries”

Nothing was done to prompt this error, simply booting my computer and it gave me an error (which I cannot remember) which was (presumably) fixed by entering fsck -fy /dev/sda2 I then rebooted my ...
1
vote
0answers
631 views

failed to /init - Newbie here does not know how to proceed

I'm using Ubuntu as a roundabout way to get my xbox one hd upgraded. I made all preparations last night, including the booting of Ubuntu in order to run several scripts that would do the job for me. ...
0
votes
1answer
730 views

Ubuntu 16.04 boot as init=/root/init.sh and exec init 3 in shell, but why X11 started?

Ubuntu 16.04.5 default environment. I want to do some custom job before init. grub.cfg as linux /boot/vmlinuz ... ro init=/root/init.sh init.sh: #!/bin/bash # do some task exec init 3 after ...
0
votes
0answers
109 views

Equivalent of `/etc/init/` folder for non admin users?

We have a cluster where I run some simulations. I want automatically sync the results between multiple computers so I decided to use syncthing. I'm trying to follow this tutorial setting up syncthing ...
1
vote
1answer
157 views

How to have the system run a bash script to remap keys after login? [duplicate]

I've got a setup-notebook-keyboard.sh script that I run everytime after logging in because I like my keyboard with the CapsLock -> Esc, CapsLock+Key -> Ctrl+Key setting. I've tried to set this ...
0
votes
1answer
430 views

automatic script

I have an Ethereum node running and mining on a terminal in Linux. I want to create a script that will start up the node.sh roughly 2 minutes after startup. My script is in the home/chainskills/...
1
vote
0answers
104 views

How to control whether the initd script or the systemd unit file is used to start/stop/control the service?

Some packages, like apt-cacher-ng provide both a /etc/init.d/apt-cacher-ng and /lib/systemd/system/apt-cacher-ng.service. That might be a good or bad idea (in comparison to providing an apt-cacher-ng-...
0
votes
0answers
72 views

Unable to start Ubuntu after installing Gedit dependencies

While I was trying to build Gedit on Ubuntu 16.04, I followed the prerequisite dependencies and installed them religiously. I noticed that I lost my terminal color, and the preinstalled gedit theme ...
1
vote
0answers
237 views

How to configure more IPv6 addresses sooner at boot init time?

I have a full /64 of IPv6 addresses allocated to my VPS running Ubuntu Xenial Xerus Server Edition 16.04.4 LTS recently upgraded. I put my configuration of 15 IPv6 addresses (:1 .. :f) in /etc/network/...
2
votes
0answers
889 views

Running a Windows .exe service on Ubuntu (with Mono?) [closed]

I have a service that was coded that I need to move over to linux. Got the code and got it up and running as a .exe on windows to start using installutil. However quite unsure how to get it working ...
8
votes
0answers
27k views

What is the correct way to run a command after boot on ubuntu 18.04? [duplicate]

I need to run a simple batch of commands after the computer boots, something like sudo thing sudo thing1 -p But for the life of me I can't figure out how. I googled and googled and I kept finding the ...
1
vote
1answer
917 views

runlevel is return unknown in teminal

I put in my terminal command: $ runlevel and it return me instead some: init num just: unknown I use Ubuntu 17.10
1
vote
0answers
41 views

init in interruptible sleep state

Just out of curiosity, I tried to send some signals to init with root permissions. At some point I used SIGABRT and then the system just hangup, Currently only the initramfs part is booting and init ...
0
votes
1answer
80 views

Kernel initialisation error

List of errors I updated my kernel to the latest version on my ubuntu 16.04.3 and now after reboot i get these errors. Please solve.
0
votes
1answer
671 views

(terminology) init.d script = LSB Init Script = System V Init script?

I'm having some trouble recognizing the different types of (traditional) system process management tools by name. By "traditional" I mean before the likes of upstart, systemd, launchd etc. which I ...
0
votes
0answers
2k views

Ubuntu unable to start: run-init: /sbin/init: no such file or directory

I have Ubuntu16.04 LTS installed on my system. I upgraded MySQL from 5.5 to 5.6 by following this online documentation. The upgrade process seemed to be successful. But when I tried to execute my PHP ...
0
votes
1answer
58 views

How can I make sure one Upstart service starts before other non-Upstart (System V) service?

Is there a way to run one Upstart service before another non-Upstart service (system V, to be more precise)? Or I must "convert" my Upstart script to a System V script (if it provides such ...
0
votes
0answers
2k views

end kernel panic - not syncing: Attempted to kill init! exit code=0x00007f00

during the update to version 16.04.3 there was a power failure and now, even when I boot from recovery mode, I run into this error (photo 1). I can run Ubuntu from the USB-stick, but I am not offered ...
0
votes
0answers
970 views

It is asking me to install module-init-tools?

Every time I give command sudo apt-get dist-upgrade they are telling me dkms : Depends: module-init-tools but it is not installed
0
votes
3answers
3k views

/etc/rc.d/init.d/wipefs start cpu problem

I have a vps on main server. This vps has many web sites but traffic is normal. Yesterday server cpu usage went up suddenly. I don't know what this line means. What is it and what should I do about ...
-1
votes
2answers
793 views

Any installation of packages fail [duplicate]

root@campaigns:/var/lib/dpkg/info# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 ...
1
vote
0answers
921 views

Launch docker deamon at startup when offline

On a 14.04 LTS, my docker daemon doesn't start at init when internet isn't available. An ifconfig doesn't show any docker0. The only related message I've found is in /var/log/kern.log : IPv6: ...
0
votes
0answers
44 views

How to add a startup option when starting a program through init

If you start a program at the command line like this "vuurmuur --no-check" How do you add that same option when starting it through init?
1
vote
1answer
888 views

init setting error: restore-uuid is wrong

I upgraded my system via command line, apt gave me the error message: init setting RESTORE-UUID=(uid) is wrong drive doesn't exist. init will try to restore from /sda3 the system boots fine and the ...
0
votes
1answer
658 views

How to debug a service that “crashes” Upstart (supervisor, in this case)

I running Ubuntu 14.04. I have several services configured to run on boot, one of which is supervisor. I boot into runlevel 2, so all of the services in /etc/rc2.d/ should be started at boot. /etc/...

1
2 3 4 5