adding a block device as windows drive

Questions about Wine on Linux
Locked
coogor
Newbie
Newbie
Posts: 4
Joined: Tue Aug 20, 2019 10:14 am

adding a block device as windows drive

Post by coogor »

Hello,

I have a MicroSD card in my Laptop:
docb@X1E:~> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 29,7G 0 disk
└─mmcblk0p1 179:1 0 29,7G 0 part

How can I announce this to a drive (D:\ or whatever) in wine? It does not detect this automatically.

Thanks!
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: adding a block device as windows drive

Post by spoon0042 »

in general wine will map any mounted disks to a drive letter when wine starts

if there's already a filesystem on it and you have it mounted under /media/ or somewhere you can run winecfg to see if it's there and change the drive letter or possibly other things, or try to add it manually if it's not detected automatically
coogor
Newbie
Newbie
Posts: 4
Joined: Tue Aug 20, 2019 10:14 am

Re: adding a block device as windows drive

Post by coogor »

Thank you. I could see that the Card is mapped as drive J:\
However, the program does not find it.

I had started a thread here: https://lists.opensuse.org/archives/lis ... 4IIZKXSW6/ but unfortunately this did not offer any solution either.
Does it give you an additional idea?
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: adding a block device as windows drive

Post by spoon0042 »

hm. unfortunately the one comment there may be right, if the program is attempting to access the card directly by the hardware device rather than through the filesystem it is unlikely to work

it's hard to know from just a quick look though. it is checking drives from what i can see; it's a long shot but if nothing else you could try setting the drive type manually in winecfg to 'floppy disk'
Locked