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
以上步骤应该可以帮助你解决问题。如果问题仍然存在,可能需要更深入的排查。
171 1
|
6月前
|
Java
No tag [else] defined in tag library imported with prefix [c]] with root cause
No tag [else] defined in tag library imported with prefix [c]] with root cause 错误处理
49 0
|
6月前
|
Python
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: cHRM chunk does not match sRGB
187 0
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
725 0
error: Two output files share the same path but have different contents: node_modules\.vite\..xxx.js
|
监控 Linux Python
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
178 0
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
configure: error: Can‘t find ext2fs library
configure: error: Can‘t find ext2fs library
241 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)
279 0
|
XML 数据格式
因为CircleImageView导致Binary XML file line #96: Error inflating class <unknown>
因为CircleImageView导致Binary XML file line #96: Error inflating class <unknown>
175 0
|
运维
yum update 执行报错: error : unpacking of archive failed on file /usr/.../...;5d26ff7c: cpio : symlink
yum update 执行报错: error : unpacking of archive failed on file /usr/.../...;5d26ff7c: cpio : symlink早前已发现有台机一直在报这么个错误, 一用yum update 就报一堆: Error: unpacking rpm package .
2400 0