Customize a Distro with Remastersys

Remastersys是一款强大的工具,不仅可用于系统备份,还能帮助用户轻松定制自己的Ubuntu或Debian发行版。只需几步操作,即可完成个性化系统的安装盘制作。本文将介绍如何使用Remastersys创建定制化的Linux发行版。

Remastersys is a complete system backup tool, but it can also be used to create your own customized remix of an Ubuntu or Debian installation. Basically, you customize a running system and create an install disk that will recreate it. If you've ever wanted to create your own distribution, you won't believe how simple this is to use. Mikebuntu, here we come...

These examples all presume that you are basing your personalized remix on Ubuntu 10.10, as there are a few extra steps involved in the creation of a Debian remix.

The approach is very simple: you install a Linux system, alter it, run Remastersys and then deploy a customized installation disk that will recreate that altered system. The installer works in the normal Ubuntu way, so any files that were lying about in your original home directory, for example, won't be copied across. This also means that each program will be installed with clean, unaltered settings. There are, however, ways of including customizations, if you need to.

One handy way of working with Remastersys is to use it with a VM such as VirtualBox. This way, you install Debian or Ubuntu within a virtual machine, customize it, and Remastersys creates the installation disk for you. There is currently a 4GB limit to the size of the ISO file that it can create, which should be sufficient in most cases.

Once you have a fresh install of Ubuntu ready, begin by adding the Remastersys repository to the file /etc/apt/sources.list

# Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/

Then refresh the package list by either clicking on reload in Synaptic or by typing

sudo apt-get update

You can now customize away by adding and removing packages on the system. When you've got things how you want them, run Remastersys. Once you've installed it, using the package manager, it's located under the the Gnome system menu.

Here, you will be presented with a set of options to fine tune the installation disk. When you are ready, click on the “dist” option, and after much churning, an ISO file is created. Note that the default target location for the ISO is /home/remastersys/remastersys/, rather than in the personal home directory of the main user.

If you have carried this out within a VM, you will have to establish some sort of file sharing in order to get the ISO file back onto your host machine so that you can burn it to a disk. Boot from the disk in the normal way and you'll be presented with a fairly typical set of install options. The installation itself uses the standard Ubuntu installer.


The boot screen of a Remastersys installation disk.

This has been a quick overview of what Remastersys can do in terms of creating custom installation media. It's also a full system backup tool, and there is quite a lot of scope for further customizing the set of files that are copied during installation. Check out the Remastersys website for more details.

转载于:https://my.oschina.net/bin9e/blog/15376

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值