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
1 answer
115 views

initrd.img contains unnecessary modules after distro upgrade to 22.04

I have several Ubuntu systems running in VirtualBox VMs. They have a long history; started from 16.04 and have been upgraded successively for new LTS releases - but not necessarily all at the same ...
sunrider's user avatar
1 vote
0 answers
89 views

Error when I want to enter Ubuntu 22.04 LTS

I installed Ubuntu 22.04 LTS on my Dell Inspiron 13 7000 2-in-1 two months ago and last Friday I tried to enter Ubuntu but got an unexpected error Last time I used it there was no problem. I tried ...
Catalina's user avatar
3 votes
0 answers
6k views

"no working init" at installation

I have a problem when I try to install Ubuntu 22.04 Desktop. I have a Dell Inspiron 5558. The pendrive is noname, but usable, I installed another OS with it already (as a try after I couldn't Ubuntu), ...
rkoppany's user avatar
0 votes
1 answer
1k views

End kernel panic -not syncing : Attempted to kill init! Ubuntu 20.04

I want to restart my computer. It is dual boot Windows 10 and Ubuntu 20.04. When I am on Ubuntu I want to restart my computer and it shows this picture what should I do? I can't type anything.
Negin's user avatar
  • 1
1 vote
0 answers
2k views

End Kernel Panic not syncing: Attempted to kill init! exitcode=0x00000100 - Ubuntu 22.04

So, after my laptop froze when rebooting on a new installation of Ubuntu 22.04 (dual boot with W11), every time I need to boot I end up with this message (cannot attach picture of the output for ...
Noowada's user avatar
  • 13
1 vote
0 answers
478 views

Error message here end Kernel Panic - not syncing: attempted to kill init! exitcode=0x00007f00

My OS crashed while I was using normally the navigator and a text editor, so I've decided to force the shutdown manually, when the screen turned on and is loading the OS it appeared that busybox ...
theEarlyRiser's user avatar
1 vote
1 answer
3k views

Error while running Spotify, libva error; init failed [closed]

I'm getting this error while running Spotify: libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed How to fix it?
jorge's user avatar
  • 19
0 votes
0 answers
43 views

I was told not to use apt-get install in a setup.sh script [duplicate]

What should I be using? Are there any standard formats/design patterns for setup.sh scripts?
Jamalan's user avatar
  • 111
1 vote
0 answers
61 views

Debian rules files determine init

I want to modify the gdm3 package. I need a ifeq condition in the rules file, which should check whether systemd is installed. If systemd is the init system, then different build options are used. I ...
Count_Omega's user avatar
0 votes
0 answers
2k views

Reboot error: Failed to talk to init daemon

I am new to Linux. I am trying to reboot my Ubuntu 18.04.6. However, I'm getting this message: $ sudo reboot System has not been booted with systemd as init system (PID 1). Can't operate. Failed to ...
Caroll's user avatar
  • 1
1 vote
3 answers
779 views

stalling Ubuntu 18.04.6

I'm trying to install Ubuntu-18.04.6-live-server-amd64 on a virtual machine via Hyper-v & it's not installing. Gives me the error "/init: line 7:can't open /dev/sr0: No medium found" But ...
Matheus Mumbala's user avatar
0 votes
1 answer
1k views

how to enable start/stop/restart for a newly added service in Ubuntu

I have created a service which does some database connection and does some query. I want to know if I want to enable "service xyzservice start" or "service xyzservice stop" or ...
DheerajK's user avatar
0 votes
0 answers
215 views

Parallel starting of services at the time of boot

I am having a bit slow boot because of many services. Services listed below (Output for sudo ls -l /etc/rc$(sudo runlevel| awk '{print $2}').d): lrwxrwxrwx 1 root root 18 Mar 21 2020 K01whoopsie ->...
Techno world's user avatar
1 vote
0 answers
439 views

Unable to boot with newer kernel: no working init found

Ubuntu does not boot with kernel 5.11.0-18-generic: if I just boot as usual, I get just a blank screen (with motherboard logo, if there was no grub menu), if I remove options quite splash or boot in ...
anton-tsyganenko's user avatar
1 vote
1 answer
1k 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 ...
Rooper K's user avatar
1 vote
0 answers
517 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/...
Chrisbgd's user avatar
5 votes
1 answer
9k 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 ...
FWL's user avatar
  • 71
3 votes
1 answer
405 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 ...
Barely_'s user avatar
  • 41
3 votes
1 answer
3k 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 ...
Maciek Talaska's user avatar
2 votes
1 answer
371 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 ...
noobuntu's user avatar
5 votes
2 answers
60k 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 ...
tuk's user avatar
  • 231
1 vote
2 answers
4k 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 (...
Marco's user avatar
  • 21
2 votes
2 answers
3k 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 ...
RabidWabbit's user avatar
2 votes
1 answer
3k 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 ...
JJ Abrams's user avatar
  • 275
1 vote
2 answers
3k 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?
Emoji's user avatar
  • 577
0 votes
1 answer
268 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?)...
DarkTrick's user avatar
  • 467
0 votes
0 answers
2k 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....
Kyle Souza's user avatar
0 votes
0 answers
119 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 ...
Abdelaali RoOx's user avatar
2 votes
1 answer
161 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, ...
ticotexas's user avatar
  • 719
0 votes
2 answers
14k 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 ...
Manish Kumar's user avatar
1 vote
1 answer
43 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 ...
Stel Team's user avatar
2 votes
0 answers
6k 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 ...
Wizard's user avatar
  • 2,891
1 vote
1 answer
123 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 ...
Alice's user avatar
  • 1,700
2 votes
1 answer
2k 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 ...
Retsek's user avatar
  • 145
1 vote
0 answers
1k 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. ...
gherna1's user avatar
  • 11
0 votes
1 answer
2k 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 ...
Bin Zhou's user avatar
0 votes
0 answers
187 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 ...
Foad's user avatar
  • 873
1 vote
1 answer
312 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 ...
Breno Salgado's user avatar
0 votes
1 answer
510 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/...
namz.5659's user avatar
1 vote
0 answers
122 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-...
Kalle Richter's user avatar
0 votes
0 answers
86 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 ...
Future Gadget's user avatar
1 vote
0 answers
298 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/...
Skaperen's user avatar
  • 435
2 votes
0 answers
1k 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 ...
Lain's user avatar
  • 121
9 votes
0 answers
28k 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 ...
Askerman's user avatar
  • 826
2 votes
1 answer
2k 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
Denis Rohlinsky's user avatar
0 votes
1 answer
111 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.
Chintan Mehta's user avatar
0 votes
1 answer
1k 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 ...
Sridhar Sarnobat's user avatar
0 votes
0 answers
3k 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 ...
prerna saini's user avatar
0 votes
1 answer
71 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 ...
Kiril Kirov's user avatar
0 votes
0 answers
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 ...
Michael Scheitz's user avatar

1
2 3 4 5 6