The boot phase broadly refers to the set of operations that a computer system performs between power-on and access to a graphical/textual shell. Do NOT use this tag for Spring Boot or Twitter Bootstrap. Use [spring-boot] and [twitter-bootstrap] instead.
Questions tagged [boot]
1581 questions
98
votes
4 answers
The difference between initrd and initramfs
As far as I know, initrd acts as a block device, thus requiring a filesystem driver (such as ext2). The kernel must have at least one built-in module for detecting filesystem of initrd. In this article, Introducing initramfs, a new model for initial…

Amumu
- 17,924
- 31
- 84
- 131
74
votes
9 answers
BroadcastReceiver not receiving BOOT_COMPLETED
I've looked around here for similiar problems, but for some reason my BroadcastReceiver never ends up receiving the android.intent.action.BOOT_COMPLETED Intent.
Here is my (relative) Android.Manifest File:

apmeyers1987
- 859
- 1
- 7
- 11
68
votes
3 answers
What is the booting process for ARM?
As we know, for X86 architecture: After we press the power button, machine starts to execute code at 0xFFFFFFF0, then it starts to execute code in BIOS in order to do hardware initialization. After BIOS execution, it use bootloader to load the OS…

Fengwei Zhang
- 1,027
- 2
- 10
- 14
65
votes
3 answers
Android emulator - Don't save state by default
In the latest update for Android studio, the emulator has started saving snapshots of the current state of the device by default and going back to that snapshot when reopened, which is not the behavior that I want. How can I disable that and go back…

Patrick Beagan
- 906
- 1
- 7
- 11
51
votes
8 answers
How to start Solr automatically?
At the moment I have to go to /usr/java/apache-solr-1.4.0/example and then do:
java -jar start.jar
How do I get this to start automatically on boot?
I'm on a shared Linux server.

bluedaniel
- 2,079
- 5
- 31
- 49
41
votes
8 answers
Make persistent changes to init.rc
I want to change the init.rc file of an android pad. But after I change it and reboot the system, the original init.rc comes back.
How can I make the change to the init.rc persistently without rebuild the system (since I don't have the source code…

user1278251
- 411
- 1
- 4
- 5
41
votes
18 answers
Run script with rc.local: script works, but not at boot
I have a node.js script which need to start at boot and run under the www-data user. During development I always started the script with:
su www-data -c 'node /var/www/php-jobs/manager.js
I saw exactly what happened, the manager.js works now great.…

Jurian Sluiman
- 13,498
- 3
- 67
- 99
26
votes
1 answer
How do I debug a slow rails app boot time?
Our rails app is nice and fast once it is loaded but the startup is brutally slow. Console, passenger etc all take almost 10 seconds to kick in. Seems to be way more than it should be.
What tools or methods should I use to hone in on the slowest…

chrishomer
- 4,900
- 5
- 38
- 52
25
votes
1 answer
Best way to start Zookeeper automatically on Ubuntu Server 14.04?
I have installed Zookeeper using sudo apt-get install zookeeper on an Ubuntu server 14.04. I am having trouble understanding how to configure Zookeeper to start automatically, on boot. Also, I can manually start it successfully only with root…

user2916547
- 1,963
- 5
- 17
- 21
24
votes
2 answers
Android - Trying to test a service on boot (java.lang.SecurityException: Permission Denial)
I've been trying to test a service when a device boots up on android, but I cannot get it to work.
I'm trying to start it with this command from CMD:
(in ..\AppData\Local\Android\sdk\platform-tools)
adb shell am broadcast -a…

tabache
- 341
- 1
- 2
- 7
23
votes
4 answers
Starting Vagrant VM on host boot
I am new to vagrant and have set up a couple of vagrant vm's which I use for development and testing purposes. My issue is that I cant get these boxes to start up automatically on my machine (Ubuntu). It is really annoying to go to the folder and…

Shrikant Patnaik
- 245
- 1
- 2
- 6
23
votes
5 answers
Duplicating identical BeagleBone Black setups
After having set-up and customized my "master" BeagleBone Black (BBB) with applications etc. on the on-board eMMC, I want to duplicate it on other BBB boards.
What is the best way to duplicate the BBB?
My understanding of options:
SD-Card:…

Philipp
- 4,659
- 9
- 48
- 69
21
votes
2 answers
Getting started in creating simple bootable C program
Could someone guide me on what path/steps to take to create a simple bootable hello world program? I have the basic knowledge of C/C++.
My aim is to create a very simple OS.
I would like as much relevant links to references and samples as possible.

Shawn Mclean
- 56,733
- 95
- 279
- 406
20
votes
5 answers
Is it possible to boot the Linux kernel without creating an initrd image?
As I understand, initrd is a small image that is loadable in the RAM. It is used to boot a complete kernel with all the loadable modules. As part of the process, we need the vmlinuz kernel image which is a renamed version of bzImage.
Is it possible…

Neel
- 9,913
- 16
- 52
- 74
20
votes
4 answers
Android - How to start an application on the /sdcard after boot
Is there a way how to start and android application after a boot automatically if it is on the /sdcard?
Ok, probably by BroadcastReceiver. But which action is the right one?
ACTION_BOOT_COMPLETED - does not work if it is on the /sdcard…

Jan Nemec
- 201
- 2
- 4