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
6 views

.xinitrc file missing in my ubuntu and I made it but not working

I need to execute xmodmap .Xmodmap when starting linux, I made .xinitrc file on my own and added it in .xinitrc and after reboot it doesn't work so I manually execute xmodmap .Xmodmap after rebooting ...
0
votes
0answers
25 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
17 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
1answer
78 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
58 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
0answers
92 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 ...
1
vote
1answer
476 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
56 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
0answers
26 views

Why use iptables-persistent?

What is the advantage of iptables-persistent over an init script? I checked the output of iptables-save, and there were a couple gorillion lines, from docker and others. What trouble might I run into ...
0
votes
0answers
74 views

place `xmodmap ~/.Xmodmap` in ~/.xinitrc not work

Tried to place xmodmap ~/.Xmodmap in order that can be read at startup, in ~/.xinitrc , but has no effect at all $ cat ~/.Xmodmap keycode 90 = Tab NoSymbol Tab keycode 104 = KP_Insert NoSymbol ...
0
votes
1answer
176 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
277 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
44 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 = ...
1
vote
1answer
33 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
123 views

sudo reboot issue

so I am a complete newbie. I am trying to use sudo reboot and it comes up with the error. My Ubuntu in the Windows app, where it's just the terminal. System has not been booted with systemd as init ...
0
votes
0answers
110 views

Ubuntu 18.04 won't start on a dual-boot system: “No init found. Try passing init=bootarg.”

Ubuntu has been having issues lately on my computer. When I start it, I get an error message ending inNo init found. Try passing init=bootarg. This has become slightly common since I installed ...
0
votes
0answers
70 views

Can't get my init script to run

So I made a teamspeak3 server on linux, and manually I can start it using this script I got from this(german) website. I also read this raspi.SE asnwer, which basically says the same thing. I even ...
0
votes
0answers
40 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
0answers
675 views

update-initramfs failing when trying to install init from chroot

For a bit of a backstory, my laptop came with Windows 10(I don't use this now), to which I added another partition for Ubuntu 14. Then another for Ubuntu 16. Then I bought an SSD which now has another ...
0
votes
1answer
6k 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
36 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
966 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
77 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
897 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
250 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
570 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
98 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
119 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
337 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
78 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
71 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
205 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
613 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
25k 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 ...
1
vote
1answer
673 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
34 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
59 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
501 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
1k 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
57 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
876 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
637 views

Any installation of packages fail

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
810 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
39 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
757 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
462 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/...
3
votes
1answer
2k views

Writing systemd script

I have a process that I need to run at startup. It is something that needs to stay running the entire time that the machine is on. As of now I am just typing the following into bash everything I start ...
1
vote
1answer
9k views

Ubuntu won't boot: run-init: /sbin/init: Permission denied and /bin/sh: 0: Can't open splash

Last night everything was fine with my Ubuntu 16.04. Today I tried to turn it on and it simply won't boot, throwing these errors: run-init: /sbin/init: Permission denied Target filesystem doesn't ...

1
2 3 4 5