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

add how-to on how to convert a normal raspbian to cattlepi #57

Open
t3spe opened this issue Oct 6, 2018 · 2 comments
Open

add how-to on how to convert a normal raspbian to cattlepi #57

t3spe opened this issue Oct 6, 2018 · 2 comments
Labels
documentation write doc that explains how something works
Milestone

Comments

@t3spe
Copy link
Collaborator

t3spe commented Oct 6, 2018

this conversion can be done on the fly.
document it and/or maybe provide a script that can be downloaded and ran

something along the lines of:

cd /tmp
curl -L https://api.cattlepi.com/images/global/raspbian-lite/2018-06-29/bootstrap/cattlepi.zip?apiKey=deadbeef > cattlepi.zip
unzip cattlepi.zip
mkdir -p /tmp/boot
sudo mount  -o loop,offset=1048576 /tmp/cattlepi.img /tmp/boot
sudo mkdir /boot/cattlepi
sudo vim /boot/cattlepi/apikey # put your api key in here
sudo cp -R /tmp/boot/* /boot/
sudo /sbin/shutdown -r now
@t3spe t3spe added the documentation write doc that explains how something works label Oct 6, 2018
@t3spe t3spe added this to the v1.3 milestone Oct 6, 2018
@t3spe
Copy link
Collaborator Author

t3spe commented Oct 12, 2018

this is a little trickier that I originally though.
The limiting factor is that the boot partition for stock raspbian is not large enough to hold images that cattlepi would leverage. What this means is that we would need a way to resize the partition (maybe via sdlayout) before we can attempt this.

@t3spe t3spe modified the milestones: v1.3, v1.4 Oct 12, 2018
@t3spe
Copy link
Collaborator Author

t3spe commented Oct 12, 2018

due to increase in scope complexity I've moved this to 1.4.
we may decide not to do this at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation write doc that explains how something works
Development

No branches or pull requests

1 participant