godd
godd copied to clipboard
godd doesn't work under Windows
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.
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