/Roseapple-Pi

SD Image Tool for Roseapple Pi

Primary LanguageShell

Roseapple Pi SD Card Image Tool #################################################################################
Copyright (C) 2015-2017 Saeid Ghazagh sghazagh@elar-systems.com

ELAR-Systems
------------
http://www.elar-systems.com
http://www.elar-systems.com.au

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


Required Packages:
-------------------
dd, parted, kpartx, bmap-tools

Usage
------------
First get a local copy to your machine
$ git clone https://github.com/elar-systems/Roseapple-Pi

You can make an Image now:
$ cd Roseapple-Pi
$ ./make-roseapple-sdcard-img.sh <image_file_name>

Note: Script asks you to confirm creating the partition. Type "Yes" to continue. If it shows the Warning for End Sector of Image, just Ignore it as it automatically adjusts the image end sector size.

If you are on a Debian based system, you can install bmap-tools
$ sudo apt-get install bmap-tools

Extract the archive and use bmaptool to copy it to the SD card
$ sudo bmaptool copy your_sd_image.img /dev/sdX
You can also use dd but it will take a lot longer since bmaptool doesn't write the empty bits
Windows users can use "Win32DiskImager" to write the .img file to the SD card