RE: USB RAW file
Well I've managed to find an answer to my own question.
The .RAW file can be mounted as a file system without too much trouble :
losetup /dev/loop1 /usr/local/src/stresslinux_64bit_11.4.x86_64-0.7.105.raw
mount -t ext3 -o loop,offset=$((512*63)) /dev/loop1 /mount/disk
I then (although its not strictly necessary) pruned the locale directories of non english localizations.
I formatted the memory stick (in my case /dev/sdb) as an ext3 partition
Next cp -pdr /mount/disk/* /dev/sdb1/ to copy the data across, and
then ran parted, set the device to /dev/sdb1 and toggled the boot flag to on
sdb1 currently shows at 609Mb, so it could be made to fit on a 512mb disk but it would require some further judicious pruning of files.
|