Here's what I did ->

1. copied original CG33
2. mkdir /mnt/tt
3. mount -o loop CG33.smg /mnt/tt
4. tar zcvf /myCG33.tar.gz /mnt/tt
5. mkdir /chroot
6. cd /chroot
7. tar zxvf /myCG33.tar.gz

8. mkcramfs /chroot /newCG33.smg

Here, I got an error saying that it cannot create newCG33.smg because permission have been denied, even though I'm logged in as root. Then I downloaded Yantz precompiled mkcramfs and replacedthe binary exec file mkcramfs in /usr/bin/.

But I still got a permissions error. So I changed the file permissions to Can read & Write for all groups and users. But still the error.

The I changed the permissions to Read, write and execute but I got an error "Cannot execute the binary file".

What should I do? I have made some modifications to the CG33 for learning purpose. I want the flash the cg, but I can't unless I make it a cramfs.