How to create custom exclusive UbuntuLiveCD

Source: Internet
Author: User
Ubuntu versions are updated frequently. Have you ever thought about creating your own UbuntuLiveCD? In fact, it is easier to create your own Ubuntu version than you think. This article will introduce how to use UbuntuImager to create an exclusive UbuntuLiveCD. Why do we need to customize UbuntuLiveCD? To meet the needs of different users and cover users more extensively, Ubuntu has released many versions of derivatives. However, it is difficult to make public remarks.

Ubuntu versions are updated frequently. Have you ever thought about creating your own Ubuntu Live CD? In fact, it is easier to create your own Ubuntu version than you think. This article will introduce how to use Ubuntu Imager to create an exclusive Ubuntu Live CD.

Why do we need to customize Ubuntu Live CD?

To meet the needs of different users and cover users more extensively, Ubuntu has released many versions of derivatives. However, the official version does not meet the needs of all users. We usually customize the system after selecting the most matched version. If we can customize the exclusive Ubuntu Live CD based on our own hardware environment and software requirements, it will be convenient and personalized to use directly after installation.

Distroshare.com is a website dedicated to helping users build personalized and exclusive Ubuntu. Using the tools they provide, the creation process will become very simple.

Distroshare Ubuntu Imager script

There was previously a tool called remastersys that could help us create a Live CD. It has been a long time since the project was stopped. Fortunately, distroshare.com developed a Distroshare Ubuntu Imager (Bash) script, which can help us automate most of the processes for creating Ubuntu Live CD, you only need to edit and execute the script configuration to create an exclusive Ubuntu Live CD.

Distroshare Ubuntu Imager is hosted on GitHub. We can use the following command to download it back:

  1. Cd/tmp/
  2. Wget https://codeload.github.com/Distroshare/distroshare-ubuntu-imager/zip/master

Run the following command to decompress the package:

  1. Mv master distroshare-ubuntu-imager-master.zip
  2. Unzip distroshare-ubuntu-imager-master.zip-d/tmp/folder
Modify configuration file

After decompression, we need to modify it as needed.Distroshare-ubuntu-imager.configConfiguration file to create an exclusive Ubuntu Live CD that meets our requirements.

After browsing the extracted directory, we can see two main files:

  • Distroshare-ubuntu-imager.config: profiles for custom Live CD
  • Distroshare-ubuntu-imager.sh: Automated scripts for generating custom Images

You can useViOrNanoTo modify the distroshare-ubuntu-imager.config configuration file, which of the various configuration options is actually very clear, the official provides a very meticulous comment information.

The GTK option defines whether to install GTK or Qt.NO

  1. GTK = "YES"

WORK defines the script's working directory and the generated ISO storage directory.

  1. WORK = "/tmp/folder"

If you need to support EFI, you can change itYES

  1. EFI = "YES"

By default, the script creates a Live CD with the Kernel version used by the current system. If you want to specify the Kernel version, you can change the following Configuration:

  1. KERNEL_VERSION = "specify the kernel version number"

The official comments have been clearly written, so I will not introduce them one by one.

Execute scripts
  1. Sudo./distroshare-ubuntu-imager.sh

After the packaging script is executed, it will automatically read the configuration file we just changed and create the necessary directory. After all the configurations are automatically processed, it will clear the temporary files and compress the packaged ISO files.

Create boot USB flash drive

After an ISO image is generated, it can be engraved on a CD, used on a VM, or run directly from grub. Of course, you can also run the following command to write it to a USB disk for startup:

  1. Dd if = live-cd.iso of =/dev/sdX bs = 1 M

/Dev/sdXFor your U disk path, if you are afraid of wrong writing, you can also write it as we teach you how to create Ubuntu to install U disk.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-10/123785.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.