the startup sequence, from the time the kernel goes live to when all services are up and running

learn more… | top users | synonyms

-1
votes
0answers
24 views

Linuxrescue — **RESCUE**] : Edit /mnt/grub/grub.conf and boot normally? [on hold]

It turns out when my Linux starts in "RESCUE MODE", as in: [linuxrescue -- **RESCUE**]# It probably starts in a 32 bit environment rather than a 64 bit environment and thus. When I do these. ...
0
votes
2answers
42 views

How to edit /etc/sysconfig/iptables from: RESCUE MODE boot?

Let's say the /etc/sysconfig/iptables needs to be edited because, due to it I can not ssh to my server. I start my server in "Rescue Mode", but when I login, there is no such thing as ...
1
vote
0answers
7 views

Startup script with LSB headers not working correctly (dependency problem)?

I am creating a startup script for my Ubuntu 14.04.1 LTS server. The script need to be run after the Rabbit MQ server. The Rabbit MQ startup script says it provides "rabbitmq-server". So I put this ...
2
votes
1answer
34 views

Execute root command after a user starts their session

I'm trying to find how is possible to execute a root command when a user starts their session. I found that adding commands to thes file /etc/rc.local should execute the commands after the boot, but ...
1
vote
3answers
53 views

Unable to delete files as a root user using RS232 serial cross cable

I have a device(CCTV decoder) which was rebooting itself, so cant login using LAN cable. It has RS232 port only, no VGA and keybord/USB port(Embeded PC). I connected RS232 cross cable and used ...
4
votes
2answers
52 views

Trigger an init script when a specific device is up and a kernel module has been loaded

On my ubuntu 12.04 servers, I need to write an init.d script that waits until the infiniband interface (device: mlx4_0, interface: ib0) is completely up, and until the knem kernel module is loaded. ...
1
vote
1answer
9 views

Can't get out of foreground mode in STunnel

I was trying to debug an STunnel installation on my Raspberry Pi (using Raspbian) and so I set the foreground mode to yes (which is something suggested in the official documentation). Unfortunately, ...
2
votes
1answer
40 views

Solved - Solaris 10 - Is it possible to reboot a system from a startup script?

I have a Solaris 10 test guest logical domain (LDom). I plan to have the network on this be reconfigured before rebooting using a startup script in /etc/rc0.d. At the moment, when the system boots, ...
1
vote
1answer
88 views

Internet connection being lost after about 10 seconds

Okay so I have looked at this post Network connection drops after a few seconds, Which looks similar to the problem I am having but I have only just got Linux and can't work out what to do. Before I ...
0
votes
2answers
26 views

Autostart a GUI application in Debian as root

I would like to know which is the most correct way to make my Debian automatically start up a graphical application once the desktop has been loaded. The app must be started as root.
3
votes
0answers
32 views

Stop init.d from running, and go to terminal prompt

I'm running Rasbian (Debian?) on my Raspberry Pi, and have allot of auto-starting things in init.d. But what if I want to stop them all from running, and simply break into a terminal prompt? I've ...
2
votes
0answers
41 views

Scripts cannot run simultaneously on startup

I want two scripts (Server_drive, Server_video_boot) running on startup, but there is conflict between them. Specifically, there is always running the script with the lower priority. I tried with many ...
1
vote
1answer
90 views

Programmatically creating .desktop file to autostart application

Using a Java program, I added a .desktop file in /etc/xdg/autostart to run a script when a user logs in. The script didn't run at user login, and when I checked the start up applications dialog ...
3
votes
4answers
103 views

Mount filesystems after boot to avoid fsck delay for sshd

I'm trying to optimise the overall downtime and improve availability in case of system failure. I'm specifically concerned about the reboot (e.g. after a kernel panic) taking so long that I don't ...
4
votes
1answer
50 views

Send an email right before the password prompt of ecryptfs during bootup

I'm setting up a home server which has full disk encryption enabled. In order to recover from a power failure the machine automatically reboots. I'm also able to unlock the disk remotely using ssh ...
1
vote
1answer
69 views

How can i start a wine application at startup without login?

I want to start a wine application when system startup. However this app need a Xwindow environment. I could only launch it manually by hand now, so I have to login first then start the app. I have ...
0
votes
1answer
54 views

Removing Gnome GUI and Booting From CLI

I'm running an ARM version of Ubuntu provided by Linaro. I'm not 100% sure on current version as I'm re-installing using the manufacturing tools (I want to say its Linaro 11.10). However, I was ...
3
votes
2answers
126 views

How do I start a screen session using an upstart job with a non privileged user?

I have struggled with this problem for two days and have tried many things to fix it to no avail. I'm hoping you guys can help me out. I am trying to create an Upstart job that starts a new screen ...
0
votes
0answers
31 views

How to run OpenVPN automatically?

How can I run OpenVPN automatically when I startup my Debian 7? Is there a specific script? What is necessary for this happen?
2
votes
2answers
280 views

Arch Linux run script a minute after boot

I have set up a bridge between eth0 and wlan0 with netctl. It works fine if I tell it to configure eth0 and wlan0 at startup and then for me to manually start the bridge after it boots. If I tell the ...
1
vote
1answer
50 views

What priority should I give to a script running on startup?

I 'm running Angstrom distribution on an embedded device. I want to make use of its GPIO expansion ports, that are set to be high on start-up. Below, is the code segment, that releases an expansion ...
5
votes
2answers
105 views

What is causing a pause during the system device probe?

I am running FreeBSD 10.0-RELEASE. During the boot device probe there is a two-times 30 second pause. The output relevant to this is # dmesg ... (aprobe0:ata0:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 ...
1
vote
1answer
31 views

How can I start an application at start up as a different user?

I am trying to start an application in Linux at start up with a different user (like alpha). I want it to run it in the background and it has to be started with with parameters. One is a file system ...
0
votes
1answer
40 views

init.d script won't send graphical data

I have a client sever java program. The client's work is to capture the screen and send data to server. An additional function it does is opens the website given from server and send some text to ...
0
votes
0answers
51 views

Specific Jar file doesn't run on startup

I want to run a jar at startup, so I asked a question here. I was given a few suggestions, so I started from trying to create a script file and desktop file. I created a script file and desktop file ...
1
vote
2answers
100 views

Dropbox insists on autostarting - Fedora 20

I'm trying to get Dropbox not to autostart. The manual shows a command line option that should do the trick but it doesn't seem to work here (dropbox autostart n). Running dropbox autostart issues a ...
0
votes
2answers
48 views

Add poweroff to startup script

Yes, as the title says I want to add poweroff to startup script /etc/rc.local (Ubuntu). It sounds odd or silly, the reason is I want to tease my friend for few minutes. I didn't tried it up to now. ...
6
votes
3answers
83 views

What are the minimum root filesystem applications that are required to fully boot linux?

It's a question about user space applications, but hear me out! 3 'applications', so to speak, are required to boot a funcitonal distro of Linux: Bootloader - For embedded typically that's U-Boot, ...
1
vote
2answers
135 views

Run jar on startup in all *nix based systems

I have a jar file which I need to run at startup in all distros of Linux. My previous question here, gave me an idea a rough idea on X-servers. Since I wasn't able to perform startup, I moved on to ...
0
votes
2answers
50 views

systemctl start depending on tty

I would like to start Apache automatically on my machine, but only if I login from TTY1 (I do not run a display manager). If I log in from any other TTY, it should not start. I tried this in my ...
0
votes
1answer
24 views

Is it possible to save in a log everything the system outputs when I turn it on?

I am using a BeagleBone Black without any screen. It works fine, but sometimes when I turn it on it hangs and have to reset. I do not know why this is happening and since I cannot see whatever it is ...
0
votes
1answer
42 views

Sending signal to user that a partricular driver is loaded

These are some of the messages coming on console from Microzed board (Cortex A9): [Sat May 17 18:18:26.603 2014] DMA: preallocated 256 KiB pool for atomic coherent allocations [Sat May 17 ...
0
votes
0answers
142 views

Where to check battery state and set CPU governor/performance level during boot?

My laptop supports setting a "performance level" (normal, overclock or silent) that influences the CPU clock rate and fan speed beyond the usual CPU governor setting. The level is set to "normal" by ...
1
vote
1answer
119 views

Run jar file on startup as root without password

I developed a jar file I would like to run in all *nix platforms. I want to run the jar file on every restart with the root privileges without prompting any password. I googled for the solution but it ...
3
votes
1answer
207 views

How do I start a virtual machine in background upon OSX system start?

I have a virtualbox machine on a OSX 10.9.2 host. I do not want to open VirtualBox everytime and start the machine there. Also, I do not need the the screen output as I will just ssh from OSX terminal ...
2
votes
1answer
127 views

Automatically run rfkill unblock on startup

I'm running Elementary OS on an old(er) HP Pavilion dm1. Unfortunately, on startup my wireless is hard disabled, and I need to run sudo rfkill unblock all to get it up and running. Works fine once I ...
2
votes
2answers
59 views

What environment and credential is used by startup, background and service processes

Startup scripts (on boot) Processes running in (or sent to) the background (when using SSH -fN for example) Services etc... What $path variable will they be using? What credentials? Anything else I ...
1
vote
1answer
44 views

Boot loop after upgrade from FreeBSD 7.3-RELEASE to 8.3 using freebsd-update

I upgraded my 7.3 FreeBSD box using the following instructions from the FreeBSD website: 2.2 Upgrading Using “FreeBSD Update” The freebsd-update(8) utility supports binary upgrades of i386 ...
3
votes
1answer
150 views

When would you use pivot_root over switch_root?

I'm wanting to understand the Linux init process better in order to netboot a system over ceph rather than nfs. In the process I've come across two forms of switching root. One called switch_root, ...
5
votes
1answer
1k views

Disable atd (and other unnecessary startup processes) in Ubuntu?

I just spun up a new 12.04 server and have been having a bit of trouble getting the atd daemon to stop auto-launching. There's been a bit of changing around on the management of startup processes, ...
1
vote
1answer
67 views

How to say which process slows down boot (bootchart)

So my computer boots up for 150s and I can clearly see that it does nothing between 40-105s. Can You help me determine which process is responsible for this waste of time?
2
votes
3answers
214 views

How to run scripts on headless startup?

How can I run a shell script when my Raspberry Pi starts up headless? I don't want it to be dependent on booting into a console, or logging in, etc. It will literally be plugged into Ethernet and ...
1
vote
1answer
50 views

Shell script fails to run on startup

I want an executable program to run on startup. For this reason, I created a shell script: /etc/init.d/server. Then I run chmod +x name_of_script and update-rc.d server defaults. server (script): ...
2
votes
1answer
125 views

how to correctly delay the execution of a startup script based on a tested condition?

I need to start a service (namely ntp) only when true Internet connectivity is in place (not only a link up). I seem to have noticed that some startup scripts delay themselves when a condition is not ...
3
votes
1answer
59 views

how to write a startup dependency on Internet availability?

Some of the services on my Raspberry Pi (~ Debian) depend on the availability of Internet (especially ntpd, for cryptic reasons). Specifically, the availability of a network device or a link being up ...
1
vote
1answer
608 views

Make a “java -jar file.jar” run at startup

Hello I am running a kubuntu 13.10 distro, but I guess my question is pretty general...how to make a .jar execute in background at system start?
2
votes
1answer
97 views

Check `fsck` automatically

I need to run fsck so that it automatically fixes problems (i.e., fsck -y). And because I am using "systemd" instead of "init" in the linux system, I cannot modify the /etc/default/rcS. So what ...
4
votes
4answers
249 views

Why do I need initramfs ?

I found that if I choose jffs or sd as file system(and not initramfs),the kernel size is very small (1.4 MB as compared to with initramfs-3.4MB). It shows that initramfs takes concidreably large ...
2
votes
1answer
114 views

Alsa not detecting USB microphone on system boot

I have a USB microphone that works fine, up until I reboot my system. After that, it doesn't work at all until I unplug it and replug it. Based on my (limited) understanding of the components ...
3
votes
1answer
100 views

Installing software the first time a system boots after CentOS installation

I have a custom text based CentOS 6.4 installation that installs the OS, then after the first boot I have a custom rc.local file that installs custom applications and prepares the system for our ...