# Install image to 2nd disk in system (Replace /dev/sdb to WD disk path!!!) gunzip -c disk_image.10g.bin.gz | dd of=/dev/sdb bs=1M # Resize partition 4 to maximum: parted /dev/sdb resizepart 4 # Type "100%" as "END" value quit # Resize file system resize2fs /dev/sdb4