Script to make the SamplerBox ISO!

J
Joseph posted Aug 28, 11:45:

Hello,
Here is the script I used last year to make the SamplerBox ISO image, available on http://samplerbox.org/makeitsoftware :

https://gist.github.com/josephernest/d0fd00ac5cf1c66b0cc1cf73fef6c85d

I don't have a RPi3 now, could someone who has a RPi3 with a Raspbian Jessie running try to make a Rpi3 image ?

Needed first:

sudo apt-get update && sudo apt-get install -y cdebootstrap kpartx parted sshpass zip

Then this is how to start the image producing (long process, maybe 1 or 2 hours) :

nohup sudo ./ samplerbox_maker_20150618.sh &
R
remi posted Aug 28, 18:00:

Cool I'm actually working on making an image for raspberry pi 3.
I'll try it.

Again I would like to take the opportunity to thanks everyone who worked on this project ! I'm having so much fun with it!

I'll report back when the image is finished!

J
Joseph posted Aug 28, 18:32:

Hi Remi, I contacted you via FB, ça pourrait être utile pour discuter de l'avancement du projet, de mod à faire etc.
-- Joseph

A
Andy posted Aug 30, 17:36:

Hi Joseph,

I'm running your script now on a RPi3. I've started with the latest Raspian Jessie Lite. I've needed to do a few tweeks so far:-

  • There's no Git installed in Jessie Lite, so I added it with:-

sudo apt-get install git-all

I needed to make the script executable with chmod +x

Also, there is a rogue space character appeared in your command line between ./ and samplerbox_maker_20150618.sh

Script is running & I'll post any progress.

J
Joseph posted Aug 31, 00:48:

You're right, the correct command is

nohup sudo ./samplerbox_maker_20150618.sh &
J
Joseph posted Aug 31, 01:34:

Updated version of the script, please try with this one instead:

http://gget.it/obhpkpd5/samplerbox_maker_20160831.sh

A
Andy posted Aug 31, 06:25:

I'll try the new script now.

I tried the old script & it created a 1.2GByte .img file but this didn't run. I needed to run the script 3 or 4 times because the Pi seemed to hang. The .out file shows that the partitioning and mounting is working.

I'll report the progress!

R
remi posted Aug 31, 13:58:

I'm trying the script in live here!
https://www.livecoding.tv/maditnerd/

R
remi posted Aug 31, 14:10:

I made some modifications
https://gist.github.com/maditnerd/af9ab33fd137e02e43c671dda49475df

-- Generate FAT32 boot partition instead of FAT16
-- Jessie in sources.list instead of wheezy
-- Add libraspberrypi0 so boot partition is generated correctly

I'll post the image as soon as it works ^^

R
remi posted Aug 31, 18:03:

Yikes, something went wrong and the partitions are seen as corrupted, I try again later!

A
Andy posted Sep 1, 06:07:

Joseph's 'vanilla' script is still running after 23 hours. It's currently 'Validating xz-utils'. RPi is not the fastest build machine :-)

J
Joseph posted Sep 1, 20:27:

@Andy : oops 23 hours! There should be a problem (or maybe you have a very slow microSD card?). I remember that my script took something between 2 hours and 6 hours, I don't remember exactly...

A
Andy posted Sep 2, 06:20:

@Joseph: 48 hours gone & cdebootstrap is still executing ;-)

I'll restart the installation. The SD Card should be class 10, but I'll swap it for a different one.

J
Joseph posted Sep 2, 08:30:

Oops, there definetely should be a problem! Here is a test image I've done this night, can you try? :

http://samplerbox.org/files/images/samplerbox_20160831.img.zip

Here is the samplerbox_maker.sh image-making script, updated thanks to @remi's remarks. Note: it uses the "testing" branch of SamplerBox (see on github) that uses python-sounddevice instead of pyaudio. Bonus: it should work with the RPi built-in soundcard now!

J
Joseph posted Sep 2, 18:28:

Currently making + uploading a new image. Will be ready during the night!

A
Andy posted Sep 2, 23:05:

@Joseph: I've restarted the build using a different sdcard & the compilation is going much faster. First run hung about half way through & I've restarted it. I'll test your image tomorrow & post any useful info from my nohup.out.

...

  (not published)
  I want to post as guest
 

Post