Ubuntu 16.04.2 LTS PXE fully automatic installation

Source: Internet
Author: User

Ubuntu 16.04.2 LTS PXE fully automatic installation

The version used is Ubuntu-16.04.2-server-amd64.iso (829M)


1. Copy the install\netboot\ubuntu-installer folder from the CD to the TFTP root directory.

Set up the Ubuntu directory under the TFTP root directory, Ubuntu-16.04.2-server-amd64.iso extract it to this folder


2. pxelinux.0 Linux initrd under the \install\netboot\ubuntu-installer\amd64\ directory Three files are copied to the TFTP root directory. Also copy the Pxelinux.cfg folder in the past.


3, the \install\netboot\ubuntu-installer\amd64\boot-screens\ directory under the ldlinux.c32 libcom32.c32 libutil.c32 vesamenu.c32 menu.cfg four files to the TFTP root directory.


4. Copy the syslinux.cfg file under Install\netboot\ubuntu-installer\amd64\boot-screens to

D:\tftpboot\pxelinux.cfg directory, and reset to default (no suffix required)


5. Copy the tftp root \ubuntu\preseed\ubuntu-server.seed to the TFTP root directory.

Such as

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/97/88/wKiom1kvhGiBKHW5AAIDrUmW1U4412.jpg "title=" Snapshot 110.jpg "alt=" Wkiom1kvhgibkhw5aaidrumw1u4412.jpg "/>

========================================================================================================

Baidu Network Disk Complete installation package, after downloading the modified to your IP address, you can directly use, no need to configure. also be sure to look at the usage instructions in the compression pack.

Link:http://pan.baidu.com/s/1mh95tTQ Password:qo0t


For example, using the tool directly, he integrates the HTTP and Tftp\dhcp features, and the PXE installation system uses it, which is a convenient thing.

Configure by diagram

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/97/89/wKioL1kvhN7RxmYGAAEixBzOjVk240.jpg "title=" Snapshot 111.jpg "alt=" Wkiol1kvhn7rxmygaaeixbzojvk240.jpg "/>


PXE installation start as, directly press ENTER to start the installation, the whole process without pressing any key, installed, will automatically re-open, and Ubuntu into the system.

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/97/88/wKiom1kvhoOSrrMeAABk4_6Wrqo784.jpg "title=" Snapshot 112.jpg "alt=" Wkiom1kvhoosrrmeaabk4_6wrqo784.jpg "/>


1, modify the Ubuntu_16.04pxe_setup\ks.cfg file, find the following paragraph. Change to your own server IP address.

URL--url http/192.168.10.200/ubuntu


2, modify the Ubuntu_16.04pxe_setup\ubuntu-server.seed file, find the following paragraph. Change to your own server IP address.

D-i live-installer/net-image string/http/192.168.10.200/UBUNTU/INSTALL/FILESYSTEM.SQUASHFS

D-i Pkgsel/include String Openssh-server


3, modify ubuntu_16.04pxe_setup\ubuntu-installer\amd64\boot-screens\txt.cfg

, find the following paragraph. Change to your own server IP address.

Append ks=http://192.168.10.200/ks.cfg preseed/url=http://192.168.10.200/ubuntu-server.seed netcfg/ get_nameservers=8.8.8.8


4, automatic installation, need automatic partition partition, no installation x desktop system. After loading is the command line mode, the partition size is as follows

/root 500M

/swap 4096M

/Remaining space


5, the system installed the following tools, you can use Putty software ssh login into the Ubuntu system.

Penssh-server

Openssh-client

Vim


Reference articles

Http://www.cnblogs.com/danxi/p/6181479.html


by Evan.li 2017.06.01 Test OK.

This article is from the "Virtualized apps" blog, so be sure to keep this source http://liwenhn.blog.51cto.com/854522/1931251

Ubuntu 16.04.2 LTS PXE fully automatic installation

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.