I need help rebuild ext3 filesystem

hi to all I wanted to edit a enigma2 image to my box ..
the image is root.img ..
Analysed then I have the picture and I have this:

parted root.img
WARNING: You are not superuser.  Watch out for permissions.
GNU Parted 2.2
Using /home/soft/Bureau/enigma2/root.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) u                                                                
Unit?  [compact]? b                                                       
(parted) p                                                                
Model:  (file)
Disk /home/soft/Bureau/enigma2/root.img: 262144000B
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End         Size        File system  Flags
 1      0B     262143999B  262144000B  ext3

(parted) q                                            

after that I have to decompress with this command:

mount -t ext3 -o loop root.img /mnt/hak

and is correctly decompressed and I have to find all the files enigma2 image in my repertoire that I have chosen ..

My problem is that after I have edited the image i can t rebuild
as root.img again...

how can rbuild the image please.....:confused:

---------- Post updated 06-06-13 at 06:53 AM ---------- Previous update was 06-05-13 at 07:29 PM ----------

somane can help me

That command doesn't "decompress" the image, it mounts it.

I have no idea what you mean by "rebuild the image". If you change the contents of /mnt/hak, root.img will change with it. Be sure to umount /mnt/hak before you use root.img again.

thank s brother

i suxcefull unpack the root.img because it use the ext3 file systeme

and all the file of the root.img is inside the folder /mt/hak

i have edited some file inside the folder /mnt/hak

and now i want to repack this image as new.img from /mnt/hak

please any idea..

---------- Post updated at 10:26 AM ---------- Previous update was at 09:54 AM ----------

it sloved brother
thank s for all

Would you mind telling us how you solved it?