137

Raspbian uses dphys-swapfile, which is a swap-file based solution instead of the "standard" swap-partition based solution. It is much easier to change the size of the swap. The configuration file is: /etc/dphys-swapfile The content is very simple. By default my Raspbian has 100MB of swap: CONF_SWAPSIZE=100 If you want to change the size, you need to ...


90

The OS distributions that are available as an SD card image are marked with . Beware not everything on this list will work on all models of Pi; non pi-specific GNU/Linux distros are usually for ARMv7+ and therefore only viable on the Pi 2/3. Some pi-specific images are also model 2/3 only, but this should be clearly indicated on the homepage if not here. ...


85

"In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a testing version it could leave your RPi unbootable". https://www.raspberrypi.org/forums/viewtopic.php?p=916911#p916911 Even the rpi-update documentation now warns "Even on Raspbian you should only use this ...


63

given that the processor is 64 bits, isn't it obvious that running the OS in 64 bits will be better in every way? No actually, it's not. In some ways, running a 64 bit operating system could deteriorate the Raspberry Pi's performance. Benefits of 64 bit: The two primary benefits of using a 64 bit processor/operating system is that the device can handle ...


54

Securing a computer is not a simple process, entire books are written on the topic. The Pi's size does not reduce the security threat or attack surface presented to a possible attacker. As a result, I will describe the steps involved and provide links to more detailed instructions and tutorials. Since you have not mentioned what distro you are using I will ...


43

I found my answer in the very next section of the wiki; silly me. I found that the solution didn't go much into detail about what kind or error messages you see though, and thought it might be helpful to have the exact error message "googleable". I also found the instructions slightly unclear (especially around step 8/9; I wasn't sure if the partition had to ...


42

The process is pretty simple. Download the image First, go to the Raspberry Pi Foundation's Download page and download the image you want. The latest image is Raspbian Stretch, which is the official distribution for all Pi models. Alternatively, the Arch Linux image is great if you want a minimal install or if you've had a bit of experience with Linux ...


34

No. At this point in time, Windows cannot be installed on the Raspberry Pi. Windows is designed for the x86 and x86-64 architectures (32 and 64 bit architecture respectively). The RPi has an ARM architecture, which is incompatible. Windows 10 Microsoft have announced that Windows 10 will ship a version that supports Raspberry Pi 2.


32

Do not do this at all. You should not enable swap on the Raspberry Pi. Although it is possible, it is not useful. Even on a class 10 SDHC card, it is just too slow. Also you will reduce the lifespan of the SD card. On any flash-based storage device (SD card, SDD, USB thumb drives) you are also likely to see system-wide pauses while a large group of flash ...


29

Debian APT is the package manager under Debian, for Raspberry Pi or any other system. The command line tool curl is installed in this example. You need to be connected to the Internet. If you haven't done so recently it is worth running, sudo apt-get update This updates the list of packages that are available to apt-get. Then use apt-cache to ...


26

Buy yourself a smartphone, you'll get "Android OS with camera, Bluetooth, gyro, GPS, and SIM card and with a lot of programmable buttons and LEDs" -- all already included, working and with plenty of documentation and development environments available.


25

RISCOS is in the works and there is QT available now. Some bare metal programmers are working on OS's from scratch as well but these are more for fun & research than full blown OS's.


23

I've looked into bare metal programming on the Raspberry Pi and it sounds like what you want to do. There are several good forum topics about bare metal programming with some people who have put in a lot of effort to get their code to work. Check these out for getting started: Guide to Beginning Bare Metal on Raspi Programming the RPi on the bare metal ...


22

Debian The official Debian image ships with at least 2 users, root and pi. You will only be able to login to the pi account. How do I change pi's password? At the very least, you should change the password for the pi account, as anybody with a RPi will be able to log onto yours. To do this, run passwd from the command line and follow the prompts. How do ...


21

raspbian package repo contains raspberrypi-bootloader package which contains firmware, kernel and kernel modules that rpi-update downloads. The version is not the latest, but files should be fine and stable. Now it shows a 20130902 version, so it's about 2 months old. The package is installed by default and is updated when a new version arrives in repo. So ...


20

The images of OpenELEC and Raspbmc I found don't work well yet on my RPI. I have tried them and they either crash or don't boot, etc. If you want to play around, while waiting for those two distribution to become more mature, you can use the following debian image with xbmc precompiled: http://rpi-developers.com/projects/xbmc/ [UPDATE (Dec 2, 2012)]: I gave ...


20

You will need an SD Card with a Pi compatible operating system on it. Several options are available from the official Raspberry Pi downloads. You may not need to buy one. Assuming you already have a compatible 4GB or larger SD Card and reader/writer you can create your own and save a few dollars. Directions for creating your own card can be found in How do ...


20

It's worth noting that the situation is different for ARM and Intel/AMD. That's because the switch to x86_64 was also used as an opportunity to update the badly-aging architecture, basically crippled by only having 8 general-purpose registers — and doubled in 64-bit mode. So, switching an Intel/AMD system to 64-bit mode also means enabling real features ...


19

Though Apple's iOS is attractive for users, if you are an enthusiast (as you must be having the Raspberry Pi) or a developer, then iOS is the least friendly for you. iOS is compiled specifically for each model of the Apple's iPad or iPhone with specific integration of hardware and software for the platform. Essentially all the software is one giant binary ...


19

In Linux kernel, enabling PREEMPT_RT will provide bounded latencies and realtime APIs. Besides configuring PREEMPT_RT, the SCHED_FIFO and SCHED_RR policies also need to be selected. And the applications need to set realtime parameters by calling appropriate APIs or by using appropriate utilities. According to a free-electrons training: Realtime in Embedded ...


18

Arch A fresh Arch install ships with only the root user available. Thus you should definitely be creating a new user, as spending too much time as root is dangerous. In addition, you should also change the root password, as leaving as default is a major security risk. Changing the root password The password can be changed when logged in as root by running ...


17

From the Official FAQ Page: What Linux distros will be supported at launch? Fedora, Debian and ArchLinux will be supported from the start. We hope to see support from other distros later. (Because of issues with newer releases of Ubuntu and the ARM processor we are using, Ubuntu can’t commit to support Raspberry Pi at the moment.) You will be ...


17

Here is quite a simple Arch Arm RPi Guide. Download the zip file containing the dd image from one of these resources: Torrent Direct Download Extract the zip file to your hard drive, giving you the dd image archlinuxarm-29-04-2012.img Write this image to the target SD card Linux Replacing sdX with the location of the SD card, ...


17

Berryboot is essentially a boot loader designed specifically for the Raspberry Pi that will accomplish this for you: Berryboot is a simple boot selection screen, allowing you to put multiple Linux distribution on a single SD card. In addition it allows you to put the operating system files on an external USB hard drive instead of on the SD card itself.


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