PartialVolume / shredos.x86_64

Shredos Disk Eraser 64 bit for all Intel 64 bit processors as well as processors from AMD and other vendors which make compatible 64 bit chips. ShredOS - Secure disk erasure/wipe
Other
1.36k stars 57 forks source link

Asus laptop HDD not recognized #260

Open Aljs52 opened 1 month ago

Aljs52 commented 1 month ago

Hello. I'm currently trying to wipe my laptop's main HDD using schredos in a ventoy USB. However, It only shows the usb stick which I used to boot and not the other drive.

Laptop is an Asus Rog Gl753VD with lastest bios version and I'm also using schredos lastest version (v2024.02.2_26.0_x86-64_0.37). I tried dissabling fast startup and secure boot and making sure AHCI is enabled. I'm I missing something? Thanks.

Edit: Typo

PartialVolume commented 1 month ago

In shredos, can you ALT F2 and run lspci and post the output so I can see what PCI hardware is installed. Does sound like a BIOS setting, but you've enabled AHCI which is often the cause.

Aljs52 commented 1 month ago

lspci returns the following output.

IMG_20240708_215415

Also, AHCI is actually the only SATA config I can select in BIOS. Is this expected in a laptop?

PartialVolume commented 1 month ago

Apologies, can you rerun the command as follows: lspci -nn -k This will show me the device IDs and which drivers are loaded. Thanks

Aljs52 commented 1 month ago

Sure thing.

IMG_20240709_090814_1

PartialVolume commented 1 month ago

Interesting I would have expected the HM170/QM170 to be bound to the ahci driver, unfortunately it doesn't appear to be bound to any driver. lspci_crop_Screenshot_20240709_120213

Can you try binding the ahci driver to the HM170 device with the following command echo 0000:00:17.0 > /sys/bus/pci/drivers/ahci/bind

Run fdisk -l. Does fdisk now see the missing drive? Alternatively ALT F1 back to nwipe, do a control C to abort, at the prompt, press spacebar to restart nwipe. Does the drive appear? Don't reboot ShredOS as the bind command isn't saved across reboots, at least I don't think it is, but I don't know that for certain.

PartialVolume commented 1 month ago

Also can you post the output of dmesg.txt that you should find on the ventoy flash drive. That may hopefully show an attempt to bind the ahci driver to the SATA controller.

Aljs52 commented 1 month ago

The echo command returns write error: Transport endpoint is not connected and no extra driver is recognized afterwards.

PartialVolume commented 1 month ago

Does dmesg.txt also contain this error? Do any live distros like ubuntu see the disk? What's the history of this laptop, I'm just wondering if it's a hardware fault or a buggy driver with this specific hardware? Was this running Windows or Linux before? Is the disc recognised in the bios?

PartialVolume commented 1 month ago

Can you also confirm what storage you have, the specs say a 1TB HDD and a 128 or 256GB SSD M.2/AHCI, is that correct?

Aljs52 commented 1 month ago

The 1TB HDD is recognized by the bios and when live booting ubuntu 24.04. Right now it has a windows 10 system installed with the usual partitions. However, I do not have any SSD installed, although the motherboard has one slot for it.

I'll post the dmesg.txt file so you can have a look into it. I believe there is information related to the command at the end of it, but I'm not tech savvy enough to know what's relevant.

dmesg.txt

PartialVolume commented 1 month ago

Thanks. I'm wondering if this could be a bug in the 6.6.x kernel, does either of the previous two ShredOS releases (with kernels 6.4.16 and 5.13.19 detect the drive?

Aljs52 commented 1 month ago

I tried with shredos 0.35 and 0.34 and remains the same.

Aljs52 commented 1 month ago

When booting schredos 0.34 the following prompt is given.

IMG_20240710_142625

PartialVolume commented 1 month ago

Good to know that Ubuntu live detects the drive. Can you boot Ubuntu live again and run lspci -nn -k and also uname -a

I can then see if I should include some extra drivers, like the Intel management driver.

Thanks.