You are not logged in.
Pages: 1
Hello,
I have a thinkpad T480 with a sd-card reader. This one is detected as /dev/sda even when there is no SD card in it.
When I insert a sd card who already has a partition, I can mount those partitions like /dev/sda1, /dev/sda2 etc.
The problem is that, when I want to dd a sd-card with for example some raspbian stuff, because of the fact that SDA is the reader and not the actual disk, I can't dd it or even fdisk it (yes, I watched for the SD read-only switch and was in root to dd)
Is there something I can do or will I have to buy an external sd-card reader?
Offline
Welcome to Arch Linux ![]()
You saying that the SD card reader, without media installed in it, appears as /dev/sda . I have never heard of such a thing.
What are the output of lspci and of lsusb ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Hello :-) (I was already on arch since 2 years ago)
So here is the output of those two commands : https://adct.be/output
And yes, if there is no SD card in it and I ls /dev, I can see /dev/sda and if I lsblk, I don't see it. But If I put a SD card in it, it appears in lsblk under /dev/sda.
Offline
My external multicard reader does sth. similar. When attached it registers as /dev/sd{c-f} (cause a & b are taken)
The failing device access is weird, though - what's the output if you run "dmesg -w" and insert a disk?
Can you boot the system w/ an sd card inserted (but not *from* that disk) - can you fdisk/dd onto it in that case?
You could also try to rebind the device, https://zedt.eu/tech/linux/restarting-u … em-centos/ (the link doesn't include the lsusb output, but I don't see a card reader in the pci list on a brief glance)
Offline
here is the output from dmesg :
[48006.463699] sd 0:0:0:0: [sda] 15644672 512-byte logical blocks: (8.01 GB/7.46 GiB)
[48006.465631] sda: sda1
I still need to try to boot with it (Current work in progress so I cannot turn it off right now)
Offline
[48006.465631] sda: sda1Sure it doesn't just create the drive as sda1, regardless of the missing partition? (Or is there a partition on this device?)
Offline
Yes, there already is a partition on the SD card. I f there isn't, it won't appear
Offline
it works when I boot with sd card loaded
Offline
Try rebinding the device and see whether (and how) the device file differs ("stat") when working and when not.
Also post lsusb so that we learn what kind of reader that actually is.
Offline
Pages: 1