Linked Questions

21
votes
2answers
14k views

Temporarily disable expand filesystem during first boot

I'd like to build an in-house Raspberry Pi image based on Raspbian Lite which is already configured with the correct locale, timezone, etc. Unfortunately for me, current releases of Raspbian images ...
19
votes
4answers
144k views

Raspbian root default password

I tried to modify the sudoers file on Raspbian /etc/sudoers, and it looks like I made a mistake, as I'm unable to modify it again. I am also unable to call any command that requires sudo permissions. ...
19
votes
4answers
5k views

Creating a pre-prepared SD card image

For a project I'm working on I'd like to create a "stock" image based on Raspbian that I can install on many Pis. Ideally I'd like to be able to (on my computer) take the Raspbian image, apt-get ...
18
votes
6answers
27k views

Can I use Fedora on the Pi 2?

I know Fedora has ARMv7 images. Can those be used on the Raspberry Pi 2, and if so, how?
18
votes
4answers
22k views

Build custom Raspbian OS image from source

UPDATE: This answer was given a long time ago. It will not build Raspbian Jessie - it will build whatever the Raspberry Pi Foundation's latest released image is based on. At time of writing, this is ...
9
votes
4answers
32k views

Can I view/copy the contents of an img file from Windows?

I have a backup .img file of an old Raspbian installation that I used to have running as a webserver. I'm unable to get the Raspberry Pi to boot from it any more, I think due to running out of space ...
8
votes
4answers
11k views

Reverse the expand root FS

When installing Raspbian, the first thing you're told to do is to expand the file system to stretch across the whole SD card. Works great. But what if I want to save space when doing a disk image. Can ...
7
votes
4answers
9k views

Pi 3 Raspbian "stretch" (testing) disables wifi

I have a raspberry pi 3 (which has internal WiFi), running raspbian. I decided to run it as "testing", by changing the apt list. Now, I can't use WiFi. Whenever I use wpa_supplicant, it complains ...
5
votes
4answers
10k views

RPi won't boot after editing fstab

My Pi was working until I followed this tutorial on how to auto-mount a specific drive on RPi boot. I added the following to the fstab file: UUID="123091823" /media/pi/"Orange Passport" auto ...
5
votes
4answers
893 views

dd for image backup

My SD card corrupted itself but I have a back up image. The partition table leave 1GB unallocated space at the end so that I can restore to any 8GB memory card regardless of memory fluctuations. ...
4
votes
2answers
7k views

Can you use a micro SD card from raspberry pi B+ on the raspberry pi 2 model B?

Can you use a micro SD card from raspberry pi B+ on the raspberry pi 2 model B?
4
votes
1answer
1k views

Change Raspi distribution without removing the micro-SD?

I would like to install Archlinux on my RaspberryPi2, but right now it is only accessible through SSH. It is running the standard Raspbian distro, and I was wondering if it was possible to hot-...
4
votes
2answers
2k views

How to remaster TinyCoreLinux for Raspberry Pi aka piCore Linux?

The TinyCoreLinux project for the Raspberry Pi is called piCore Linux and suits my requirements very well. So I want to use it. Therefore I need to "remaster" the image file and add further files. ...
3
votes
3answers
4k views

Is rPi3 binary compatible with rPi2?

I've been running Mythbuntu on rPi2 for some time. I bought a couple of rPi3s in an effort to improve performance a bit. However, when I put the SD card from my rPi2 into the rPi3 the boot just shows ...
3
votes
2answers
183 views

Fast reinstall of rPi with desired dependencies

I do a lot of experimentation on my rPi and I frequently want to wipe the OS and start clean. However, there are a number of things that I want installed/ configured no matter what I'm doing on the pi....
3
votes
1answer
44 views

Include File With Raspbian Setup

I am working on a project which requires many raspberry pi's to be set up pretty much the same way. In order to set up the pi's we put NOOBS on the micro SD card and then install raspbian onto the pi. ...
2
votes
1answer
1k views

Kernel panics on Raspberry Pi 3 after update/upgrade cycle [closed]

I bought 2x Raspberry Pi 3s and 3x Kingston SD cards. I downloaded the latest version of Raspbian, and did an update/upgrade cycle. After rebooting, I get a kernel panic: Everything works great and ...
2
votes
2answers
3k views

Keyboard and mouse stopped responding in GUI after apt-get upgrade

We have a Raspberry Pi 2 Model B using Raspbian installed from/on NOOBS card. The GUI desktop was fully functional for several days. While trying to get Python picamera module to work, decided to do:...
2
votes
1answer
684 views

Restore of Raspberry Backup

I tried this backup script described in another question "A working script from the Raspberry Community made by a member there", it runs with "pv" and "dd", but I was not able to properly restore it ...
2
votes
2answers
2k views

How can I resize a Raspberry Pi Linux distro image?

I'm experimenting with mounting the Raspbian .img and adding code/files and then repacking. The purpose of this is to be able to create custom distros for projects (rather than making clones of the SD ...
2
votes
3answers
494 views

How to create duplicate images, but change a couple of files

I'm in the process of creating around 20-40 rPi's with the same software running on them. Everything about the software running on the different Pi's are identical, except for two things: The ...
2
votes
2answers
524 views

RaspPi 3 does not boot (no ACT LED); trying to re-flash SD card, it shows up as '127 MB unknown'

So I'm coming back to my Raspberry Pi 3 after it was unwired for a week. Although I correctly shut it down and all, it doesn't boot. The power LED is steady red, but the ACT LED doesn't do anything. ...
2
votes
1answer
123 views

Combine aspects of two disk images of two OS files

I am just learning. I have installed email, bluetooth and several other items on my RaspberryPi. Now I have purchased a 5" screen to use and the drivers are on a separate img file provided by the ...
2
votes
1answer
26k views

How can I mount or otherwise read the raspbian image on Windows? [duplicate]

Same as this question, but for Windows. I have already unsuccessfully tried to open the raspbian debian wheezy image with 7-Zip and Ext2explore. Next I'm going to install an Ubuntu Linux on ...
1
vote
3answers
111 views

RaspberryPi turns on but wont start

So I come home and the power strip in which I left the RaspberryPi has tripped and it was off. I restart it, but I notice that the RaspberryPi wasn't giving any output when I plugged the monitor in. I ...
1
vote
2answers
869 views

How to make 3.5" Resistive Touch Screen Usable

I just got this touchscreen that you attach to the gpio. It comes with a special image for the Rpi 2 under a red link called "Materials for the latest raspberry pi 2". In that zip is an *.img file. ...
1
vote
3answers
653 views

how to ensure that burned sd card image will work

When we burn SD card with any Os image, we have to go to Pi and run it there to ensure it works. So is there any other way to ensure or check that the installed image on the SD card is burned ...
1
vote
2answers
708 views

Preconfigure Raspbian with packages installed

I found several guides to adjust the Wifi-Passwords prior to the first boot but I need to install certain packages (with apt-get) on the first boot (or even package them into the image) and some ...
1
vote
1answer
48 views

Is it possible to upgrade Raspian without running it on a Pi?

I would like to use my Linux host to update and upgrade a Raspian image. Can this be done? I know you can mount the image and make permanent changes, see e.g. https://raspberrypi.stackexchange.com/a/...
1
vote
1answer
28 views

Where can I find a copy of the original config settings, I want to compare what I have vs what was?

I have been trying a lot of different things out on my Pi. Some of the Expansion cards asked me to put # in front of certain lines.
1
vote
2answers
196 views

Raspberry Pi 2 Crashes, ACT light blinking

after a while of my headless Pi being on it usually crashes so that I then have to psychically unplug power. I have noticed that after a crash, red light is gone but the green LED ACT is blinking at a ...
1
vote
1answer
177 views

migrate a PI-2 bootable sd card to be PI-3 bootable

I have an SD-card (with pi-topDashboard a raspian-version with drivers and tools for the Pi-Top-laptop) that boots just fine in a PI-2 model B, but fails to boot on the newer PI-3 model B. Instead of ...
1
vote
1answer
2k views

Ubuntu MATE image wont run

Ubuntu MATE pi image wont run. I want it to run on a pi 2, but the green light just stays lit. I also tried the imaged sd card on a pi B+ (just to test) and the green blinks 7 times. I imaged the ...
1
vote
0answers
1k views

SD card not accessible since writing image with dd

I've first installed Raspbian via NOOBS (just placed the files on the SD Card using windows), which worked fine and Raspbian was start- and usable. Afterwards I wanted to set an static IP by changing ...
0
votes
1answer
55 views

how do i add a .img file to my sd card that has the OS?

I jusr got a 3.5" lcd touch screen. I have an .img file from the manufacturer. How can I add this onto an existing SD? Can I just install it through a command line?
0
votes
3answers
464 views

New raspberry pi 3 issue with trying to boot of fresh raspbian image

I'm trying to get my new raspberry pi 3 to boot with raspbian but i'm having issues. Currently I have the latest version of raspbian on a SD card and when I plug in the pi I ultimately get the ...
0
votes
1answer
483 views

How can I read files from my LibreELEC formatted SD card?

I've installed LibreELEC 9.2.1 on my Raspberry Pi 4's SD card. For technical reasons, I need to remove the card from the Pi and read a log file using my laptop. I've tried mounting the SD card from ...
0
votes
2answers
274 views

How do you install software directly into a SD image?

So I'm using this SD Card image for my raspberry pi downloaded from Ubiquity Robotics. It has ROS preinstalled and runs Ubuntu OS. The problem is I'm missing a few dependencies missing and because of ...
0
votes
2answers
698 views

Installing new OS over ssh

I currently have OpenELEC insalled on my PI and I want to install retropie instead. I do not have a micro sd adapter or reader on my computer. Is it possible for me to install the new operating system ...
0
votes
1answer
7k views

How do I enable SSH on raspbian stretch (2018-04-18) by default on boot without a monitor

Background: I setup my wireless without a screen by mounting my distribution image(2018-04-18-raspbian-stretch-lite.img) according to the instructions on these links. mounting distribution image ...
0
votes
1answer
8k views

Booting to LXDE instead of Raspbian desktop

I'm very new to using a raspberry pi. Recently I purchased one (a raspberry pi 3) and I was playing around with it. All of the sudden when I turn it on, it takes me to LXDE login screen instead of the ...
0
votes
1answer
2k views

Unable to install an SD card with usb-creator-gtk, unetbootin and dd

I'm trying to install an SD card with the jessie image for my Raspberry Pi 3 that will work in remote (without screen). The card is formated in FAT32 with gparted (I use Xubuntu). My problem is that ...
0
votes
0answers
125 views

change pi password on img before first boot, ssh [duplicate]

I want to be able to change the default pi:raspberry credentials on the image before first boot of a PiZero WH over the internet (phone hotspot, no home network). The default is a weak spot. I want to ...
0
votes
1answer
9k views

Ubuntu Mate 16.04 on Raspberry Pi 3 B+

I would like to get Ubuntu Mate 16.04 on the Raspberry Pi 3 B+. According to this thread this should be possible. Here is the summary on how they achieved it: Copy the following files from Raspbian ...
0
votes
2answers
1k views

Move a raspberry disk image from sd card to .img file with only linux and boot partitions. Not the empty space! [duplicate]

Do you know how I could easily and portably (ie: work in windows and mac) take a raspbian disk image from an sd card and create an image that I could send to my colleague via dropbox? I need just the ...
-1
votes
1answer
308 views

How to export a Linux instance from VirtualBox to a plain text filesystem?

For example, Raspberry Pi images can be "burned" to an SD card from an image file that contains a simple plain-text file tree that is the Raspbian (a Debian sub-flavor) filesystem (e.g., as discussed ...
-1
votes
1answer
79 views

How can I find these files?

I am roughly following this tutorial and have created a kernel.img. It says: Do you still have the SD card with the original Raspbian image on it from when you where testing the hardware above? ...
-3
votes
1answer
390 views

Can't mount raspberry after I've burn raspbian [closed]

Given: So, I have an 8 GB sd card. TODO: Get raspbian Solution: First I delete the partition: Command (m for help): d Selected partition 1 Partition 1 has been deleted. After i've created a new ...
-4
votes
1answer
1k views

Firmware modules not available in Raspbian os

I am working on a project. I have Raspbian installed on my Raspberry Pi. When I do sudo lsmod I have no output. I cannot use lirc and i2c module as this require firmware modules. I have to submit the ...