Format USB and Unzip img to memory stick
Insert the USB stick
Type [sudo fdisk -l] [enter]
(-l is lower case L)
You should see a line:
Disk /dev/sdb: xxxxMB, xxxxxxxxxxxxxxbytes
LOOK FOR > sdb < NOT sda
the xxx should roughly match the size of the USB memory stick
>> This confirms the device we want is sdb << do not make a mistake identifying the correct device
Type [sudo fdisk /dev/sdb][Enter]
[d] - delete existing partitions
[1] - (may not be required) to delete the first partition (continue to delete all)
[n] - create a new partition
[p] - primary partition
[1] - only 1 partition
choose defaults for start and end blocks whatever they are
[p] - this prints partition details - CHECK > there should be NO * under Boot
[a] – if there is an * under Boot, [a] toggles it off
[w] – write to memorystick
We use Linux ext2 format for greatest compatibility with other Linux distros
Type [sudo umount /dev/sdc1][Enter]
Type [sudo mkfs.ext2 /dev/sdb1][Enter]
Type [sudo mkdir /mnt/memstick][Enter]
Type [sudo mount -t ext2 /dev/sdb1 /mnt/memstick][Enter]
Type [cd /mnt/memstick][Enter]
Type [ls -la][Enter]
Your should see something like this
total 20
drwxr-xr-x 3 root root 4096 Mar 1 07:55 .
drwxr-xr-x 3 root root 60 Jan 3 12:20 ..
drwx------ 2 root root 16384 Jan 3 12:20 lost+found
* apt-get install zip unzip
Where img.zip file is in –directory–
Type [sudo unzip –directory–/2015-02-26-09-img.zip -d /mnt/memstick][Enter]
Type [sudo chown -R username:username /mnt/memstick][enter]
* [sudo umount /mnt/memstick][Enter]