How To View .Img File In Linux

Let Us Say We Have A File Chankey.Img. To View The Content Of This File First Of All Rename The File In Gzip Format By
# Mv Chankey.Img Chankey.Gz
Now Unzip the chankey.gz file by using the command given below
# Gunzip Chankey.Gz
After unzipping the chankey.gz file you can see the content of the chankey.img file. If it doesn’t work then you will have to use ‘cpio’ command to decode the ‘newc’ format (as in case of initrd.img file)
# Mkdir Tmp2# Cd Tmp2/# Cpio -Id < ../Chankey25624 Blocks
Now use ls command to see the contents.


Category Article

What's on Your Mind...

Powered by Blogger.