Following are the steps you need to know before installation of Raspbian - a distribution of Linux for Raspberry Pi 2.
- Download image of Raspbian from https://www.raspberrypi.org/downloads/
- Linux
If you are using Linux/Unix, you need to burn (copy contents from) this image file (.img) into the SD card using following sequence of commands,
df -h
To check the list of all the drives mounted into system. Figure out from this list what is the name of your device mounted into /dev/device_name. This device name usually ends with p0, p1 and so on, which indicates the partition indexing. Make sure your card has one partition, at the time of installation and configuration of Raspbian, it automatically partitions into necessary parts.
Easiest way to figure out what is the newly mounted SD card name in /dev/*, simply df -h before mounting SD card into PC, and then plug and find the newly plugged entry record from df -h output.
Make sure you unmount the card before burning image into it, by using
umount /dev/
Run following command
sudo dd bs=1M if=[DISK IMAGE NAME] of=[FILESYSTEM]
Here, in bs=1M means the size of read and write of the bytes at a time equals to 1 mega. Sometimes 1M works while burning the SD card. If this doesn't work for your SD card, try using 4M or some other sector size.
Wait for a while and your card will be burned with OS.
Windows
Use Win32 Disk Imager software to burn the SD card .img. - Plug SD card into Raspberry Pi and plug it to 5V power, plug LED on HDMI port, keyboard and mouse on USB ports
- You will be logged in to Raspbian
Default username password combination is pi and raspberry respectively - You can expand storage by using raspi-config on terminal after you log in to LDX
No comments :
Post a Comment