Welcome to the Cisco Academy for Vision Impaired Linux Wiki. |
Main /
DoingAHeadlessInstallationOfRaspbianOnTheRaspberryPiIntroductionThis page will walk you through doing a headless installation of the default raspbian image. Most of you may get your raspberry pi with the default raspbian image, but some of you may want to create another one as a backup or try other distributions. There are several web pages that describe how to do this but most of them refer to inaccessible programs. For Windows in particular, the win32 disk imager refered to for burning the Raspbian image to the sd card uses the QT framework, and At the time of this writing, Window Eyes is the only screen reader that can speak these controls. If you use the Mac OSX operating system, since it is Unix based by design, you can either use the terminal command line interface or a GUI program to accomplish a headless install. Note on operating systemsInstructions are provided for both The Windows OS and Mac OSX operating systems. These instructions are not the final word or the only way, but are a good starting point for getting the Raspbian OS up and running quickly and easily. Installing the Raspbian Operating System on an SD Card Using the Windows Operating SystemWhat you need
The procedure
"select 2".
Warning, this will erase all data from the card. You will be told once the card has been cleaned successfully.
Enabling sshNote that as of the November 2016 release of Raspbian ssh is disabled by default for security reasons. to enable it create a file called ssh on the boot partition. To do this under windows find the letter of the boot drive and open a command prompt. Let us assume your boot drive is f: f: On a Mac if you can mount the partition simply use touch ssh [[#Mac] Installing the Raspbian Operating System on an SD Card Using the Mac OSX Operating SystemWhat you need
Flashing the SD Card with Pi FillerAs OSX is a Unix-based operating system, one can clean the SD card and copy the Raspbian operating system bit for bit via the command line, but we will install a simple, small, yet very powerful accessible utility called Pi Filler. Pi Filler works on OSX versions after 10.5, so if you have OSX versions prior to this, you must use a different method to flash your SD Card(not documented here). It can be downloaded Here. OSX will download the application to your mac's downloads folder.
The Raspberry Pi site suggests that you download a formatting tool to clean your card. I downloaded the SD Formatting tool for OSX |here, installed it, ran it, and followed the instructions to clean the SD card. The process definitely cleans the card, but if you use Pifiller, it's my impression that pifiler does a quick format of the card and this software may not be necessary. It's your call whether or not you do this step. Important, before running pifiller, make sure that the SD card is ejected from your Mac. Pifiller seems to have a hard time detecting the card if the card is already mounted to the system. You should now be able to use Pifiller to flash Raspbian on your SD Card.
Backing up your card using the MacYou used pifiller to flash your Raspbian image to your SD Card. The author of Pifiller has written a handy utility called picopier which is also very accessible and very easy-to-use and accomplishes this process in a snap. It can be downloaded Here. Unzip the program, move it to your applications folder, run it, and follow the instructions to copy your image from your card to your computer. One neat thing that Pi Copyer can do is compress your images on the fly. Though this takes longer, it can save you a step, especially if you are doing other things on your Mac and/or don't have a pressing need to use your Pi Right away. Once the image burning process has finished
Making the package manager more accessibleOnce you have reached this point, you can begin working on the raspberry pi. One of the most common things you will do is install programs. This is usually done through the package manager which in this case is called aptitude. The primary change you need to make is to set aptitude to use the readline interface. The default dialog interface is usable but difficult on a terminal since you get a lot of extraneous characters. Run the following commands at the "$" prompt. (Ensure you are root when you do this.) apt-get install libterm-readline-gnu-perl Note to Secure CRT UsersIf you have purchased the Secure CRT emulator from Van Dyke Software, you may have an easier accessibility experience while using Raspbian, and you can take some simple steps to clean up junk characters an render the Pi configuration interfaces more accessible.
Once these settings are set up, Secure CRT works reasonably well with both the readline and dialog interfaces. Secure CRT works with the VT100 terminal, but also works well with xterm as well. The default is VT100, and will definitely get you started with Secure CRT as your terminal emulator. Tell your Pi to use your whole SD CardIn its default state, Raspbian only takes up about 2 GB of space. If your card is larger than that amount, you might want to tell your Pi that it can use the whole capacity of your card. This can easily be done using the Pi's configuration utility. Sometimes, it can be tricky to use this utility if you use a screen reader and arrows, but these steps should help you give Raspbian room to grow.
|