Help & DocumentationCloud Virtual MachineOps GuideMount Data DisksRead/write EXT Data Disks after Reinstalling a Linux CVM to Windows CVM

Read/write EXT Data Disks after Reinstalling a Linux CVM to Windows CVM

Last updated: 2020-02-25 11:44:46

PDF

Scenario

This document introduces Linux Reinstall the system After Windows, the operation method of reading the data disk data under the original Linux system on Cloud Virtual Machine.
The Windows file system format is usually NTFS or FAT32, while the Linux file system format is usually the EXT series. When the operating system changes from Linux Reinstall to Windows, the operating system type has changed, but the data disk is still in the original format, and the system after Reinstall may not be able to Access data disk file system. Format conversion software is needed to read the original data.

Prerequisites

Download and install DiskInternals Linux Reader on the reinstalled Windows CVM.
How to obtain DiskInternals Linux Reader software: http://www.diskinternals.com/download/Linux_Reader.exe

  • It is known that Cloud Virtual Machine data disk mounted to Linux by Reinstall has two partitions: vdb1 and vdb2. as shown below:

Directions

Data disk mount

If the data disk is mounted, you can skip this step.

  1. Log in to the Tencent Cloud CVM Console .
  2. Among Left sidebar, select [HDD cloud disk] to enter the HDD cloud disk management page.
  3. Select the instance row of the Reinstall system, and click * * more * *-> * * Mount * * on the right.
  4. In the pop-up window, select Windows Cloud Virtual Machine after Reinstall, and click OK.

Viewing Data Disk Information

  1. Run the DiskInternals Linux Reader software to view the information of the data disk that has just been mounted. /root/mnt and /root/mnt1 There are two partitions of vdb1 and vdb2 of Cloud Virtual Machine data disk in the former Linux of Reinstall. as shown below:
    To perform read and write operations on the data disk as you do on a Windows data disk, back up the files you need and then re-format the disk into a standard type supported by Windows operating system. For more information, please see Data Disk Partitioning and Formatting on Windows System .


2. Double-click to enter /root/mnt Within Directory, right-click the file you want to copy, select [Save], and save the file.