woz posted Dec 21 '15, 00:06:
Here's how to store your samples on the same card you boot from.
On the image you put on that card, you have two partitions, BOOT and ROOT.
Get on a computer that can see and write to the ROOT partition, which uses the ext filesystem.
On the ROOT partition, edit this file:
root/SamplerBox/samplerbox.py
Change this line:
SAMPLES_DIR = "/media/"
To this:
SAMPLES_DIR = "/root/SamplerBox/"
Now you can store your numbered sample folders in the root/SamplerBox/ folder
I tried to format all the extra space on my sd card as FAT32, put my samples in there, and change that line to point to this FAT32 partition on my boot SD instead, but I could not find a path that worked, maybe that partition was not mounting.
If anyone can figure that out, it would be even better, then you could add samples from any computer.
Another benefit is that the green light blinks to let you know it's loading, which is a relief with big sample sets like the Piano.
woz posted Dec 21 '15, 00:11:
also, you probably want to extend the size of your ROOT partition to fill up the unused space on your sd card after burning the image on there.
I used a bootable flash drive with http://gparted.org/ on it, this let me just grab the edge of the partition and drag it to fill the card.
woz posted Aug 28 '16, 05:59:
Has anyone figured this out? This should be easy for linux folk.
I tried to format all the extra space on my sd card as FAT32, put my samples in there, and change that line to point to this FAT32 partition on my boot SD instead, but I could not find a path that worked, maybe that partition was not mounting.
If anyone can figure that out, it would be even better, then you could add samples from any computer.
SirPrimalform posted Mar 24 '17, 16:15:
I was wondering the same thing. If I could keep the samples in a third FAT32 partition then it would be very convenient.
baptist posted May 2 '17, 21:29:
Hi, once you have created the third partition, you can edit the file name fstab on the root partition in the etc folder and change /dev/sda to /dev/mmcblk3.
AlexM posted May 3 '17, 03:08:
One thing to note (someone correct me if I'm wrong) Windows will only detect the first FAT32 partition of an SD card - in our case: /boot/