随笔 - 298  文章 - 377  trackbacks - 0
<2015年12月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

常用链接

留言簿(34)

随笔分类

随笔档案

文章档案

相册

收藏夹

搜索

  •  

最新评论

阅读排行榜

评论排行榜

Remastersys制作自己的Linux发行版.txt
1.系统备份
2.打包系统,做成livecd/dvd
怎样安装?
ubuntu用户1.把下面的源地址加到sources.list
deb http://www.geekconnection.org/remastersys/repository ubuntu/
2.sudo apt-get update
3.sudo apt-get install remastersys
debian用户1.把下面的源地址加到sources.list
deb http://www.geekconnection.org/remastersys/repository debian/
2.sudo apt-get update
3.sudo apt-get install remastersys
怎样使用?
sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]
sudo remastersys backup #(to make a livecd/dvd backup of your system制作系统备份livecd)
sudo remastersys backup custom.iso #(to make a livecd/dvd backup and call the iso custom.iso制作系统备份livecd,名字是custom.iso)
sudo remastersys clean #(to clean up temporary files of remastersys清除制作时产生的临时文件)
sudo remastersys dist # (to make a distributable livecd/dvd of your system制作你现有系统的livecd发行版)
sudo remastersys dist cdfs #(to make a distributable livecd/dvd filesystem only 仅制作livecd文件系统cdfs)
sudo remastersys dist iso custom.iso # (to make a distributable iso named custom.iso but only if the cdfs is already
present制作livecd,前提是cdfs已经就绪)
cdfs and iso options should only be used if you wish to modify something on the cd before the iso is created. An example of this would
be to modify the isolinux portion of the livecd/dvd
cdfs和iso选项应该只被用于你希望更改一些选项的时候,比如你要更改isolinux部分
另外此程序是拥有图形界面的System ->administration ->Remastersys Backup,也是非常不错,很傻瓜:)
使用测试~~
我的6.4G的跟文件系统做成之后的iso有1.5G,非常不错,使用的是sudo remastersys dist xiaoqiang.iso
测试的时候会出现找不到intird.gz的错误,后来进入iso查看了下,发现casper目录中并没有initrd.gz这个文件,于是
cd /home/remastersys/remastersys
sudo cp /boot/initrd.img-2.6.31-14-generic ISOTMP/casper/initrd.gz
sudo rm xiaoqiang.iso
sudo remastersys dist iso xiaoqiang.iso
重新打包,再次测试,成功启动,并且包含所有已经安装的软件,包括我的chrome,永中office。太爽了~~ubuntu之小强
posted on 2015-12-08 14:35 聂文龙 阅读(1354) 评论(6)  编辑 收藏 引用 所属分类: Linux

FeedBack:
# re: 完美使用remastersys备份和还原系统 2015-12-15 18:03 聂文龙
http://crunchbang.org/forums/viewtopic.php?pid=390630#p390630


How to install Remastersys
1) Add the repo to your /etc/apt/sources.list

## Remastersys
deb http://www.remastersys.com/debian wheezy main
(or create the file /etc/apt/sources.list.d/remastersys.list and add those lines to it)

2) Get the gpg signing key (make sure the dashes are right)

$ wget -q -O - http://www.remastersys.com/debian/remastersys.gpg.key | sudo apt-key add -

3) Install remastersys and the gui

The recent version of remastersys uses yad for the dialogs, so you need to have this installed as well.

sudo apt-get update && sudo apt-get install --no-install-recommends remastersys remastersys-gui yad
yad is included in the remastersys repo, or you can build it from yad sourceforge  回复  更多评论
  
# re: 完美使用remastersys备份和还原系统 2015-12-15 18:09 聂文龙
wget -O - http://www.remastersys.com/debian">http://www.remastersys.com/debian/remastersys.gpg.key">http://www.remastersys.com/debian">http://www.remastersys.com/debian/remastersys.gpg.key | apt-key add -
Et ajoutez ces dépots dans /etc/apt/sources.list, ajoutez ces lignes:
deb http://www.remastersys.com/debian">http://www.remastersys.com/debian wheezy main
deb-src http://www.remastersys.com/debian">http://www.remastersys.com/debian wheezy main
Ensuite
sudo apt-get update
Et pour finir
sudo apt-get install remastersys-gui  回复  更多评论
  
# re: 完美使用remastersys备份和还原系统 2015-12-15 18:14 聂文龙
Instalar squashfs-tools (para Remastersys hace falta)
sudo apt-get install squashfs-tools

Agregar los repositorios de Remastersys al final de nuestro sources.list:
sudo gedit /etc/apt/sources.list

Debe quedar así:
##Remastersys Wheezy
deb http://www.remastersys.com/debian wheezy main

Esta es la forma correcta de instalar Remastersys:

Abrir Terminal entrar como root:

Poner:
su

Poner contraseña de root cuando la pida

Poner:
wget -O- http://www.remastersys.com/debian/remastersys.gpg.key | apt-key add -

Salir de root:

Poner:
exit

Sin salir de Terminal poner:
sudo apt-get update

Nos pide la contraseña de usuario, ponerla

Poner:
sudo apt-get install remastersys

Cuando pregunte poner:


Instalar el modo grafico para remastersys:
sudo apt-get install remastersys remastersys-gui
-----------
remastersys

Uso de remastersys 3.0.0-1 es la siguiente:

sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]

Remastersys Debian Remastersys Debian

Ejemplos:
sudo remastersys backup

(para hacer una copia de seguridad livecd / dvd de su sistema)
sudo remastersys backup custom.iso

(para hacer una copia de seguridad livecd / dvd y llamar a la custom.iso iso)
sudo remastersys clean

(para limpiar los archivos temporales de remastersys)
sudo remastersys dist

(para hacer una distribución livecd / dvd de su sistema)
sudo remastersys dist cdfs

(para hacer una distribución livecd / dvd sistema de archivos solamente)
sudo remastersys dist iso custom.iso

(para hacer un llamado distribución iso custom.iso pero sólo si la cdfs está ya presente)
-----------
Repito el programa también permite respaldar “todo“.Con:
sudo remastersys backup

Tendremos todos nuestros datos en la nueva instalación (programas,archivos, fondos de pantalla, configuraciones e incluso el Home)

Notas: El usuario y la contraseña son los mismos que en el sistema original(después de la instalación si se quiere se cambian).

Por defecto remastersys crea la iso con el nombre customdist.iso en el directorio /home/remastersys. Se recomienda realizar el clean tras la creación(grabación) de la ISO para limpiar los temporales.

Se puede usar como live o instalar, la instalación ha de hacerse sin red, osea desconectado de internet incluso de Wifi

Para crear una imagen de nuestro sistema con remastersys
Se recomienda no haber instalado los drivers propietarios de las tarjetas de vídeo ya que, si la distribuimos a una maquina con otra tarjeta, esos drivers pueden no ser validos.

Límite de 4 GB

Límite de 4 GB es una especificación iso9660, que está presente en la cdrtools bifurcada genisoimage, que está presente en debian y ubuntu.

Si su sistema es demasiado grande como para hacer una copia de seguridad normal, debe de excluir o moverse fuera los archivos multimedia, antes de hacer una copia de seguridad y luego copiar de nuevo más tarde o después de la instalación.  回复  更多评论
  
# re: 完美使用remastersys备份和还原系统 2015-12-15 18:20 聂文龙
Edit: For some reason when I first copy/pasted the commands in here it cut off "debian" to "deb..."

I used virtualbox in order to create the live DVD image which you can then use to do installs without UEFI. Just edit the following to add Debian and Remastersys sources.

sudo su
nano /etc/apt/sources.list

add the following

deb http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian wheezy main contrib non-free
deb-src http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian wheezy main contrib non-free

deb http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian wheezy-updates main contrib non-free
deb-src http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian">http://http.debian.net/debian wheezy-updates main contrib non-free

deb http://security.debian.org/">http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/">http://security.debian.org/ wheezy/updates main contrib non-free

deb http://www.remastersys.com/debian wheezy main

ctrl-o to save ctrl-x to exit, then run the following in the terminal.

wget http://www.remastersys.com/debian/remastersys.gpg.key
apt-key add remastersys.gpg.key
apt-get update && apt-get dist-upgrade
apt-get install remastersys

reboot and then run

sudo remastersys dist

which then creats a live DVD ISO. The results allow me to install any Debian app (Gimp, Libreoffice, whatever.) and allows me to also boot non-UEFI as well as trying the OS out in a live environment directly from DVD.

You can install from this Live image with

sudo remastersys-installer gui

Note: The remastersys installer is not very elegant but it gets the job done.
最后由 Hexadecimal 编辑于; 2014年1月11日下午1:20
正在显示第 1 - 5 条,共 5 条留言

MEOW :3 2014年1月10日下午10:37
it doesn't allow me to save, tells me i dont have the privilage???
#1

MEOW :3 2014年1月10日下午10:38
Permission denied
#2

MEOW :3 2014年1月10日下午11:36
its okay i just disallowed desktop password to exist but where it has the "..." at the end of "http://www.remastersys.com/deb"">http://www.remastersys.com/deb" is something meant to be there?
#3

Hexadecimal 2014年1月11日下午12:55
引用自 arashk1996:
its okay i just disallowed desktop password to exist but where it has the "..." at the end of "http://www.remastersys.com/deb"">http://www.remastersys.com/deb" is something meant to be there?

the deb... should read debian, when I copy and pasted the commands into this post I didn't notice it had cut it off. I edited the above to read correctly. Thanks for pointing it out. :)

Also added a sudo su up there for folks unfamiliar with the differences between normal terminal $ and root terminal #.
最后由 Hexadecimal 编辑于; 2014年1月11日下午1:07
#4

MEOW :3 2014年1月11日下午4:03
haha good work :P but thanks :) wouldn't have gotten anywhere without this :)  回复  更多评论
  
# re: 完美使用remastersys备份和还原系统 2015-12-15 19:13 聂文龙
Since the web site http://www.remastersys.com now seems to have disappeared permanently, the above instructions don't work as they rely on downloads from the website.

This is what I did to get a copy of Remastersys 3.0.4-2 running on Ubuntu 14.04

Go to this website: http://www.filewatcher.com
Search for, then download the following files:

remastersys_3.0.4-2_all.deb

remastersys-gui_3.0.4-1_i386.deb (32 bit)

remastersys-gui_3.0.4-1_amd64.deb (64 bit)

Install as follows:

sudo apt-get install plymouth-x11

sudo dpkg -i remastersys_3.0.4-2_all.deb

sudo dpkg -i remastersys-gui_3.0.4-1_i386.deb (32 bit)

sudo dpkg -i remastersys-gui_3.0.4-1_amd_64.deb (64 bit)

If you have un-met dependencies run:

sudo apt-get -f install

Launch Remastersys as follows:

sudo remastersys-gui

This will bring up the usual Remastersys GUI menu.

Hope this is useful. TLG  回复  更多评论
  
# re: 完美使用remastersys备份和还原系统 2015-12-16 18:57 聂文龙
光盘(官方寄来的光盘)安装ubuntu,出现提示:

BusyBox V1.1.3 (Debian 1:1.1.3-5ubuntu7) Built-in shell (ash)
Enter 'help' for a list of built-in Commands.
(initramfs)

----------------------


无法安装下去了。这种情怳我遇到过多次,一般是第一次安装在机器上,由于其它原因要格了从新进行第二次安装时就会出现这种情况,在网上找了很多地方也没找到解决的方法,今天终于找到了,重重地在此记上一笔。

方法如下:

进入安装界面后按F2选中文,然后按F6,在命令行的最后加上下面这一句后回车,后面的安装都顺利通过。

all_generic_idefloppy=off irqpoll



*off后面有一个空格,至于这一句在这代表什么意思我还没弄明白,以后再学习时弄懂它。

相信问题出现后一定有它的解决方法,只是我们要用合理的方法去寻找和探索。

----------------------

还有在安装好的ubuntu系统从启后会有“BusyBox”的情况发生,在这里也说一下。

这种情况(我目前还没遇到过)的解决方法如下:

开机后到原来的启动项:

----------------------

1 ubuntu 8.04kernl.2.6.22-16-generic

2 ubuntu 8.04kernl.2.6.22-16-generic (creovery.mode)

3 ubuntu.8.04 memtes86+

4 other operating systems
----------------------
选择上面的第1项“ubuntu 8.04kernl.2.6.22-16-generic”然后按e键进入编辑状态:

----------------------

1 root (hd0,4)

2 kernel /boot/vmlinuz-2.6.22-16-generic root=UUID=_ _ ro quiet splash

3 initrd /boot/initrd.img-2.6.22-16-generic

4 quiet
----------------------
选择第2项“kernel /boot/vmlinuz-2.6.22-16-generic root=UUID=_ _ ro quiet splash”按e键进入编辑状态。

用all_generic_ide替换quiet splash,如下:

----------------------

kernel /boot/vmlinuz-2.6.22-16-generic root=UUID=_ _ all_generic_ide

----------------------

按回车确认修改后回到了前面的的启动项,选第2项“kernel /boot/vmlinuz-2.6.22-16-generic root=UUID=_ _ all_generic_ide”,按b启动ubuntu,全部搞定。  回复  更多评论
  

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理