cross
cross

Reputation: 363

How do I make a linux image which is of my current system?

I want a really minimalistic version of linux to run on my raspberry pi. I need nothing on it apart form the tools to make it work. I can then install the things I need such as python, nano, ssh etc.

Is there a version of linux like that? I was thinking ubuntu snappy but wasn't too sure.

Secondly. If i got it configured exactly how I wanted on my system, is it possible to convert it make to a .img file so that I could flash it onto an SD card to use exactly the same settings on 3/4 of my raspberry Pi s?

Thanks

Upvotes: 0

Views: 146

Answers (1)

Breno Leitão
Breno Leitão

Reputation: 3677

If can try to debootstrap from Debian/ubuntu. this is the minimal set of packages you might have without too much hack.

If I remember correctly, it installs only 42 packages and you might expand this system with apt.

You can create a simple chroot to try using something like:

$ mkdir jessie-chroot
$ debootstrap jessie ./jessie-chroot http://ftp.debian.org/debian

For more information, you can see: http://www.thegeekstuff.com/2010/01/debootstrap-minimal-debian-ubuntu-installation/

Upvotes: 1

Related Questions