remastersys打包提示文件太大怎么处理?大约8G

Ubuntu各种衍生版本
回复
头像
jiemar
帖子: 82
注册时间: 2010-05-07 18:28
联系:

remastersys打包提示文件太大怎么处理?大约8G

#1

帖子 jiemar » 2012-11-11 21:21

配了12.10的环境,用remastersys打包的时候,提示:
The compressed filesystem is larger than genisoimage allows for a single file. You must try to reduce the amount of data you are backing up and try again.
怎么设置genisoimage生成的文件大小限制?有办法可以解决吗?除了删减数据
或者有没有 打包备份的替代方案?
userxxxx
帖子: 54
注册时间: 2011-03-27 17:35

Re: remastersys打包提示文件太大怎么处理?大约8G

#2

帖子 userxxxx » 2012-11-11 21:45

难道你把A片也打包在其中吗 :em06
头像
jiemar
帖子: 82
注册时间: 2010-05-07 18:28
联系:

Re: remastersys打包提示文件太大怎么处理?大约8G

#3

帖子 jiemar » 2012-11-11 21:50

jiemar@jiemar-spark:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 21G 5.2G 15G 27% /
/dev/sda6 44G 6.3G 35G 16% /home

就这两个分区,不想删减数据额
userxxxx
帖子: 54
注册时间: 2011-03-27 17:35

Re: remastersys打包提示文件太大怎么处理?大约8G

#4

帖子 userxxxx » 2012-11-11 21:58

不用删减,但/home下的有些目录可以在打包时排除

# Here you can add any other files or directories to be excluded from the live filesystem
# Separate each entry with a space
EXCLUDES=" "
头像
jiemar
帖子: 82
注册时间: 2010-05-07 18:28
联系:

Re: remastersys打包提示文件太大怎么处理?大约8G

#5

帖子 jiemar » 2012-11-11 22:17

userxxxx 写了:不用删减,但/home下的有些目录可以在打包时排除

# Here you can add any other files or directories to be excluded from the live filesystem
# Separate each entry with a space
EXCLUDES=" "
THX,顺便想问下remastersys的最大限制是多少呢?
头像
tooktang
帖子: 674
注册时间: 2010-07-15 18:30

Re: remastersys打包提示文件太大怎么处理?大约8G

#6

帖子 tooktang » 2012-11-11 22:18

:em06 楼主你做了 sudo apt-get clean 这些指令没?
我是OS控…
头像
qy117121
论坛版主
帖子: 50546
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: remastersys打包提示文件太大怎么处理?大约8G

#7

帖子 qy117121 » 2012-11-11 22:39

遇到过,
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用

邮箱 chuan@ubuntu.org.cn
userxxxx
帖子: 54
注册时间: 2011-03-27 17:35

Re: remastersys打包提示文件太大怎么处理?大约8G

#8

帖子 userxxxx » 2012-11-12 0:53

The 4GB limit explained - not a remastersys limitation


I end up getting at least 2 emails and/or PM's per week about this and have answered it on the forum numerous times so I figured I would create this explanation and make it sticky.The 4GB limit is an iso9660 spec that is present in the cdrtools forked genisoimage that is present in debian and ubuntu. There is also another issue limiting things to 4GB - if you put it on a usb flash drive, they are usually formatted fat32(vfat) which has a file size limit of 4GB as well. I have successfully been able to split off the squashfs files into separate ones and with a patch to casper it will boot. The problem then arises that the ubuntu installer Ubiquity can only handle having the entire filesystem on a single squashfs file so you can't install it. There is no workaround or fix for this. The live filesystem is mounted to a single mountpoint and this is what the installer expects too.
If your system is too large to do a normal backup, you should either exclude or move off your media files and any virtual machine hard drives before making a backup and then copy them back later or after install.

Many folks have mistakenly seen this as a limitation of remastersys but as you can see from the above info this is just not the case and never has been. This is a limitation of ubuntu and debian.

For what its worth, I never backup media files to a live system. All my media is kept on a home server which happens to be a 9 year old laptop with ntfs formatted usb drives connected to it. I keep those files backed up onto a normal hard drive with ext4.
sunlihgt
帖子: 45
注册时间: 2012-10-26 8:18
系统: ubuntu 12.10

remastersys打包提示文件太大怎么处理?大约8G

#9

帖子 sunlihgt » 2012-11-12 1:19

这个要学学



Sent from my iPhone using Tapatalk
我是马甲,我怕谁
头像
jiemar
帖子: 82
注册时间: 2010-05-07 18:28
联系:

Re: remastersys打包提示文件太大怎么处理?大约8G

#10

帖子 jiemar » 2012-11-12 7:51

tooktang 写了::em06 楼主你做了 sudo apt-get clean 这些指令没?
做了,我也用tweak做了清理。
home分区下也没什么media文件,主要是安装的软件比较多,不过都是我需要的。

看来只能用tar方式备份了。还有其他方法吗?
头像
jiemar
帖子: 82
注册时间: 2010-05-07 18:28
联系:

Re: remastersys打包提示文件太大怎么处理?大约8G

#11

帖子 jiemar » 2012-11-12 16:17

已用ucloner备份,改天在新机上试试能否恢复成功
头像
linuxer1024
帖子: 650
注册时间: 2012-06-05 12:12
来自: 湖南长沙
联系:

Re: remastersys打包提示文件太大怎么处理?大约8G

#12

帖子 linuxer1024 » 2012-11-14 8:48

tooktang 写了::em06 楼主你做了 sudo apt-get clean 这些指令没?
正解!先把那些不要的包清理掉!
薄荷开源网 | 专注Linux桌面
http://www.mintos.org/
回复