I also need to add some more which will help you to solve this issue.so I while executing the script , I was with some error as mentioned.
- Extracting original (2.1.2) capsule ..........OK (done)
- Unpacking original (2.1.2) capsule tarball ..........OK (done)
- Unpacking original (2.1.2) rootfs tarball (can take up to 5 minutes) ..........tar: ./dev/zero: Cannot mknod: Operation not permitted
tar: ./dev/null: Cannot mknod: Operation not permitted
tar: ./dev/console: Cannot mknod: Operation not permitted
tar: Exiting with failure status due to previous errors
And rest of the script went ok. What I selected was NetworkSpace2 with FirmWare version 2.1.2. and I just thought it would work properly under Lubuntu 11.10 on VMware on MAC OS 10.6.8 but that was not the case. I alter made some modification with the permissions by passing commands such as "rm -r" in to "rm -fr" as I require to confirm each and every file to be read only. I later investigated and found that there were some misconceptions with 5 and 6th line and I found that rootfs.tar.lzma encloses several device nodes, and only root can create device nodes on your system .and then running the script as root worked well. I was with some further issues as it came to my notice that Transmission daemon were not routinely initiated by initng in NetworkSpace2 .