GithubHelp home page GithubHelp logo

raspbian-light's Introduction

raspbian-light

The official Raspbian-images are to heavy-weight? Including way to much random stuff, you don't need for your current project?

With create-image.sh you've got a script to generate an image-file containing only a basic system. You can apt-get install whatever you need additionally anyway.

Since I don't saw any good reason to do the root-fs-resizing-stuff on the Pi itself, as other distributions do it, I also included write-image.sh. This scripts writes the image to the SD-card and expands the root-fs.

Usage

create-image.sh

./create-image.sh IMAGEFILE

Where IMAGEFILE is the name of the file to write.

The following options may be set additionally:

Option Description
-d DISTRIBUTION set the raspbian distribution to DISTRIBUTION (default is 'wheezy').
-m MIRROR use MIRROR (default is http://archive.raspbian.org/raspbian).
-s IMAGE_SIZE create an image of size IMAGE_SIZE (default is 512M).
-b BOOT_SIZE set the size of the boot-partition to BOOT_SIZE (default is 32M).
-f FIRMWARE_URL download firmware from FIRMWARE_URL. (default is https://github.com/raspberrypi/firmware/tarball/master).
-n HOSTNAME set the system's hostname to HOSTNAME (default is raspberry)
-p PASSWORD set root-password to PASSWORD (default is raspberry)
-a A,B,C also install packages A,B,C (default is locales,console-common,openssh-server)
-h display this help and exit

Make sure qemu for emulating armhf is available ('apt-get install qemu-user qemu-user-static binfmt-support' on debian-based systems).

write-image.sh

./write-image.sh IMAGEFILE DEVICE

Where IMAGEFILE is the image to write and DEVICE the devicefile of the SD-card to write to.

raspbian-light's People

Contributors

lnqs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.