1

When I try to mount /dev/sdb1 or /dev/sdb2 (which is my usb drive), I get this error:

doas mount /dev/sdb2 /mnt/usbdrive
mount: mounting /dev/sdb2 on /mnt/usbdrive failed: Invalid argument

I've tried to use different mount points like /run/media and /media, but it gives the same error. Help would be appreciated

3
  • What's in your /etc/doas.conf? What does sudo dmesg | grep mount show? Mar 23, 2023 at 21:53
  • Try specifying the type of filesystem.
    – sawdust
    Mar 24, 2023 at 1:35
  • Just had this same issue and before I had a chance to validate which version I was using, I had a suspicion that the busybox mount was the culprit and ran apk add mount. Then it worked.
    – papiro
    Feb 29 at 5:21

0

You must log in to answer this question.

Browse other questions tagged .