Unplug the SD/adaptor and plug it back in again. Note: you now have two partitions, the first /boot and the second /, for the Raspbian file system. Number Start End Size Type File system Flags Sector size (logical/physical): 512B/512B You can see the Raspbian partitions on the SD card $ parted -l To flush system buffers before removing the SD/adaptor. Note: use of device: /dev/sdc, not the first partition on the device: /dev/sdc1. Just in case it is mounted and copy the image to the SD card (takes a while) $ dd bs=4M if=-wheezy-raspbian.img of=/dev/sdcĢ962227200 bytes (3.0 GB) copied, 601.61 s, 4.9 MB/s Shows a /dev/sdc1 partition, for me, and a 4GB SD card (but check really carefully you get the right device + the SD card is about to be imaged and all its original contents lost!) $ umount /dev/sdc1 Find the device that is your SD card $ fdisk -l Plug your SD/adaptor into the Linux computer (best to reformat the SD card first). Note: commands shown ( $ command) in this section are for the Linux computer.ĭownload Raspbian «wheezy» -wheezy-raspbian.zip to, for example, a Linux computer directory /scratch (the zip is 577 MB download and the extracted image, for the SD card, is 2.75 GB). Pi & bashĭownload, copy to SD memory and customise the Raspbian «wheezy» image. Some of the window captures below may not exactly match what you now see with the latest Raspbian «wheezy» image. A Linux computer is also needed, but it does not have to be on the 192.168.0.0 network. Note: for this method the network (192.168.0.0) has connected: a Windows computer, raspberrypi (will be set to 192.168.0.6) and an internet gateway machine/firewall/router (192.168.0.5). You need the Pi, not yet powered-up, connected to your network plus an SD card + USB adaptor the latter just for interfacing the SD card to the Linux computer if it has no SD card slot. The method uses a Linux computer for setting the Raspbian image on the SD card (Raspbian changes shown here could just be deferred on a headed Pi). This is just a convenient method to make some simple file changes (that I use) with only a network cable and micro USB power connected to the Pi. The method described is headless (AKA crustless: the Pi needs no keyboard, mouse or TV/monitor connected to perform it) but it's not compulsory to be so :). This is detailed recipe (with bad puns!) for getting a Raspberry Pi displaying, out-of-the-box, via PuTTY and Xming on Windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |