Linux mistakenly deleted bin directory installed under VMware recover successfully (whole process) avoid various pits

Source: Internet
Author: User

    1. Load the system mount ISO image, set the CD drive to boot, click on the VMware menu bar, virtual machine-power-Enter the firmware when the power is turned on.

    2. Enter the system rescue mode (select the 3rd option) the network card needs to be configured on IP or cannot access the FTP server, note: The wildcard character after the IP is generally written, enter the following prompt for

bash-4.1#

bash-4.1# CD the/mnt/sysimage directory.

    1. Package Other bin files that normally start the Linux machine (the system version is the same) to be packaged in. tar format (7ZIP can be installed under Windows system For packaging, the Linux system uses the tar CVF bin.tar command on the line).

    2. Create a new FTP server, I am filezilla server normal boot Linux machine Normal startup Linux machine

    3. No matter what it is, the end is to copy the bin file to bin binary mode transfer.

bash-4.1# FTP //shell Enter the FTP command, enter the FTP prompt

FTP >open IP PORT //IP, port corresponds to the IP and port number of the server

name (ip:root): User name //user Name Enter the FTP user name

Password: //Enter FTP password

ftp> bin //Binary mode transfer

ftp> Get Bin.tar //File Download

Ftp>exit

bash-4.1#

you can unzip it. , unzip with tar xvf Bin.tar

Bash-4.1#tar XVF Bin.tar

    1. Restart the BIOS and change back to the hard drive.


This article is from the "Bing Bing Hut" blog, please be sure to keep this source http://bbhome.blog.51cto.com/244485/1963459

Linux mistakenly deleted bin directory installed under VMware recover successfully (whole process) avoid various pits

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.