How to port wheezy image on SD-Card in Ubuntu

Step1: Insert the SD-Card into the PC or Laptop
Step2:Check where it is mounted.You can use df utility which gives the information about the file system or use dmesg to know.Basically /dev/sda will be used by the harddisk.So,if you dont have pendrive connected it will be in /dev/sdb.
Syntax:df -h
Step3:Download the Image and unzip is you will get a wheezy.img
Step4: Use a utility called dd(Disk to Disk Copy) for copying the image on the SD-Card
Step5:
sudo dd if=filename.img of=/dev/sdX bs=1M

sudo--->Permissions to write onto the SD-Card
dd------>disk to disk copy
if------->input file
of------->output file
bs------>Block size

Thats it

Comments

Post a Comment

Popular posts from this blog

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig

PR, PN and PV Variable in Yocto