Hot answers tagged

122

This no longer works since ssh is not enabled. Using only the laptop's screen and keyboard (both before and after installation), install and configuration for headless operation using SSH is possible using NOOBS (they call it "silent install"). It does not require a separate screen or keyboard/mouse. It does require an SD card reader on the laptop (built in ...


32

Please note there is a clear distinction between errors, based on the numbers at the end and I won't go into much details as they can be easily discovered online if required. These fixes assume that you have all the needed connections working (power, SD card, HDMI, wired keyboard, mouse) and are using Raspbian along with NOOBS. The details for error ending ...


17

To install either NOOBS or Raspberry Pi OS (previously called Raspbian) you need access to a computer with a SD Card writer; NOOBS installation requires more steps and is slower than installing Raspberry Pi OS and wastes SD Card space for the installer. Downloads has links to the latest versions of both NOOBS and Raspberry Pi OS and installation ...


16

I connected it to the other HDMI port and the image appeared, it was actually booting but showing the rainbow through that port.


11

There is no requirement to use the tool provided by the SD Association. Formatting the card in Windows using the Windows formatter may also work. However, there is a strong recommendation to use the tool. At least for SD, SDHC and/or SDXC cards. Different OSes and different formatting tools may have varying ideas about how to format an SD-card, many of ...


9

The short answer is, make sure you download the offline install version of NOOBS, then edit the file recovery.cmdline and add silentinstall on the end of the first line. That will auto install raspbian, and reboot into the desktop when finished.


9

For a headless setup, SSH can be enabled by placing a file named ssh, without any extension, onto the boot partition of the SD card. When the Pi boots, it looks for the ssh file. If it is found, SSH is enabled, and the file is deleted. The content of the file does not matter: it could contain text, or nothing at all.


8

For doing so, login to your raspberry py with putty or another SSH client. Now you have to change one value in the noobs.conf. To be able to access this config file you have to do some stepps: Make directory to mount mkdir /tmp/noobs mount noobs partition sudo mount /dev/mmcblk0p3 tmp/noobs look which os is on which partition cat /tmp/noobs/...


8

Simply rewrite the SD card with a fresh copy of NOOBS or Raspbian and it will be back to brand new!


8

Yes it is a NOOBS install. In addition to updating the OS image you also have to update the kernel and firmware used by noobs. Otherwise your system will not boot on the new hardware. I haven't tested this for the pi3 yet but I think you need to download the latest noobs lite and copy the files "bootcode.bin", "recovery.elf", "recovery.img" and "recovery7....


7

I'm guessing it's because it isn't online -- Raspbian is the only one that's actually installed on the card, the others require network access to download, so if there isn't any such access, there isn't those options. The easiest way to ensure network access is to plug in an ethernet cable.


7

If you just want Raspbian don't bother with Noobs. Download Rasbian Stretch with Desktop https://www.raspberrypi.org/downloads/raspbian/ Flash Raspbian (no need to unzip) to sd card using Etcher https://etcher.io Place sd card in Pi and boot


6

You could do this if you have a Linux computer, but it is far from straightforward. I suggest you backup your data and do a fresh install of Raspbian. If you have data you want to preserve you could follow the suggestions in:- https://raspberrypi.stackexchange.com/a/5492/8697


6

run sudo raspi-config in terminal and select item 3 to change boot item


6

This file is not password protected (I just verified by downloading from here and extracting). Also, there is no mention of a password anywhere and nobody with a similar problem on the internet (at least at a cursory glance). The most likely cause is a corrupt or interrupted download. If you are curious and want to narrow down the problem before re-...


6

To deal with the core of the problem (not a workaround), if you can't boot (or you have no "NOOBS"), you need to: remove the SD card from your Pi and put it in a card reader in your linux computer. if automatically mounted, umount both partitions. Check the correct device name with fdisk -l and mount -l. In my example, it is mounted as /dev/sdb1 and /dev/...


6

Good question. NOOBS is a (re)installation tool. You can use it to install an OS or nuke/reinstall an OS without wiping or re-imaging the entire SD card. NOOBS is NOT a bootloader. Berryboot, on the other hand, is a bootloader. Yeah, it can be used to install an OS, but it's much more special than that. The primary use of Berryboot, unlike NOOBS, is for ...


6

You just need to add a file named 'ssh' to the noobs partition (you can do it right when copying fresh noobs files to a clean sd card) and it will enable ssh for raspbian when you install it from this noobs setup (including for subsequent raspbian reinstalls, i.e. this 'ssh' file on noobs partition will be persistent and have effect for every time you (re)...


5

One simple approach is to get a PC with Linux (even a LiveCD distribution - Ubuntu allows booting from CD for example) will suffice. Every modern Linux will recognize both SD partitions out of the box and allow you to modify their contents.


5

I found this guide to be the most useful. An important update in setup: ssh is disabled by default on the newest images. You have to create a new file ssh in /boot (can be empty). E.g. touch /Volumes/boot/ssh


5

Finally I found the problem that is my power supply. It is not 5V output it is around 6.8V that is why color screen after that load some cord and it load again and again. If you find how to check voltage Raspberry pi B+ and B this is the Video I founded. Thank You.


5

As explained here, the "Data Partition" option creates a buffer that is untouched when the OS is installed. Like any partition, it segregates memory so that if a OS is reinstalled to the SD card, it doesn't wipe out all the preexisting memory. Data Partition - Add a 512mb data partition for data that will be kept safe during a re-instalation of an ...


5

Try running sudo apt-get upgrade and then sudo apt-get update before running sudo apt-get install libusb-1.0-0-dev. Also Make sure you are connected to the internet, run ping 8.8.8.8 and ping google.com I had a problem a while ago where I could ping IPs but not addresses.


5

For future reference. OpenELEC config.txt file is in /flash To modify it, you need to remount the /flash directory as rw, as it is read-only by default. The easiest way to do that is to have both the Pi and another computer on the same network and use SSH. If you are using Windows, you can use PuTTY: launch the exe, put the IP address of your Pi (you can ...


5

I had the same problem but with unknown-block(179.7) and the first solution worked fine, just replacing this: sudo fsck.ext4 -y /dev/mmcblk0p6 with this: sudo fsck.ext4 -y /dev/mmcblk0p7 I'm not an expert but hope this could help others.


5

Perhaps I have been fortunate, but I have had no problems using SD cards that are brand new nor older cards that have been reformatted. Thus, to answer the question as posed, NO you don't HAVE to, since I have had much success with multiple installations on 8 Raspberry Pi's without issue. This includes B+, 2B, and Zero models. Perhaps use the sdformatter ...


5

Raspbian will NEVER upgrade to a different OS. NOOBS, on the other hand always installs the latest version (or the copy included with NOOBS) - I might add that very few experienced users of this site use NOOBS . If you don't have a backup, you can install any released version of Raspbian. Pick one from https://downloads.raspberrypi.org/raspbian/images/ ...


4

hustlerinc found his answer thanks to my mentioning of the issue with certain SD cards with NOOBS 1.3 Quote: RPi Awesomeness Another thing, what version of NOOBS are you using and what SD card? If you are using the newest (NOOBS 1.3) there is a known issue with a certain brand of SD cards. He asked me to post as answer, so here it is. Glad to help!


4

If you get stuck booting to scratch press Ctrl+Alt+F2 to get out of scratch and back to the boot window. Then press Ctrl+c to interrupt the process. Then press Ctrl+c again to cancel the shutdown of the system. From there, type raspi-config and go to the second option and change the password for the 'pi' user. Now go to the third option and start with ...


4

I understand your frustration, but there is one caution in your post "system updates itself fine, pull power, wait 20 seconds, plug back in". NEVER turn off the power on ANY computer without shutting down properly. For Linux this is sudo shutdown -h now (or similar). Shutting down may damage the filesystem, and from reports on this Forum the SDcard on the ...


Only top voted, non community-wiki answers of a minimum length are eligible