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.
258
questions
1
vote
0
answers
36
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 ...
0
votes
0
answers
45
views
how to force an USB reset when rebooting?
on 2 of my NUCs (10i7FNH) operated by Ubuntu 22.04.1 workstation USB peripherals don't seem to be reset properly when a reboot / shutdown -r is used to reboot the system.
poweroff or shutdown -P ...
0
votes
0
answers
2k
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), ...
0
votes
0
answers
288
views
boot fail run-init can't execute /sbin/init ubuntu
I have an Ubuntu 20.04 LTS server on a Raspberry Pi 4 4GB. I have working on something minor task via SSH. The system is froze. After I pluged out and in the PSU, the system doesn't boot. Here is the ...
0
votes
0
answers
232
views
Using repo with ubuntu 20.04 error:garbage at the end of loose object
first of all I could not install repo with install repo command so Installed via these commands:
mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-...
0
votes
1
answer
844
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.
1
vote
0
answers
1k
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 ...
1
vote
0
answers
394
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 ...
1
vote
1
answer
2k
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?
0
votes
0
answers
38
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?
1
vote
0
answers
57
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 ...
0
votes
0
answers
1k
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 ...
1
vote
3
answers
597
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 ...
0
votes
1
answer
629
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 ...
0
votes
0
answers
161
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 ->...
1
vote
0
answers
395
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 ...
1
vote
1
answer
898
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
0
answers
470
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/...
5
votes
1
answer
6k
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 ...
3
votes
1
answer
324
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
1
answer
2k
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 ...
2
votes
1
answer
261
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 ...
5
votes
2
answers
43k
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
2
answers
3k
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 (...
2
votes
2
answers
2k
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
1
answer
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 ...
1
vote
2
answers
2k
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
1
answer
260
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
0
answers
1k
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
0
answers
107
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 ...
2
votes
1
answer
123
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
0
answers
57
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
2
answers
13k
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
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 ...
2
votes
0
answers
5k
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
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 ...
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 ...
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. ...
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 ...
0
votes
0
answers
147
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
1
answer
274
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
1
answer
494
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
0
answers
119
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
0
answers
85
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
0
answers
274
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
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 ...
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 ...
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
1
vote
0
answers
61
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
1
answer
99
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.