2018年6月5日 星期二

How to create usb key from img.gz image

1. Uncompress the file
#gunzip abc.img.gz

2. Clone image to USB key
#dd if=abc.img of=/dev/sdx
 (sdx depend on your device name, sda,sdb,sdc....)

Simple dd command to test HDD read/write performance under linux

Simple dd command to test HDD read/write performance under linux Read #dd oflag=direct if=/dev/zero of=/mnt/test bs=512k count=200...