Generating Image from Source

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply

Generating Image from Source

Post by borrisl »

I'm new, and looking for some guidance. I'd like to generate my own image from souce. I've looked at the github repository and studied the and am a little confused as to the how part.

Do I use a chroot?
I'm assuming a cross compile, what compiler do I use?

Just looking for some basic steps to get this done.
User avatar
Site Admin
Posts: 2781
Joined: Tue Feb 06, 2007 1:36 pm

Re: Generating Image from Source

Post by Fourdee »


Before you can prep an image for DietPi and run those commands, you'll need a Debian minimal image.

For the most part, we use official images (eg: Raspbian Lite). For the OPi/NanoPi boards, we mostly use ARMbian build tools to generate the initial image:

Once you have an image, and running on the target board, you can then go through, to prep system for DietPi. Once done, read image, resize 2nd partition (+50MB of min), done :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply