Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

godd doesn't work under Windows #8

Open
gahcep opened this issue Jul 12, 2016 · 1 comment
Open

godd doesn't work under Windows #8

gahcep opened this issue Jul 12, 2016 · 1 comment

Comments

@gahcep
Copy link

gahcep commented Jul 12, 2016

Hi, thanks for the tool.

I tried to flash raspbian image to a micro-sd card and failed. It seems that godd treats the Driver Letter differently from the Block Device on Linux.

I tried the following:

godd.exe 2016-05-27-raspbian-jessie-lite.img E:
godd.exe 2016-05-27-raspbian-jessie-lite.img ?\Device\HarddiskVolume5
godd.exe 2016-05-27-raspbian-jessie-lite.img \Device\HarddiskVolume5

However without any success. BTW, in order to run on windows I turned off a few checks related to udev.

Errors I got:

C:\Users\Administrator>godd.exe Z:\2016-05-27-raspbian-jessie-lite.img E:
failed to dd: open E:: The parameter is incorrect.

and

C:\Users\Administrator>godd.exe Z:\2016-05-27-raspbian-jessie-lite.img E:
failed to dd: open E:: The system cannot find the path specified.

Also, I saw an error saying something like "can't open a directory".

Do you have any ideas how I possible can fix this?

Thanks.

@mvo5
Copy link
Owner

mvo5 commented Jul 22, 2016

On Mon, Jul 11, 2016 at 09:34:11PM -0700, Sergei Danielian wrote:

Hi, thanks for the tool.
Hi,

I tried to flash raspbian image to a micro-sd card and failed. It seems that godd treats the Driver Letter differently from the Block Device on Linux.

I tried the following:

godd.exe 2016-05-27-raspbian-jessie-lite.img E:
godd.exe 2016-05-27-raspbian-jessie-lite.img ?\Device\HarddiskVolume5
godd.exe 2016-05-27-raspbian-jessie-lite.img \Device\HarddiskVolume5
[..]

I know very little about windows unfortunately. Internally I just use
os.Open() whick works fine under linux. I would assume the above would
also work but apparently it does not :/ I also have no way of testing
this. But if you can figure it out I'm happy to add code and/or add
info to the README about it. I can factor the udev code out with build
tags if needed so that you don't need to manually remove it :)

Cheers,
Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants