First of all, I don't really know if this goes here as we are talking Debian but it's a distro customized by IOMEGA, so please feel free to move it where it would belong.
I've been fiddling with my IOMEGA IX2-200 Cloud Edition which comes with a customised Debian OS. I've managed to install Transmission and Squeezebox on it, among other things. It comes with two 2TB Samsung discs, with a 20GB partition on top and the rest used for data. It's now configured in JBOD with SSH access enabled.
Problem is this little NAS contains the boot sections in a read-only partition (it just ignores /etc/init.d or /etc/rcS.d scripts on startup) and problem comes when you want to make daemons autostart on reboot. Thing is you want to modify /mnt/apps/usr/local/cfg/sohoProcs.xml so it will launch whatever you want at startup.
Following this post works once:
but the next time you try to modify this file (say you didn't nail it the first time) and perform the mounting procedure you will make your NAS unbootable the next time. I'm not very Linux pro, I can barely call myself a newbie, but I'm afraid there is something wrong in the mount/unmount procedure.
mknod -m0660 /dev/loop3 b 7 3
chown root.disk /dev/loop3
mount -o loop /boot/images/apps /tmp/apps
Perform changes on the sohoProcs.xml file and then unmount
Is there something obviously wrong with this procedure? Any help would be greatly appreciated.
Once the NAS is FUBAR'ed you can recover it buy using the IMAGE Recovery firmware from Iomega, or as I did, restoring the Disk Image clones of the partitions.
Thanks in advance,