mirror of
https://github.com/Cametendo/cflash.git
synced 2026-03-18 04:50:19 +01:00
dev
cflash
Small and lightweight image and iso flasher build on dd.
About
Java program using dd to make flashing iso and image files easier on the terminal. This program allows anyone to flash iso and image files without having to search for extra GUI tools and by keeping it simple and resource-friendly.
Requirements
Java: 21 (Download hereutil-linux: 2.41coreutils: 9.10
Usage
- Using the command
cflashin the terminal, will start the flashing process. You will be asked several question before the flashing begins:- You will see a list of every drive your system see's (excluding system drives) and the be asked to enter the device you want to flash the image onto. (F.e. /dev/sda)
- You will be prompted to enter the path of the iso / image you want to flash
- You will be prompted to choose a byte size (default: 4M)
- You will be prompted to enter your oflag (default: direct)
- You will be asked if you are absolutely sure that you want to continue (flashing will wipe all data)
- Alternative: using
cflash [device] [iso-path] [block-size] [oflag]will skip the first question and instantly ask you, if you're absolutely sure you want to continue. - Once confirmed, the flash will start and a small progress bar will appear showing the flashing progress.
- After completion, the program will detect the OS from the iso and wish you a great time with your new OS. (Example: "Done! Have fun with your new Linux installation!)
- IMPORTANT: Since dd needs sudo rights, ensure you have root priviliges.
Supported OS
- Linux, MacOS, FreeBSD
Installation
- Clone the repository onto your local device.
- Run the
build.shfile to build the program. - Run the
ìnstall.shto install the program. - Open a terminal and use the program with
cflash.
License and Credits
Author: Cametendo License: MIT