我创建了一个 Linux 内核,出于某种原因,总是在启动时添加一个额外的驱动器。
我的硬盘被列为/dev/sdb。 /dev/sda也已创建,大小为 8 MB。我在创建它的内核配置中找不到任何东西,但是如果我使用不同的内核,它就不存在。内核日志显示它是一个附加的 SCSI 设备,看起来就像我的硬盘,但只有 8 MB,并且没有分区表。它似乎也不是物理设备。我已经在许多不同型号的 PC 上尝试过内核,它总是存在。
有谁知道如何删除它?
/dev/disk/by-id 给我:
scsi-1AMCC_U21413034D98EB000584
scsi-1AMCC_U21413034D98EB000584-part1
scsi-353333330000007d0
scsi-SATA_ST3250312AS_5VY7SH42
scsi-SATA_WDC_WD800JD-60L_WD-WMAM9Y085675
scsi-SATA_WDC_WD800JD-60L_WD-WMAM9Y085675-part1
scsi-SATA_WDC_WD800JD-60L_WD-WMAM9Y085675-part2
Run Code Online (Sandbox Code Playgroud)
hdparm -i /dev/sda 给了我一个“无效的论点”。
dd if=/dev/sda of=sda.img 生成的文件没有任何内容
sdparm results:
Run Code Online (Sandbox Code Playgroud)/dev/sda: Linux scsi_debug 0004 Device identification VPD page: Addressed logical unit: designator type: T10 vendor identification, code set: ASCII vendor id: Linux vendor specific: scsi_debug 2000 designator type: NAA, code set: Binary 0x53333330000007d0 Target port: designator type: Relative target port, code set: Binary transport: Serial Attached SCSI (SAS) Relative target port: 0x1 designator type: NAA, code set: Binary transport: Serial Attached SCSI (SAS) 0x52222220000007ce designator type: Target port group, code set: Binary transport: Serial Attached SCSI (SAS) Target port group: 0x100 Target device that contains addressed lu: designator type: NAA, code set: Binary transport: Serial Attached SCSI (SAS) 0x52222220000007cd designator type: SCSI name string, code set: UTF-8 transport: Serial Attached SCSI (SAS) SCSI name string: naa.52222220000007CD