在更新我的联想笔记本电脑(T420)的BIOS时,我使用dd将可引导的映像写入闪存驱动器。我意外地使用了/dev/sdb (= SSD光盘三星EVO),阅读了/dev/sdc (=可移动闪存盘)。
我不关心SSD的数据。我的问题是,现在SSD光盘在Linux中不可见。
dmesg产出:
[ 14.199850] ata3.00: qc timeout (cmd 0x27)
[ 14.201284] ata3.00: failed to read native max address (err_mask=0x4)
[ 14.202667] ata3.00: HPA support seems broken, skipping HPA handling
[ 14.519801] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 14.521787] ata3.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 14.521794] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 14.523200] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 14.524786] ata3.00: supports DRM functions and may not be fully accessible
[ 19.575847] ata3.00: qc timeout (cmd 0x47)
[ 19.577266] ata3.00: READ LOG DMA EXT failed, trying PIO
[ 19.578616] ata3.00: NCQ Send/Recv Log not supported
[ 19.579947] ata3.00: ATA-9: Samsung SSD 850 EVO mSATA 250GB, EMT41B6Q, max UDMA/133
[ 19.581278] ata3.00: 488397168 sectors, multi 1: LBA48 NCQ (depth 32), AA
[ 19.582607] ata3.00: failed to get Identify Device Data, Emask 0x40
[ 19.582608] ata3.00: ATA Identify Device Log not supported
[ 19.583932] ata3.00: Security Log not supported
[ 19.585255] ata3.00: failed to set xfermode (err_mask=0x40)
[ 19.586571] ata3: limiting SATA link speed to 1.5 Gbps
[ 19.587870] ata3.00: limiting speed to UDMA/133:PIO3
[ 19.903876] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 19.905689] ata3.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 19.905696] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 19.906973] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 19.908418] ata3.00: supports DRM functions and may not be fully accessible
[ 24.951832] ata3.00: qc timeout (cmd 0x2f)
[ 24.953072] ata3.00: NCQ Send/Recv Log not supported
[ 24.954219] ata3.00: failed to get Identify Device Data, Emask 0x40
[ 24.954219] ata3.00: ATA Identify Device Log not supported
[ 24.955337] ata3.00: Security Log not supported
[ 24.956442] ata3.00: failed to set xfermode (err_mask=0x40)
[ 24.957521] ata3.00: disabled
[ 25.275901] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)我到目前为止发现的是:
是否有可能用dd命令永久销毁SSD光盘?
发布于 2020-04-22 14:05:15
不,您的物理磁盘不能被dd破坏。如果它长期使用,并且您已经用dd编写了最后一根数据,那么只需要使用Edge就可以将其耗尽。另一方面,数据和分区信息确实可以被销毁,在您的情况下是这样的!
重新启动后,在linux系统上尝试如下:
注意,parted在按enter键后立即执行操作,而fdisk则需要写命令。
sudo parted /dev/sdb (或以您的三星EVO磁盘为准)
mklabel loop (本质上删除任何类型的分区表)
此时,您可以将其保留为完全空白,并尝试重新启动以查看延迟等是否已经停止或继续对磁盘进行分区。
您也可以离开loop,不要做任何分区和mkfs.ext4 /dev/sdb --这有点新奇,但这是可能的。
但更有可能你会定义一个分区表,
mklabel gpt (关于efi系统)
mklabel msdos (关于bios系统)
然后做一个分区
mkpart (此时您可以跟踪向导)。如果是msdos表,选择ext4文件系统,启动0%,结束100%)
打印(查看新分区)
退出分离,
最后是mkfs.ext4 /dev/sdb1
当然,如果您想拥有ext4文件系统。
https://unix.stackexchange.com/questions/581768
复制相似问题