balena-os / resin-device-toolbox

[DEPRECATED] The official Resin Device Toolbox CLI for resinOS
Apache License 2.0
14 stars 3 forks source link

Error when using rdt to configure existing image #55

Open BrianAdams opened 7 years ago

BrianAdams commented 7 years ago

Image is the Raspi3 Betav5 based image

Error when

Babs:rov-image-resin brian$ sudo rdt configure /dev/disk2
? Network SSID mysid
? Network Key mykey
? Do you want to set advanced settings? Yes
? Device Hostname briandev
? Do you want to enable persistent logging? No
EBUSY: EBUSY: resource busy or locked, open '/dev/disk2'

If you need help, or just want to say hi, don't hesitate in reaching out at:

    GitHub: https://github.com/resin-os/resin-device-toolbox/issues/new
    Gitter: https://gitter.im/resin-io/chat
lekkas commented 7 years ago

Hey @BrianAdams ,

Thanks for reporting this. The specific issue is related to https://github.com/resin-os/resin-device-toolbox/issues/32 and it looks like the issue can be traced back to an internal module we are using. I've opened an issue there as well (https://github.com/resin-io/reconfix/issues/7) so feel free to subscribe to it to get real time updates on our progress.

lekkas commented 7 years ago

Hey @BrianAdams ,

We have released resin-device-toolbox@0.0.8 which should address this issue. Can you please reinstall rdt with

and try reconfiguring the SDCard again?

BrianAdams commented 7 years ago

Till breaking on 0.0.8

>rdt version
0.0.8
>sudo rdt configure /dev/disk2
? Network SSID XXXXXXX
? Network Key YYYYYYYYY
? Do you want to set advanced settings? Yes
? Device Hostname ZZZZZZ
? Do you want to enable persistent logging? No
EBUSY: EBUSY: resource busy or locked, open '/dev/disk2'

If you need help, or just want to say hi, don't hesitate in reaching out at:

    GitHub: https://github.com/resin-os/resin-device-toolbox/issues/new
    Gitter: https://gitter.im/resin-io/chat
lekkas commented 7 years ago

@BrianAdams This is strange - can you please try cleaning the cache and reinstalling with

and let us know if you still reproduce the issue. Also, what OS are you using?