gzip: initramfs-2.6.32-431.el6.x86_64.img: unknown suffix -- ignored

简介:

gzip 识别.gz 后缀,把原来的文件改名再解压缩即可

例子:

[root@cqhdtest mnt]# file initramfs-2.6.32-431.el6.x86_64.img 

initramfs-2.6.32-431.el6.x86_64.img: gzip compressed data, from Unix, last modified: Tue Apr  5 19:55:55 2016, max compression

[root@cqhdtest mnt]# gzip  -d initramfs-2.6.32-431.el6.x86_64.img 

gzip: initramfs-2.6.32-431.el6.x86_64.img: unknown suffix -- ignored

[root@cqhdtest mnt]# mv initramfs-2.6.32-431.el6.x86_64.img   initramfs-2.6.32-431.el6.x86_64.img.gz

[root@cqhdtest mnt]# gzip  -d initramfs-2.6.32-431.el6.x86_64.img  

[root@cqhdtest mnt]# file initramfs-2.6.32-431.el6.x86_64.img 

initramfs-2.6.32-431.el6.x86_64.img: ASCII cpio archive (SVR4 with no CRC)





















本文转自biao007h51CTO博客,原文链接:http://blog.51cto.com/linzb/1763078 ,如需转载请自行联系原作者











相关文章
|
6月前
|
Linux
Centos7.4升级7.9失败,救援:/boot目录下文件丢失error: file ‘/initramfs-3.10.0-957.el7.x86_64.img‘ not found
以上步骤应该可以帮助你解决问题。如果问题仍然存在,可能需要更深入的排查。
158 1
error: Two output files share the same path but have different contents: node_modules\.vite\..xxx.js
error: Two output files share the same path but have different contents: node_modules\.vite\..xxx.js
714 0
error: Two output files share the same path but have different contents: node_modules\.vite\..xxx.js
configure: error: Can‘t find ext2fs library
configure: error: Can‘t find ext2fs library
237 0
|
Ubuntu Shell
解决dpkg: warning: files list file for package(libboost-dev libpcl-dev)
解决dpkg: warning: files list file for package(libboost-dev libpcl-dev)
270 0