How to Mount LiveCD ISO in Centos 7

How to Mount LiveCD ISO in Centos 7



Why we required to Mount LiveCD ISO

In some cases we need to mount liveCD. Suppose you are working on live server and by mistake you deleted some of OS file or due to any reason unable to boot server. In this case you can mount liveCD of that OS and access server. Here we will discuss about Microhost Cloud server.

Solution:-

Step:- 1.

(i) Download LiveCD ISO on microhost cloud platform using feature β€œISO”

(ii) In ISO section you will get three option "Datacenter,Downlaod URL of your LiveCD iso and Name"

Step:- 2. Attach liveCD on server using iDRAC or physically or from the Microhost platform and boot server from LiveCD.

Step:- 3. Goto Microhost cloud server console on which server we have attached LiveCD and select option β€œStart CentOS Linux 7 Liveβ€œ.

Step:- 4. Configure network on server using command line or GUI.

Step:- 5. Now you need to open terminal onliveCD GUI and reset the password of liveruser.

sudo passwd liveuser

Step:- 6. Enable and start sshd service from below command.

sudo systemctl start sshd

Step:- 7. Now you can access the server using ssh from user liveuser.

Step:- 8. Mount your server drive on liveCD using below command.

sudo mount /dev/vda1 /mnt

Step:- 9. Now goto liveuser/usr directory and copy the data of /usr or directory which deleted or corrupted of your server.

cd /usr
sudo cp -r * /mnt/usr/

Step:- 10. Poweroff and disattached or unmount liveCD from server.

Now you can access your server using ssh from any system or desktop.


    • Related Articles

    • How to reset forgotten root password in centos 7/8

      First, reboot or power on your CentOS 8 system. Select the kernel that you want to boot into. Next, press ‘e’ to interrupt the boot process and make changes. Replace the kernel parameter ro with rw and append an extra kernel ...
    • Install CWP in Centos 7

      CWP is an free and paid license based hosting panel for managing website database,emails,file,etc using a single Panel. In this article we will discuss how to install CWP in Centos 7 Software Requirements You must have a clean/fresh installation of ...
    • Install VnStat Network Monitoring on CentOS 7

      Console based network traffic monitoring This article will help you install VnStat network monitoring on your CentOS 7 server. VnStat is console based network traffic monitor for Linux. This will help monitor multiple interfaces at the same time. ...
    • How to Connect Node.js Application with MongoDB on CentOS

      This article will help you to connect Node.js application with MongoDB. Also, configure MongoDB drive for nodejs using Mongoose node application on CentOS and Redhat systems. Prerequsities We assume that Node.js and MongoDB are already installed on ...
    • INSTALLATION AND CONFIGURATION OF APACHE TOMCAT 9 ON CENTOS 7

      Apache Tomcat program is an open-source application of Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. Under the Java Community Process the Java Servlet, JavaServer Pages, Java Expression Language and Java ...