Be smart:
Connect to WD via SSH. Extract my images. Run these commands:
mount -o loop -t ext3 rootfs.img /mnt
chmod /mnt
Do what you want as normal system. (Change language, install software etc)
Then, run this:
exit
umount /mnt
Now - you get own rootfs.img
No need to create image of full drive. See my instructions for replace HDD here: https://drive.google.com/folderview?id=0B_6OlQ_H0PxVRXF4aFpYS2dzMEE&usp=docslist_api&ddrp=1#
(When recrate partitions - /dev/sda4 is last partition ant takes all free space)
And if you want make installer - Better to do .deb. packgage - for updating via WebGui. (Download original firmware and extract: dpkg -x file.deb /package and dpkg -e file.deb /package/DEBIAN)
Another fix for long-load OMV v.1.0.xx:
nano /usr/share/php/openmediavault/htmlpage.inc
remove 2nd array_unshift function from “scanFiles” function (String #48). Complete example:
for($row = 0; $row < 100 && !feof($fh); ++$row) {
$content = rtrim(fgets($fh));
if(preg_match("/\/\/\s+require\(\"([^\s]+)\"\)/", $content,
$matches)) {
$this->scanFiles($matches[1], $incList);
}
}
Now - load time drops from ~160s to ~70s