Linux system for remote network reload of physical server

Source: Internet
Author: User

This article describes how to remotely reload a Linux operating system on a Linux standalone server without a console connection, no physical contact, and only a TCP/IP network connection.

We call the pre-reload Linux system for the old Linux system, after reloading the Linux system for the new Linux system.

To implement remote reloading, the old Linux system must be able to log in normally ssh. The old Linux system can be any Linux version, now Linux is usually the Grub boot manager, the old Linux system used in this article is CentOS 5.

The new Linux system must be either Centos,rhel or fedora, either 32-bit or 64-bit. These Linux support VNC installations.

First log in to the server, download the following 2 files to the server's/boot directory:
http://mirror.centos.org/centos-5/5/os/ I386/IMAGES/PXEBOOT/INITRD.IMG
http://mirror.centos.org/centos-5/5/os/i386/ IMAGES/PXEBOOT/VMLINUZ
These 2 files are 32-bit CentOS 5.5 kernel files, and these 2 files will start the installation of the new Linux system. If the new Linux system is a different version of Linux, you will need to download the appropriate version of the kernel file.

fedora 14 files need to be downloaded in http://nas1.itc.virginia.edu/fedora/releases/14/fedora/x86_64/os/images/...
64 CentOS need to download files in  http://mirror.centos.org/centos-5/5/os/x86_64/images/pxeboot/

Modify the server's/boot/grub/grub.conf file, in this configuration file, add the following startup items:

title CentOS re
kernel/vmlinuz vnc vncpassword=12345678 headless ip=10.36.64.238 netmask=255.255.255.0 gateway=10.36.64.254 dns= 10.36.10.8 hostname=0map238 ksdevice=eth0 method=http://10.36.64.202/iso/centos-5.7-x86-64/lang=
en_us keymap=us

Summary: It is important to note that the parameters in the above startup items should be adjusted according to the actual situation. For example, the root parameter is consistent with the other root parameters in grub.conf, the path after the kernel parameter and the INITRD parameter (whether/ boot) should also be consistent with other entries in grub.conf, IP address, subnet mask and gateway address must be consistent with the server, Ksdevice is the primary network card, the address behind method is the installation file address of the new Linux system. If there is an error in these configurations, the remote installation will fail.

Double-check the previous work you have done, make sure that it is foolproof, and then perform a reboot reboot on the server and choose CentOS Re to enter. After about a few minutes, connecting via VNC to the 10.36.64.238:1,vnc password is 12345678, you can start installing Linux. :

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/74/42/wKiom1YXWO6CnHc7AAIqBDCx-7o400.jpg "title=" Vnc.jpg "alt=" Wkiom1yxwo6cnhc7aaiqbdcx-7o400.jpg "/>

Linux system for remote network reload of physical server

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.