Make your own Ubuntu image

This article provides a method to mirror your current operating system. The created iso file can be re-burned and installed in a new place, and the system can be restored to the system when the image was created. At the same time, some implementations are also provided for reference. I have only tested the method here under Ubuntu14.0_desktop, and there should be no problem with other ubuntu systems.

Method 1: Use the Remastersys tool

To make a mirror, you only need to install and use this tool. However, since this tool stopped maintenance before 2010, most of the connections have failed. This article provides a download link.

Remastersys installation

1. Download tool Remastersys download address, here provides 64-bit deb installation package Extraction password: 944s
2. Repair dependencies (some systems may not need it, but all I have tried)

sudo apt-get -f install

3. Install the software

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

make a mirror

1. Execute the command to create an image and wait for the image to be created

sudo remastersys backup

2. After the production is completed, you will see the remastersys folder under /home, and the created image will be placed in it, then you can use this image.

Introduction to Remastersys Tools

Except for the proprietary display driver (and other proprietary hardware drivers), Remastersys replicates everything exactly as it is set in the system. So start by customizing your assignments with a single user. (If you wish to put your revised distro on CD, it is recommended that you keep your installation under 2 GB, possibly larger if you plan to use DVD.)

The custom distribution (dist) option does not preserve any files in the /home directory (or even any user). After custom disc installation, a new user must be created. Therefore, please do not include any critical files or features that require user retention. (If so, use the backup option instead).

Therefore, there are two ways to use the tool:
1. Method 1: Do not back up any users and user-related files sudo remastersys dist
2. Method 2: Backup all users and user-related filessudo remastersys backup

If you still don't understand, please read the original text of Ubuntu's introduction to remastersys

Method 2: Modify the image file directly

I have tried this method without success, maybe my skill is not enough, so I give the original text of the ubuntu community , and students who understand it are welcome to give a tutorial on this method.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325920770&siteId=291194637