the startup sequence, from the time the kernel goes live to when all services are up and running
0
votes
0answers
6 views
How to back up and restore(linux mint) all softwares and files from C drive when windows 7 boots but stops at black screen
I have Windows7(32 bit) and Linux mint 16(64 bit) dual boot computer. Windows 7 boots but stops at the black screen. But I can boot normally from mint and can access windows7 files through mint . Now ...
1
vote
1answer
6 views
Error about agpgart during startup on Fedora 20?
I have started to notice a strange error quickly flash across my screen every time I boot my laptop running Fedora 20. I'm not sure what it means or how it may be affecting my system, but I figured ...
0
votes
0answers
17 views
Trying to run script on startup - on ZORIN OS… no success [closed]
I am using ZORIN OS (ubuntu 13.x). I have tried every suggestion commonly told by ubuntu forums to make some script of mine run on startup. I have tried the following :
crontab -e and it created a ...
1
vote
1answer
24 views
Linux - How to open a console and display command results on startup?
I have a Linux server with a screen always displaying the end of a very usefull file.
How could I automatically enter a shell and display the end of this file when the server starts?
I'd like to do ...
5
votes
1answer
43 views
How is /etc/fstab accessed before root is mounted?
I was making some changes to /etc/fstab, when this chicken and egg question occurred to me - if /etc/fstab contains the instructions for mounting the file systems, including the root partition, then ...
1
vote
3answers
38 views
Detect process if not found then run it
I am running several process at startup using "crontab -e"
@reboot tranmission-daemon && python defualt.py && python MonitorService.py
But for some reason, those service can ...
4
votes
3answers
120 views
How do services in Debian work, and how can I manage them?
In Windows I have the services manager, where I see all system services, that can be started through Windows itself, I set up the user it uses, the rights management is in there, and I can pass ...
0
votes
1answer
57 views
Run a php file as service?
I created a .sh file and it is email.sh
In this email.sh file I have these lines
#!/bin/sh
php /home/username/public_html/Worker.php
Now, I want to make that email.sh as a startup service in the ...
0
votes
0answers
39 views
Startup display issue in fedora 19
I have a lenovo z585 laptop with AMD A8 processor and ATI Radeon 7640G Graphics. Initially when I installed fedora 19 the laptop got heated up very fast. So i installed the akmod-catalyst drivers for ...
5
votes
1answer
89 views
rc.local with read will not echo key strokes
I'm using CentOS 6.4 and have a small problem with using read in /etc/rc.local file. It will allow keyboard entry but does not echo any of the key strokes during input. This is something that worked ...
0
votes
1answer
34 views
How do I prevent Xorg from loading one-time?
My current Xorg configuration is freezing the machine (and text based terminals don't seem to work). Is there a way (e.g. holding down a hot-key) I can prevent the loading of X at boot time?
I cannot ...
1
vote
2answers
26 views
How do I load modules at startup in a certain order?
I have a group of modules that I need to be loaded at startup. I've followed the documentation for loading a module however I need load these modules in a certain order.
I've tried creating a bash ...
0
votes
0answers
41 views
CentOS VPS not starting after installing zPanel
I've had some trouble earlier installing zPanel, but then I was told that I've been using the wrong package, I was supposed to use the 32-bit version, but kept trying with 64-bit. After figuring that, ...
1
vote
1answer
53 views
service to start on boot doesn't work with update-rc.d comand
I have installed redis server on my ubuntu based server, so I can start/stop/restart redis server, the redis_server.sh is already in the /etc/init.d.
Now I want to make redis start on boot, I ...
1
vote
1answer
20 views
Upstart: launching something only once
Fact: If you use start on <event> for a job, your job might be run every time <event> occurs.
The upstart cookbook mentions two methods to run a job only once.
The first is logical to me, ...
0
votes
0answers
34 views
What is the difference between 'No' and 'Continue' on interactive startup?
I have a problem that Centos is hanging on a custom process at startup. I tried running interactive startup to sidestep it and allow the machine to boot up.
I selected no for the process but it is ...
2
votes
4answers
57 views
Is it possible to trace Linux source from initial bootup to desktop-GUI userland code?
I am wondering if, since Linux is 100% open-source, it is possible to follow line-by-line instructions of Linux to observe how the OS works entirely, so that one may get a better knowledge of how OSes ...
0
votes
0answers
144 views
Cannot start Free radius service on Centos
I installed free radius server via yum successfully, ut now cannot start radiusd service. when I run as root user and exec the following radiusd -X command the error is below.
Any ideas on how to fix ...
1
vote
0answers
68 views
How to speed up or get rid boot with network manager on systemd?
Network manager is the one thing that holds my system boot time from becaming really barelly existing. I'm connecting to wi-fi.
My boot chain indicates what's wrong with network manager:
...
2
votes
0answers
18 views
Find out if system startup was initiated by rtc alarm
How can I know if a system startup was initiated by an rtc alarm event in linux? I am writing some scripts that handle sleeping/shutdown of my htpc. I want the machine to sleep after recording has ...
1
vote
0answers
22 views
Can't reliably create a directory on startup after ec2 instance mounts its ephemeral drives
This particular instance type mounts two ephemeral drives, in /dev/ and /mnt/. I have to create working directories for one of my services in these paths at startup or the services won't launch. ...
0
votes
1answer
33 views
Why env variable are not visible while starting a service
I am wondering why during service start up environment variables are not visible. To be more precise: I created service startup scrip according to LSB spec which starts some java process. For this ...
0
votes
1answer
70 views
Periodically sync local folders using rsync (no symlinks!)
I am using Dropbox to have an online backup of some data. However I want to encrypt my data before uploading it to Dropbox. Therefore I have created a TrueCrypt container and I am using rsync to ...
3
votes
1answer
324 views
i3wm : start applications on specific workspaces when i3 starts
How can I start applications on specific workspaces in i3 when it starts?
Why is this not working in my config file? :
workspace 1; exec firefox; workspace 2; exec chromium; workspace 1
4
votes
1answer
104 views
Mac OS X Darwin: how to reset admin password?
Today I bought an ibook G4 from a garage sale. The people who sold it to me didn't know the password for the 2 accounts on it. Apparently it was the guys late father's laptop. Any suggestions on how ...
-1
votes
1answer
59 views
can i run a java software on startup
Hi I´m a total beginner when it comes to Linux but here goes,
I have a raspberry pi with raspien installed. When I start my PI I would like to run the following steps after the operating system is ...
2
votes
3answers
29 views
Advantages of using distribution-specific configuration files over generic start-up scripts?
For example in case of Debian, one can specify network configuration in distribution-specific configuration file /etc/network/interfaces or one could use generic Sys-V scripts where network ...
0
votes
2answers
51 views
While Linux is rebooting which directory is used to search for the executable system binaries?
While Linux is rebooting which sbin directory is used to execute the system binaries.
As per my knowledge it used to load the binaries in the directory sbin directory . But in my system I find so ...
1
vote
1answer
45 views
Run a command when system starts for any users [duplicate]
How can my system run a command every time that it is started?
Is there any script that the system runs when it is starting?
I'm using CentOS 6.2.
1
vote
2answers
48 views
Begin root process at boot?
I'd like to start a background process as root when my Linux install boots. Can I just add it to a directory or a configuration file?
1
vote
1answer
109 views
Startscript: using $! to create pidfile - returning wrong pid (off by one) occasionally
We have 3 instances of redis running on a test server.
For some reason, our start script which starts redis can write the wrong pid to a file. Here is what it's doing:
su redis -c "redis-server ...
2
votes
2answers
104 views
Execute user script as root in startup applications
I just created a script (logscreenlock) to log lock/unlock screen events (derived from this post):
#! /bin/bash
dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver'" | ( while ...
0
votes
1answer
34 views
LinuxMint 14 x64 halts during startup at: stopping samba auto-reload integration
My Lenovo Y500 intel i7 nvidia gt 560m LinuxMint 14 x64 halts during startup at:
stopping samba auto-reload integration
No error shown. No login prompt.
I accidentally executed this in the wrong ...
2
votes
2answers
222 views
What is the sequence loading linux kernel module on startup? How priority is set to them?
I have a Linux kernel module which I compiled dynamically. How is it added to startup? There are lot of .ko files in /lib/modules. How is priority set for loading these modules?
2
votes
1answer
579 views
Resetting password in Linux Mint when disk is encrypted
I have a system (VM, actually) with Linux Mint 15 on it. The disk is encrypted, but I remember that password -- just not the password for my account. I've tried changing the command in GRUB from ro ...
2
votes
1answer
156 views
How to shut down Linux if idle for 30+ minutes?
We define "idle" based on how screen savers in Linux define it.
I found this tool called "xautolock".
I tested it like this:
/usr/X11R6/bin/xautolock -time 1 -locker "notify-send test"
I placed ...
2
votes
2answers
78 views
How to associate a script at boot time to a specific run level?
I am trying to understand how run levels work. I understand the meaning of the 7 run levels and I understand that they were usually configured by /etc/inittab, which used to call /etc/init.d/rc, which ...
0
votes
0answers
39 views
How to change layout as soon as a USB keyboard is attached automatically
I have a USB keyboard set, I attach it to my computer to use it with another language layout.
The USB keyboad will type (e.g.) Russain. While the other (main) keyboard set will type English.
To set ...
1
vote
1answer
235 views
How to write a pre-mount startup script?
I want to create a bootup script that runs before the root filesystem / has been mounted as I want to use dm-cache to cache it. The script is supposed to contain cache setup commands.
Where would I ...
2
votes
1answer
43 views
Persistent script to check if my webserver work with low budget vps?
I have a low budget vps and they constantly change a lot and my webserver is often unable to reach. Is there a shell script that is persistent and can check my webserver is running and if not make it ...
1
vote
2answers
106 views
Booting into shell instead of graphical interface [duplicate]
I have a laptop with lubuntu. It's great but I wish LXDE was optional instead of autostarting.
So my question is, what can I do to make it boot directly into a text only mode, not loading anything ...
2
votes
1answer
1k views
Disabling graphical login in Debian wheezy
I have installed Debian wheezy on my machine with a netinst image, now I would like to deactivate the desktop and boot straight to the command line, not only that but I would like to not waste any ...
7
votes
1answer
107 views
Boot into a chroot?
I have Linux (Debian Jessie) installed on a hard drive. Drive - sda1, ext4fs, and sda2 - swap
I have a /chroot folder. There is installed another system, in /chroot folder.
Question:
How to tell ...
1
vote
1answer
90 views
Finding log file of ntp daemon in Ubuntu 10.04 LTS
My Ubuntu is set to run ntp before dovecot at startup. (See my earlier question: The rc0.d,rc1.d,... directories in /etc in Ubuntu 10.04 LTS)
However, I suspect that dovecot may have finished ...
1
vote
2answers
582 views
Starting Qt Application On Startup for Embedded Linux
I'm trying to launch get a Qt application to launch after immediately after booting up. When booted, the Linux image does nothing more than launch an X server and a terminal. It also has the cron ...
1
vote
2answers
37 views
Running script on system start as given user
I have a small script on a dev/staging server that runs services inside tmux. The script just creates a few sessions with a few windows each in which various services are running.
How can I make ...
1
vote
1answer
230 views
adding a program on start-up by using LSBInitScripts
I use Debian Lenny (I know lenny is old and other bla bla) and would like to place a program on the start-up. I use update-rc.d by adding an executable file on /etc/init.d. By referring to ...
2
votes
2answers
2k views
Run a sudo (or startup) python script from cron on a Raspberry Pi?
I'm helping out with an art project (http://stargateeggbeater.com/ for those interested) built on Raspberry Pi. The RPi controls an addressable LED strip through the GPIO, using the spidev device per ...
1
vote
1answer
70 views
Segmentation fault when executing a command in rc.local
I'm trying to execute xbindkeys -f /etc/xbindkeysrc command on the start up. I've put this in my rc.local including another command :
#!/bin/bash
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
...
3
votes
2answers
881 views
Run script on start up after everything else
OK, so there's a service (nagios) running on a Debian box that runs just fine, except for one very specific issue that only occurs after the box has been re-started. The issue is easily fixed by ...