Questions tagged [boot]

These questions refer to the initial starting up of the Raspberry PI.

Filter by
Sorted by
Tagged with
212
votes
12answers
893k 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 "...
54
votes
4answers
42k 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 ...
32
votes
3answers
40k 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 ...
27
votes
5answers
306k 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 -...
3
votes
1answer
5k views

How to make an image file from scratch

I want to make my own image file for a Raspberry Pi so I can copy any usable operating system to it and boot it. This way I'm also able to size down partitions or use other partition sizes. Is it ...
66
votes
1answer
67k 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 ...
13
votes
6answers
16k 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 ...
8
votes
1answer
3k views

Netbooting multiple “workers” RPi from a “master” RPi

My question is, I believe, a little bit complex, and I think it would be better to fully describe what I have and what I want to achieve, with what I am able to do. What I have I have a group of ...
43
votes
2answers
40k 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 ...
22
votes
3answers
30k 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 ...
10
votes
3answers
19k views

How to set up “kiosk” mode in Raspbian?

I want to set up my Raspberry Pi in a sort of "kiosk" mode where it boots up into a single full screen application. I know my way around the command line, but am a novice when it comes to customizing ...
27
votes
8answers
46k 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 ...
46
votes
6answers
20k 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)?
7
votes
5answers
11k 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 ...
4
votes
2answers
943 views

How do I make the OS reset itself every time it boots up?

I'm looking to set up a simple system for public usage, probably with Raspbian. I would like to set it up to be a specific way, and have it stay that way. The goal is for the entire OS to wipe and ...
2
votes
1answer
1k views

Pi 3 model B+ won't boot

I was using this specific Pi for over a month now without any issues. Today, out of the blue, the screen started flickering. I decided to shut it down. When I replugged it, the green led wasn't ...
98
votes
3answers
173k 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 ...
46
votes
3answers
57k 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 ...
49
votes
3answers
78k 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 ...
36
votes
3answers
24k 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.
33
votes
4answers
46k 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? ...
2
votes
2answers
3k views

No methods for running python script on startup are working

I can not get my python file to start on startup. I've tried four different methods (below) and they all work in command line but none of them appear to run on start up. As an example, the file is ~...
3
votes
1answer
911 views

which ubuntu version to install

I have installed ubuntu snappy but I can't find apt-get which is not a problem but I can't find some packages as vim... Which is the best Ubuntu version to install ? What are the pros and cons ?
17
votes
4answers
65k 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=...
11
votes
4answers
16k views

How to keep watchdog timer running during reboot/shutdown

In my research so far I've noticed there are two approaches to activating a watchdog timer on raspberry: using systemd or installing watchdog. It's all explained well here: https://www.raspberrypi.org/...
29
votes
1answer
7k 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 ...
15
votes
4answers
39k 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 ...
20
votes
6answers
54k 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, ...
15
votes
6answers
79k 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 ...
3
votes
2answers
420 views

execute Python file on Systemstart

I want to run a simple python script like: import webbrowser webbrowser.open('http://google.com/', new=2) when the startup progress of my RPI 4 is finished. I tried something like "[How to run a ...
36
votes
3answers
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 /...
74
votes
12answers
274k 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 ...
41
votes
4answers
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?
28
votes
3answers
70k 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 ...
21
votes
4answers
24k 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 /...
10
votes
6answers
29k views

Oops I need runlevel 1

So I have a bug in a script in my init.d directory and bottom line...I can't completely boot the pi. How can I boot into runlevel 1 (single user mode) so I can fix the bug?
5
votes
3answers
44k views

Error on Boot. 'No working init found.'

My Raspberry won't boot anymore. I had some problems, with mostly Mysql crashes in the past. But now it won't boot anymore. The error it gives on boot: Not syncing: No working init found. Try ...
14
votes
5answers
14k 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 ...
6
votes
5answers
35k views

SD Card Showing as 30 MB on a 32 GB Card. Can't Format, Can't create a partition table

A couple of days ago I received a new 32 GB SD card from Sandisk. Upon arrival, I flashed the Retropie 4.1 image for the Pi Zero onto it. I then put the card into my Pi, and plugged it in. Nothing. It ...
4
votes
1answer
633 views

Output fsck on boot to a log file

I'd like to use fsck on every boot of my RPi 3B+ server. To do this I will be using tune2fs -c 1 /dev/mmcblk0p2. When fsck runs I'd like the output to be added to a log file in /home/pi/fsck.log with ...
3
votes
3answers
3k views

How do I run a single line of code (with sudo) on boot up?

I'm creating a server on my RPi that's on a timer, so I want to have a command run at startup to begin the server processes. I've seen this: Execute script on start-up, but it doesn't explain it well ...
1
vote
6answers
11k views

How to move mouse pointer to a specific location on the screen AT BOOT?

I recently downloaded the latest and greatest Raspbian OS for my PI, enabled hide function on taskbar and have installed xdotool. For what I want to use PI for, I need to have the taskbar hidden at ...
1
vote
2answers
10k views

Start python script at startup using SYSTEMD in RPI jessie

Setup: Raspberry Pi 2 Model B V1.1 Raspbian Jessie Version March 2016 Hi I am new in the RPI world, I managed to setup 2 DHT22 temperature sensors connected to GPIOs 22 and 23, 2 analog temperature ...
0
votes
2answers
4k views

Start and run a Python script at boot and use Cron to make sure its still alive

Hopefully someone can tell me if I'm going at this the right way. I have a Python script which I want to launch at boot. That was easy enough by putting a file in /etc/init.d/myBootFile I want to ...
59
votes
6answers
191k 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?
28
votes
2answers
115k 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. ...
29
votes
4answers
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 ...
23
votes
1answer
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 ...
18
votes
1answer
87k 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
1answer
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 ...

1
2 3 4 5