OpenBSD安装Shell中USB设备已识别但/dev目录未生成对应节点的求助
Hey there, let's work through this USB device issue you're hitting during your OpenBSD 7.3 install—total bummer when the system sees your drive but you can't actually access it to grab that firmware, right?
First, let's recap what we know: your dmesg confirms the system recognizes the SanDisk Cruzer Blade as sd1, but the /dev node isn't showing up. Here are some troubleshooting steps to try:
Double-check the /dev directory with a targeted listing
Sometimes it's easy to miss the device when scrolling through a long directory list. Run this command to filter only SD-related devices:ls /dev/sd*This will show all disk devices starting with
sd—ifsd1exists, it should pop up here. Since your USB is FAT32, it likely has at least one partition, so you might see something likesd1a(for an MBR partition) orsd1i(for a GPT EFI partition) instead of justsd1.Trigger a devfs rescan to force node creation
OpenBSD's devfs might not always auto-create the node immediately after device detection. Try running this command to rescan the device tree:devctl rescanAfter running it, re-run the
ls /dev/sd*command to see if the node shows up now.Verify the disk's partition structure
If the disk node exists but you can't find the partition, usefdiskto check the partition table onsd1:fdisk sd1This will show you all partitions on the USB drive. Look for the one labeled as FAT32 (it'll show a type code like
0bor0cfor MBR, oref00for GPT EFI). Once you have the partition identifier (likeafor the first MBR partition), you can mount it with:mkdir -p /mnt mount -t msdos /dev/sd1a /mntReplace
sd1awith your actual partition node if it's different.Check for disk initialization issues
In rare cases, the installer might not fully initialize the disk device. Try manually attaching it with:devctl attach sd1Then check
/devagain for the node.
Once you can mount the USB drive, you'll be able to copy the iwm firmware files to /etc/firmware as needed. Let me know if any of these steps work, or if you hit new errors!
备注:内容来源于stack exchange,提问作者Valiant

