NVMe磁盘无法格式化、分区操作失败的Linux安装问题求助
NVMe磁盘无法格式化、分区操作失败的Linux安装问题求助
大家好,我现在正尝试在损坏的Windows 10系统上安装Linux,但遇到了棘手的问题——用Live USB启动后,不管是删除旧分区还是格式化磁盘,所有操作都以失败告终。
具体遇到的问题:
格式化分区失败:尝试将LENOVO分区格式化为NTFS时,弹出错误:
Input/output error during write on /dev/nvme1n1fdisk操作无法生效:我尝试用fdisk删除分区,操作过程如下:
$ sudo fdisk /dev/nvme1n1 Welcome to fdisk (util-linux 2.37.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): d Partition number (1-5, default 5): 4 Partition 4 has been deleted. Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Re-reading the partition table failed.: Device or resource busy The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8).我已经试过运行
partx和partprobe命令,也重启过系统,但问题依旧,分区表还是无法更新。dd擦除分区异常:我还尝试用dd命令擦除目标分区,执行命令:
sudo dd if=/dev/zero of=/dev/nvme1n1p4 bs=4096 status=progress得到的输出显示空间不足,但实际上这个分区的容量就是25GiB左右,输出内容如下:
26830630912 bytes (27 GB, 25 GiB) copied, 721 s, 37.2 MB/s dd: error writing '/dev/nvme1n1p4': No space left on device 6553601+0 records in 6553600+0 records out 26843545600 bytes (27 GB, 25 GiB) copied, 721.273 s, 37.2 MB/s
现在我完全没办法对这块NVMe磁盘进行格式化或分区修改,有没有朋友能帮我分析下问题原因,或者提供可行的解决办法?
备注:内容来源于stack exchange,提问作者RobinFrcd




