For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /general/recover_data_by_mounting_rescuecd.md.

Recover Data from a Crash by Mounting Rescue CD on a VPS

Mount the Rescue CD on Your VPS

Select the VPS

Log in to your CrownPanel account and select the VPS you need to recover data from.

Mount the Rescue CD

From the CD-ROM tab, select SystemRescueCD and mount it.

Mount Rescue CD

Launch the VNC Console

Launch the VNC console after mounting the Rescue CD and wait for the Rescue CD boot screen to appear.

You should see a screen similar to the following:

Select Default boot options

Select Rescue CD boot options

Press Enter to continue.

Rescue CD environment

You have now entered the Rescue CD environment.

Verify the Network

The network should be configured automatically. Use the following commands to verify the network details and connectivity.

nmcli

To view the network connections, run:

nmcli connection show

Network configuration

To verify that the network is up, run:

ping 8.8.8.8

Network connectivity test

Note

If the ping is successful, the network connection is working correctly.

Disable iptables

SystemRescueCD may have the iptables firewall enabled. Stop the iptables service with:

systemctl stop iptables

Stop iptables firewall

Mount the Disk

Set the Root Password

To connect to the VPS using SSH, set a root password with:

passwd root

Set root password

Warning

Keep the root password secure, as it will be used to access the Rescue CD environment through SSH.

Identify the Disk and Partitions

To identify the disks and partitions available on the VPS, use the following command:

fdisk -l

List disks and partitions

Output of Linux Operating System Partition:

Linux operating system partition

From the output, identify the partition containing the data you need to recover.

For example:

/dev/vda1 | Type "Linux"

Or:

/dev/vda2 | HPFS/NTFS/exFAT
Note

The largest partition generally contains the main filesystem and user data. Verify the partition details carefully before mounting it.

Create a Mount Point

Create a directory to use as the mount point:

mkdir hdd

Mount the Required Partition

Mount the required partition:

mount /dev/vda1 hdd
Warning

Replace /dev/vda1 with the correct partition identified using fdisk -l.

Access the Mounted Filesystem

You can now enter the hdd directory and list the files:

cd hdd
ls

Output of files contained in the Linux Operating System:

Linux filesystem files

Output of files contained in the Windows Operating System:

Windows filesystem files

You can now access the filesystem and recover the required files.

Recover the Data

Once the partition is mounted, you can connect to the VPS using SSH with the VPS IP address and recover the required files.