免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1847 | 回复: 1
打印 上一主题 下一主题

为何解压出错,附带gparted分区问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-18 14:55 |只看该作者 |倒序浏览
问题已经折腾了我两天了,发个帖来请教一下大家

我在vmware workstation里装了个CentOS5.3,当时安装时设置swap分区1G,根分区19G。
现因为需要,需扩大根分区大小到50G

我先用VMware DiskManager将CentOS的虚拟磁盘空间扩至55G,基本把我物理磁盘的空余空间都给它了,centos5.vmdk文件的体积比原来大多了
然后我查到可以用gparted来调整linux的分区,于是就下载了一个gparted live cd最新版0.4.6,是一个iso文件,gparted-live-0.4.6-1.iso。于是我在vmware里设置bios,将该iso映像文件作为centos系统启动时的第一启动介质,可是gparted live cd运行后,认不到任何分区。这种方法无法实现。我又按照gparted的官方指南,下载了gparted的zip文件,可是在解压时出现如下错误,不知道究竟是怎么回事?

我的问题还有其他的解决办法吗,请教一下各位


[root@remote-server gparted]# ll
total 102136
-rw-r--r-- 1 root root 104478706 Aug 17 01:48 gparted-live-0.4.6-1.zip

[root@remote-server gparted]# unzip gparted-live-0.4.6-1.zip -d /mnt
Archive:  gparted-live-0.4.6-1.zip
error [gparted-live-0.4.6-1.zip]:  missing 2840 bytes in zipfile
  (attempting to process anyway)
error [gparted-live-0.4.6-1.zip]:  start of central directory not found;
  zipfile corrupt.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
[root@remote-server gparted]#

论坛徽章:
0
2 [报告]
发表于 2009-08-24 22:54 |只看该作者

回复 #1 quakor 的帖子

如果不是lvm 就是需要一个过度的分区 将目前的内容dd出来
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP