Questions tagged [boot]

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

Filter by
Sorted by
Tagged with
186
votes
12answers
731k 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 "...
47
votes
4answers
35k 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 ...
30
votes
3answers
35k 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 ...
57
votes
1answer
59k 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 ...
12
votes
4answers
136k 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 -...
1
vote
1answer
3k 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 ...
10
votes
3answers
17k 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 ...
34
votes
1answer
29k 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 ...
27
votes
8answers
42k 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 ...
44
votes
6answers
19k 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)?
6
votes
1answer
2k 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 ...
44
votes
3answers
55k 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 ...
18
votes
3answers
24k 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 ...
91
votes
3answers
156k 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 ...
48
votes
3answers
73k 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 ...
32
votes
4answers
41k 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? ...
5
votes
3answers
2k 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 ...
3
votes
2answers
477 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 ...
3
votes
1answer
885 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 ?
35
votes
2answers
20k 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.
27
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 ...
35
votes
3answers
13k 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 /...
68
votes
12answers
246k 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 ...
24
votes
3answers
51k 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 ...
11
votes
4answers
41k 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=...
20
votes
4answers
21k 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 /...
9
votes
4answers
8k 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 ...
4
votes
4answers
31k 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 ...
12
votes
5answers
55k 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
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 ...
3
votes
2answers
10k 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 ...
13
votes
4answers
8k 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 ...
1
vote
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 ~...
1
vote
2answers
9k 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 ...
49
votes
6answers
124k 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?
41
votes
4answers
14k 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?
8
votes
3answers
10k 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
4answers
8k 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 ...
17
votes
1answer
73k 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
5k 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 ...
15
votes
4answers
34k 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 ...
9
votes
6answers
26k 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?
8
votes
3answers
27k views

Hide Complete Boot Message from RPI booting

I am trying to remove boot messages from RPi and want to display a splash screen instead. I succeeded to show a splash screen and removed some boot messages, but it still shows some messages in the ...
5
votes
3answers
3k views

Auto-Execute a program on power up

So, I put my Pi on a custom quadcopter. I have a program that will track an object with a cam and send out pulse widths to control my motors. Anyway, right now I have to ssh into my Pi to run my ...
15
votes
4answers
8k 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 ...
10
votes
2answers
4k views

How can I lower my boot time more?

After removing most of the services that I don't need, it still takes about 28 seconds to boot, take a picture and shut down. I would like to lower this even more, and I did a systemd-analyze blame ...
6
votes
1answer
6k views

kernel panic not syncing: VFS unknown-block 179,6 after cloning SD

I have set up my Raspbian and need to clone the SD Card to about 20 other Raspberry Pis now. I used the following command (on OS X) to clone the SD Card: sudo dd if=/dev/rdisk3 of=~/Desktop/pi.img ...
12
votes
1answer
27k 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 ...