davidferguson / pibakery-raspbian

The changes made to Raspbian to support PiBakery
150 stars 12 forks source link

No OS in the OS selection #43

Open gidoBOSSftw5731 opened 6 years ago

gidoBOSSftw5731 commented 6 years ago

screenshot from 2017-11-04 16-53-36 No OS to be selected, ubuntu 17.04 just built. Heres my images.json:

[{"version":3,"compressedMD5":"6fde5dfd8a39e51ff68dd23dba58479e","uncompressedMD5":"8bceb32afe3c2cae19f6010efaaab89a","downloadUrl":"https://github.com/davidferguson/pibakery-raspbian/releases/download/v0.5.0/raspbian-pibakery.7z","uncompressedSize":4393533440,"filename":"raspbian-pibakery.img","compressedFilename":"raspbian-pibakery.7z","uncompressedFilename":"raspbian-pibakery-new.img","displayName":"Raspbian Full","installed":false,"skipVersion":0},{"version":3,"compressedMD5":"bc733bc074724a0b3990c6a7f61fd89a","uncompressedMD5":"074844d7e3131f6d904c278c671579da","downloadUrl":"https://github.com/davidferguson/pibakery-raspbian/releases/download/v0.5.0/raspbian-lite-pibakery.7z","uncompressedSize":1393557504,"filename":"raspbian-lite-pibakery.img","compressedFilename":"raspbian-lite-pibakery.7z","uncompressedFilename":"raspbian-lite-pibakery-new.img","displayName":"Raspbian Lite","installed":false,"skipVersion":0}]

davidferguson commented 6 years ago

For Linux you'll need to download the two pibakery-raspbian images, extract them and place them into the os/ directory.

To download them just go to the latest pibakery-raspbian release page.

They're compressed with 7zip, which I think Ubuntu has support for extracting .7z files natively, but if not just run sudo apt-get install p7zip-full which will install a program capable of extracting the .img files.

Once extracted, you'll need to rename them from raspbian-pibakery-new.img to raspbian-pibakery.img and raspbian-lite-pibakery-new.img to raspbian-lite-pibakery.img respectively, and move the two renamed files into the os/ directory.

Sorry for not mentioning this in the README - it's something I'll add very soon.

gidoBOSSftw5731 commented 6 years ago

Aha, that was not extremely clear, Thanks for clairifying. To those foolowing this, dont get confused like I did, unzip the 7z THEN rename it (Minor struggle I had)

davidferguson commented 6 years ago

Aha, that was not extremely clear

I think that if you were being fair that would actually be "that was extremely unclear"! Indeed, Linux support is still rather poor I'm afraid - although when I last tested it it was functional on both Debian and Ubuntu, so it should hopefully work. It's something I'm working on, but uni and life get in the way.

gidoBOSSftw5731 commented 6 years ago

It seems to be working now, waiting for the flash to finish, will post back if it fails, Otherwise expect it worked. Someone just made a issue about linux support and I assume more discussion will reside there.

gidoBOSSftw5731 commented 6 years ago

New problem, after reloading it due to a error about the SD card the 'Write' button is non-functional...

davidferguson commented 6 years ago

Have you selected both a SD card and a OS? If you use the shortcut ctrl-shift-i you should get the Developer Inspector, are there any errors in there?

gidoBOSSftw5731 commented 6 years ago

Sorry, I wasnt clear, The sdcard Icon in the top right corner doesnt work, and no in the dev tools there is no visible errors (unless Im missing it)

dornathal commented 6 years ago

Having the same problem. Nothing happens when pressing the write button.

Linux version 4.15.3-2-MANJARO (builduser@development) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Mon Feb 12 18:10:47 UTC 2018

Had to fix Error: ENOENT: no such file or directory, open '/home/dornathal/.applications/pibakery/node_modules/electron-prebuilt/path.txt' by calling npm install --save-dev electron-prebuilt