KZL
Posts: 66
Joined: Fri May 17, 2013 11:58 pm

How to create your own distrib ?

Wed Sep 25, 2013 12:49 pm

Hello!
I have modified the distrib raspbian wheezy and added some packages. Someone knows how to export my distrib and create a .img downloadable ?

I have a sd with 8go and when use the command line : "dd bs=1mo if=... of=...", I get a .img of 8go

Thank for help

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: How to create your own distrib ?

Wed Sep 25, 2013 1:04 pm

Compress it.

Or use another Linux PC to resize the second partition (don't try this with NOOBS !).

You can use dd options to limit the image size.

Perhaps even split the existing .img and flash the first part.
It may repair itself on first boot..

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
topguy
Posts: 6527
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: How to create your own distrib ?

Wed Sep 25, 2013 1:10 pm

KZL wrote:Hello!
I have a sd with 8go and when use the command line : "dd bs=1mo if=... of=...", I get a .img of 8go
And if you have another SD card you can test it by writing it to the other card.

What is the problem ? For distribution its usually enough to compress the image with the archiver of your choice (gzip/bzip/rar/zip/7zip)

Return to “Raspberry Pi OS”