2012年4月10日
摘要: 本文只介绍手动压缩方法。1.首先要在Guest系统上,把所有没用的数据写零*NIX,执行:dd if=/dev/zero of=/bigemptyfilerm /bigemptyfileWindows,执行(sdelete.exe):sdelete -c -z C:\2.关闭Guest,开始压缩硬盘文件Virtual Box:VBoxManage modifyhd --compact my_hd.vdiVMware:vmware-vdiskmanager -k my_hd.vmdk[via] [vmware-vdiskmanager_SDelete.zip] 阅读全文
posted @ 2012-04-10 22:11 eshizhan 阅读(6464) 评论(0) 推荐(0) 编辑
摘要: Q:filesystem: /etc/mtab exists in filesystemA:pacman -S filesystem --force[via]Q:initscrpts: /etc/profile.d/locale.sh exists in filesystemA:mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.old[via]Q:After updating my system, Can't into graphical mode on Virtual BoxA:reinstall VBox Guest Addi 阅读全文
posted @ 2012-04-10 21:21 eshizhan 阅读(473) 评论(0) 推荐(0) 编辑
摘要: You need merge four rootfs*.gz in one.cat rootfs4.gz rootfs3.gz rootfs2.gz rootfs1.gz > rootfs.gzand copy new rootfsgz to /boot, then create new iso file.grub.cfgmenuentry "SliTaz-4.0-RC3.iso" { set isofile="/boot/iso/slitaz-4.0-rc3.iso" loopback loop $isofile linux (loop)/boo 阅读全文
posted @ 2012-04-10 17:55 eshizhan 阅读(1308) 评论(0) 推荐(0) 编辑
摘要: 莫名其妙出现找不到文件的错误。经查,发现:OpenFileDialog,SaveFileDialog在选择文件后,会切换当前程序目录的路径(System.Environment.CurrentDirectory)。两个控件有个RestoreDirectory属性,=true,解决。而且这玩意儿还跟操... 阅读全文
posted @ 2012-04-10 16:42 eshizhan 阅读(1098) 评论(0) 推荐(0) 编辑