Questions tagged [boot]
These questions refer to the initial starting up of the Raspberry PI.
1,629
questions
225
votes
12
answers
931k
views
Execute script on start-up
I am trying to execute a script when my Raspberry Pi boots up. I would like the web browser to open up automatically.
I have tried to find a simple solution, (like dropping my script in some "...
103
votes
3
answers
182k
views
Boot without starting X-server
During the installation of Raspian I chose "Start X-Server after boot", but now I want to boot it once without starting the X-Server, so I've got more memory to run a program.
How do I boot without ...
77
votes
13
answers
288k
views
How do I turn on my Raspberry Pi after shutdown?
My Raspberry Pi runs OpenELEC. The XBMC has a Power-button in the left-bottom corner where I can shutdown the Raspberry Pi. That works fine, but I can't figure out how to turn it on again after the ...
76
votes
1
answer
74k
views
How does Raspberry Pi boot?
I have a raspberry mini computer and I am wondering how that thing does whole the boot process. I can compile my own kernel and init ramdisk with my own scripts and build my own minimal linux system ...
63
votes
9
answers
206k
views
What password to use to log in after the first boot?
The first time I boot up my Raspberry Pi I get a login screen.
What username and password should I use? That is, what is the default password for Raspberry Pi?
58
votes
4
answers
45k
views
Emulation on a Linux PC
How can I connect an SD card containing a Raspberry Pi OS to my Linux PC, and boot the OS in an emulator?
Why won't VMWare work?
What are the limitations of this method?
Related: Emulation on a ...
51
votes
2
answers
81k
views
How to add custom loading screen?
I would like to make Raspberry PI useful for TV purpose or so... Therefore I would like to show to end user loading image before entering the X-Windows and starting customized desktop...
So instead ...
48
votes
6
answers
21k
views
Boot from USB hard disk?
Is there a way to boot from an external hard drive connected to the device through the USB port (as opposed to booting from the SD card)?
47
votes
4
answers
58k
views
Boot from external USB stick / drive?
I know it's not possible to directly boot from an external USB stick / drive, but instead you have to boot from the SD card and then the external device can take over. What's the easiest and preferred ...
46
votes
2
answers
50k
views
What is the boot sequence?
I am wondering what the boot sequence of the Raspberry Pi is in a typical setup (say NOOBS), from power application (or warm reset if that's different) up to, say, the apparition of the logo; or where ...
45
votes
2
answers
262k
views
How to set my Raspberry Pi to boot into the GUI?
As from my previous question, I asked what the power off button in the corner does. Then somebody said if you boot into the GUI automatically, it will give you some options.
How do I boot into the ...
42
votes
4
answers
15k
views
Is it possible to dual boot from the SD card?
Say I wished to have Debian Squeeze and Arch Linux ARM on my SD card. Would it be possible to dual boot from Grub?
39
votes
3
answers
25k
views
What is the power on state of the GPIOs?
What is the state of the GPIOs when power is applied? eg High, Low, Hi-Z?
Also does any OS change the state of any GPIOs when it loads? Hopefully not.
38
votes
2
answers
158k
views
Open chromium full screen on start up
I would like to set up a couple of Raspberry Pis to open automatically chromium or any other browser available to at start-up, and in full screen mode.
I was wondering if any of you can help me. ...
37
votes
3
answers
15k
views
Level of Hackability of raspberry pi
I have been working with embedded systems (mostly micro controllers) for about 3 years. I want to know how much of RPi of actually open source?? I know arduino gives us complete details of hardware /...
34
votes
3
answers
43k
views
Running Headless - checking boot screen messages
It's fairly easy now to run headless from scratch with a Raspberry Pi.
One area that might have an issue though is debugging issues with devices that have been added to the Raspberry Pi. Often you ...
34
votes
4
answers
49k
views
How do I load a module at boot time?
As stated in Why is my Audio (Sound) Output not working?, to initialise the sound driver, you must run sudo modprobe snd_bcm2835 every time you want to output sound.
How do I get this to run on boot? ...
32
votes
6
answers
34k
views
What is a typical boot time for the standard Debian distribution on a typical SD card?
How long does the RasPi take to boot when using the standard Debian distribution on a typical SD card? Are we talking less than a second? A couple of seconds? 10 seconds? 100 seconds?
This isn't too ...
32
votes
3
answers
80k
views
Remove boot messages (all text) in Jessie
I have a custom python app that I wanted to have started automatically on the RPi with the official touch screen.
This used to work fine without a sleuth of boot messages appearing until the latest ...
30
votes
4
answers
9k
views
Is there anything I can do to improve boot speed?
I love my Pi, but it takes a considerable time to boot. If I want to use it as a Media Centre, it's quite important that it powers up quickly.
Are there any steps I can take to improve boot ...
29
votes
2
answers
37k
views
How do I encrypt my Raspberry?
The Raspberry is all well and nice and can run pretty quick. But how can I protect my SD card from offline data attacks. SSH can be protected with a good password or a SSH key but if somebody gets ...
29
votes
1
answer
8k
views
What happens during the boot process?
What happens during the boot process after the Raspberry PI is turned on? I know that it differs from the standard Linux boot process ( no complex boot manager like Lilo/Grub ), I also know that the ...
28
votes
4
answers
29k
views
Unable to reconfigure locale in raspberry pi
When I boot pi it it throws the following warnings:
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
->...
27
votes
5
answers
335k
views
Run bash script on startup
I know this question has been asked before, but I can't find a fix for my problem, I just can't get my script to run on startup. Here's my script:
#!/bin/bash
iptables -A INPUT -m state --state NEW -...
27
votes
8
answers
50k
views
How to improve boot time for Raspberry Pi?
I'm creating an embeddable remote application that won't be permanently switched on. I've been playing around with different OS distributions and can reduce the time to boot substantially by using ...
27
votes
1
answer
24k
views
How do I configure the Raspberry Pi to boot with an NFS root?
How can I make my Raspberry Pi use an NFS server for the root filesystem, instead of the SD card?
I'd like to be able to set up my Raspberry Pi to have its root file system on a remote machine via ...
23
votes
4
answers
85k
views
Raspberry Pi 3 and Raspbian Jessie - How to run fsck at boot?
How to run fsck at boot when using Pi 3 and Raspberry Jessie? I have read some tutorial but they differ.
I have run sudo touch /forcefsck but what else I have to do? I know that I should set FSCKFIX=...
23
votes
1
answer
4k
views
Raspberry Pi Zero usable with fully free software?
In the Free Software Foundation's May 2013 review of single board computers, the Raspberry Pi was found to have fatal flaws for use in a free (libre) software environment:
The Raspberry Pi requires ...
22
votes
3
answers
34k
views
Why are some GPIO pins HIGH when the Raspberry Pi boots up?
I have an easy circuit wired up, with an LED connected to pin 18 on the BOARD reference. I run a simple program to put pin 18 to HIGH, which turns the LED on, and then a couple of seconds later, I set ...
22
votes
8
answers
108k
views
Raspbian graphical login screen stuck! Can't login!
I'm seeing the login screen every time my pi boots up. At first it didn't need any password but after 3-4 boots, pi asks for a password. When I write the password displays the same screen again. I don'...
21
votes
4
answers
26k
views
Easiest way to return to a known good state when overclocking
If I try to overclock my Pi, I want to go up to the point where the Pi won't boot anymore, or won't be stable enough. At this point, I want to come back to the latest known good settings for the /...
21
votes
6
answers
68k
views
Green LED blinks 4 times, did I brick my Pi?
Out of nowhere my pi stopped booting. The red led lights up, they a long flash of the green led and then a cycle of 4 green blinks. HDMI screen shows nothing. I tried this with two different SD cards, ...
18
votes
1
answer
90k
views
How to auto start chromium after boot on the Raspberry 2 (2015-01-31 debian wheezy)?
I tried this tutorial on the latest debian wheezy (2015-01-31)
http://www.lukebrowning.com/hardware/raspberry-pi/touch-screen-chromium-kiosk-on-the-raspberry-pi/
but its not working anymore...
(If I ...
18
votes
6
answers
26k
views
Use /boot/cmdline.txt for creating first-boot script
Many questions have been asked about how to find my Pi on my network. Others - including myself - have time consuming issues while trying to deploy a batch of fresh Pi's.
While the creation of ...
18
votes
1
answer
6k
views
Is there a way to alter the raspberry image that appears during boot?
A glint-box community member recently asked me if there was a way to replace the raspberry image that appears in the top-left corner of the screen during boot to something more NES-centric, such as a ...
17
votes
3
answers
29k
views
How to Run pigpiod on boot
In order to use pigpio Module in Python (remote GPIO for Raspberry Pi ), pigpiod has to be loaded to memory on each RPi.
what is the right way to to it ? during Ubuntu's boot or a part of Python's ...
17
votes
6
answers
101k
views
How to install Raspbian without an SD card reader
I'm new to the Raspberry Pi platform and I just bought one! I downloaded Raspbian from the download location and then realized that I don't have a card reader to install the ISO. How can I install it ...
17
votes
1
answer
40k
views
Keep HDMI off on boot
I have a battery-powered RPi Zero W that is going to be hooked into a mobile laser projector. This is an experiential setup, so I need to be able to turn it off and on between uses.
My goal here is ...
16
votes
3
answers
21k
views
CEC wake up command
When I boot my Raspberry my TV gets woken up over CEC.
Is there a way to send the wake up signal using shell so I could use cronjob to start my TV every morning at 7, for example?
16
votes
2
answers
10k
views
Running Headless - How do I create a boot sound?
I am running RPi headless and would like it to play a sound (like when a Mac boots) so I know it is booting and how far it got. I can play music/wav files now, What is the best way to have something ...
16
votes
4
answers
15k
views
Raspberry Pi fails to turn on
I have a problem with my Raspberry Pi. When I plug in the power, the device fails to power on. The POWER LED turns on, but nothing else happens. My display still says No signal, the OK LED does not ...
15
votes
4
answers
44k
views
Where is the script for raspi-config stored in the FS on Raspbian?
While the raspi-config script makes for convenient setup on first boot, one of the reasons I have a Raspberry Pi is to help me learn what goes on behind the menu on my computers.
I would like to see ...
15
votes
4
answers
10k
views
How do I improve Raspberry Pi Boot Up Time?
I am creating a home appliance which uses as Raspberry Pi internally to handle the user interface and necessary WiFi connection. Connected to the R-Pi I have an AdaFruit LCD screen:
and a USB Wifi ...
15
votes
5
answers
18k
views
Enable num-lock at boot Raspberry Pi
I am trying to toggle num-lock on my Raspberry Pi 2 running Raspbian jessie, I need it to run during the initial CLI boot up (before <hostname> login: or startx), I have tried numlockx and setleds ...
15
votes
4
answers
41k
views
Won't boot after removing and inserting the SD Card?
I've installed Arch Linux on my SD Card with Win32DiskImager. If I shut down the RPi, remove the card, insert it, and start the RPi again, everything works fine. But if I do full system update in ...
15
votes
1
answer
28k
views
Auto-start X-windows / gdm on the standard Debian build
I've built a bootable SD from the official Debian release.
Is there an easy way to get GDM to auto-start when the machine boots (like a typical Linux desktop)?
For bonus points, is there a way to ...
15
votes
3
answers
4k
views
Rebooting the system
I've noticed that rebooting my RPi doesn't work. It just halts and doesn't come back up.
To get it back I have to disconnect and reconnect the power.
I'm rebooting using the simple command $ sudo ...
15
votes
2
answers
1k
views
What's the quickest way to start playing a movie after attaching power?
I want my Raspberry Pi to start looping a predefined .mp4 movie (/home/oliver/awesome.mp4) as soon as possible after attaching power to the device.
This has to happen without any user interaction and ...
14
votes
5
answers
22k
views
How can I use an init ramdisk (initramfs) on boot up Raspberry Pi?
I need to load driver on early stage booting. For development I use LVM (logical volume manager) so I can easily revert test setups to the default image from a snapshot. For this I have to load the ...
14
votes
1
answer
11k
views
Run Raspbian in RAM
Since the first version of Raspberry Pi, I use a customized version of Raspbian in order to mount the rootfs in read-only. Basically I created symlinks in RAM for /var directories so applications don'...