Git Product home page Git Product logo

mkgpt's Introduction

mkgpt

A simple tool for creating disk images with a GPT header and including the
contents of provided partition images.

Compiling:

automake --add-missing		(Run these two commands if building
autoreconf			directly from git clone)

./configure
make
sudo make install

A Visual C++ 2012 project is also provided for Windows builds


Options:

 -o <output_file> 		Specify output filename
 --sector-size <size>		Size of a sector (defaults to 512)
 --minimum-image-size <size>	Minimum size of the image in sectors
					(defaults to 2048)
 --disk-guid <guid>		GUID of the entire disk (see GUID format
					below - defaults to random)

 --part	<file> <options>	Begin a partition entry containing the
					specified image as its data and
					options as below


Partition options
 --name <name>			Set the name of the entry in the GPT
 --type <type>			Set the type of the entry, either a GUID,
					MBR partition ID _in decimal_ or
					one of the known paritition types
 --uuid <guid>			Specify the UUID of the partition in the GPT
					(defaults to a random uuid)



Known partition types:
system 	- EFI sytem partition
bios 	- BIOS boot partition
FAT types: fat12, fat16, fat16b, fat32, fat16x, fat32x, fat16+, fat32+
NTFS types: ntfs
Linux types: linux




GUID format:
GUIDs/UUIDs should be represented in the canonical representation as per
https://en.wikipedia.org/wiki/Universally_unique_identifier#Format
without any surrounding braces.  An example is:
123E4567-E89B-12D3-A456-426655440000

Optionally, the string 'random' can be used to generate a random GUID.

mkgpt's People

Contributors

0alastair1 avatar jncronin 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.