LINUX如何挂载新硬盘_Linux系统fdisk分区与mount挂载的完整步骤

首先使用 fdisk -l 检查磁盘,接着用 fdisk /dev/sdX 分区,然后通过 mkfs.ext4 格式化,最后创建挂载点并执行 mount 命令挂载硬盘。

If you cannot mount a new hard drive on Linux, follow these steps: 1. Use `fdisk -l` to check the disk. 2. Partition with `fdisk /dev/sdX`. 3. Format using `mkfs.ext4`. 4. Create a mount point and use `mount` to attach the drive.