Raspberry pi clone on linux

Backup Raspberry Pi SD Card

1. Insert the SD card in your PC using a USB or built-in card reader. Now open a Terminalwindow, and enter the command sudo fdisk -l. This will list all the filesystems present on your system.

2. Try to find out the device name of your SD card. I have a 16GB SD card, so it is easily identified as the device /dev/sdb which has a size of 14.9GB. This is because the actual storage on a device is always slightly lower than advertised. Note down this device name.

Raspberry pi 3 install raspbian jessie lite

Download raspbian jessie @raspberry pi official website https://www.raspberrypi.org/downloads/raspbian/

Format your sd card to FAT32

Im using linux to copy the img file to the sd card

$ sudo dd bs=4M if=2017-06-21-raspbian-jessie.img of=/dev/sdx status=progress

When your sd card is not showing using

$ sudo fdisk -l

try to run this

$ lsusb

see if the usb is listed.