Linux data disk mounting: How to mount an NTFS/FAT32 data disk in a Windows partition

888u

Last update at :2024-05-12,Edit by888u

Tonight I met a blogger who said that when he purchased his VPS server, he chose to install the Windows system by default. Now after installing the Linux system, using the BT-Panel Linux automatic disk mounting tool to mount the data disk prompts an error and needs to be done manually. Delete NTFS partition. In fact, the BT-Panel Linux automatic disk mounting tool released a beta script at the end of October 2019. This script supports mounting NTFS/FAT32 partitions. You can choose to format the NTFS/FAT32 partition and automatically mount it. The script is reprinted here to share with fellow bloggers. If you still encounter the problem that the data disk cannot be mounted after installing the Windows system, you can directly use the following script to solve the problem.

1. Introduction to script functions

  • 1. If there is an NTFS/FAT32 partition, you can choose to format it and mount it automatically
  • 2. Added migration time statistics, based on 7200 rpm hard disk, if it is an SSD cloud disk, it will be much faster
  • 3. If ctrl+c is interrupted during migration, a manual migration command will be given
  • 4. Supports multiple disks and optional directory mounting

2. Mounting command

Mounting the data disk will format the hard disk. Please back up the data properly. We are not responsible for data loss.

Centos:

yum install wget -y && wget -O disk.sh http://download.bt.cn/tools/disk.sh && bash disk.sh

Ubuntu:

wget -O disk.sh http://download.bt.cn/tools/disk.sh && sudo bash disk.sh

Debian:

wget -O disk.sh http://download.bt.cn/tools/disk.sh && bash disk.sh

The /www directory is mounted by default. If you need to mount other directories, just add the mounting directory after the mount command. It must start with /. The following is an example of mounting the /website directory.

wget -O disk.sh http://download.bt.cn/tools/disk.sh && bash disk.sh /website

3. Pagoda Linux Panel

Pagoda Linux Panel is currently a relatively mature Linux system server management software in mainland China. It can quickly deploy a web operation and maintenance management page for the server with one click. It can visually install and deploy the website building environment, manage server files, etc. through the web management page. ! ! Using the Pagoda Linux panel, you can build a website on a Linux system server just like managing a virtual host.

If you are interested in the Pagoda Linux panel, you can check out the following article. The Pagoda Linux panel has free and paid versions. The free version is sufficient for general website building purposes. If you need the professional version of the Pagoda Linux panel, you can get the value through the following article. 3188 yuan gift package! ! The professional version of Pagoda Linux Panel can be tried for 0.99 yuan for one month.

Recommended site searches: virtual host evaluation, free domain name, free static space, cn domain name, cloud server free for one year, registered domain name free website application domain name, Hong Kong server rental 99idc, Hong Kong virtual host space, com domain name registration,

Linux data disk mounting: How to mount an NTFS/FAT32 data disk in a Windows partition

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码