On Sat, 16 Jan 2016 13:02:04 +0100, meino.cra...@gmx.de wrote:

> You dd the image on a sdcard, put that one in a reader, copy two files
> from /boot to /media/boot, put the sdcard into the OrangePI-PC, boot
> it, log in via ssh and call a script named "fs_resize", the miniPC
> reboots...and VOILA!
> 
> Now I want to create such an image from parts of another image
> (kernel, firmware) and a bootable Gentoo minimal setup.
> 
> For that I need to understand the trick which is used to create such
> images.

Raspbian images do a similar thing, with an option in raspi_config to
resize the root filesystem to fill the card. There's no real trick, just
create the system you want on the smallest SD card that will hold it,
include the resize script and dd that card to an image.


-- 
Neil Bothwick

Copper wire was invented by two Scotsmen fighting over a penny!

Attachment: pgpvAAhF9VNVh.pgp
Description: OpenPGP digital signature

Reply via email to