Skip to content

a utility for combining filesystem images into an mbr-partitioned image

License

Notifications You must be signed in to change notification settings

pyx-cvm/partymix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

partymix

crates.io license tests

A tool for combining filesystem images into a disk image with a Master Boot Record (MBR).

Usage

$ partymix OUTPUT [[+]TYPE=IMAGE ...]
  • The + sign indicates whether the partition is active or not.
  • TYPE is either the hex value of the partition type or one of the supported aliases.
  • IMAGE is the path to the filesystem image.

Supported Partition Aliases

The following partition type aliases are supported:

  • fat12 (0x01)
  • fat16 (0x04)
  • ntfs (0x07)
  • fat32 (0x0B)
  • linuxswap (0x82)
  • linux (0x83)
  • efi (0xEF)

Example

The following command creates a disk image with a FAT32 boot partition and a Linux root partition:

$ partymix disk.img +fat32=boot.img linux=root.img

License: MIT

About

a utility for combining filesystem images into an mbr-partitioned image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages