Valerio Leomporra created two dd images of a DEFT USB Pen, one for device with 2GB and one for 4GB.
If you tried to build your own DEFT v7.x USB pendrive starting from ISO, by using some Windows automated tools (i.e. UNetbootin, PenDriveLinux tools or whatever), most probably you should have realized it won’t boot correctly.
While this approach is quite easly effective with many other Linux distros, it simply doesn’t work with the latest DEFT live.
This is mainly due to the huge compressed filesystem (squashfs), which is directly loop-mounted from the media at boot time: loopback files should be contigous and unfragmented.
Even the large number of DART files and directories could fragment/damage the FAT16/FAT32 USB partition, if not carefully managed.
That’s why we realized and just published an “official” pendrive dd-image series, ready to download and flash to your favorite USB device.
- a working linux system (DeftLinux Live on ISO is excellent :D)
- a USB pendrive device, 4gb recommended / 2Gb minimal (deprecated, DART’s few tools included)
1) download the needed .dd.gz file from mirrors, to a working linux machine:
75c0cecce7a549db945704672ef5c935 * DeftPen_v710-usb_4gb.dd.gz
ba4af8c7972a2a91dd418af6aa7f84ab * DeftPen_v710-usb_2gb.dd.gz (deprecated)
2) verify hashes, decompress, verify again (large files, twice is better):
md5sum *.dd.gz; gzip -d *.dd.gz; md5sum *.dd
3) plug your USB device, ensure it is NOT mounted in your system
4) write down it’s device name, i.e. /dev/sdx (please notice there isn’t any trailing number)
5) flash your device:
dd if=DeftPen_v710-usb_?gb.dd of=/dev/sdx ; sync
6) reboot the system to test the your new pendrive
Lastly, if confident with the forensic tools, you can also do anything via a single line:
gzip -dc DeftPen_v710-usb_?gb.dd.gz | dcfldd hash=md5 of=/dev/sdx ; sync