Skip to content

samsulmaarif/haftian

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

H. Aftian

An utility to create a BlankOn UEFI bootable USB.

Steps

  1. Get haftian
  2. Prepare your BlankOn .ISO
  3. Prepare your USB disk (this will be handled later) as GPT with 1 partition, formatted with FAT32 and mount it to somewhere
  4. Run haftian:
cd /where/you/put/haftian/
sudo ./haftian /where/is/your.iso.file /where/you/mount/your/usb.disk
  1. Reboot and try

LICENSE

haftian is in public domain but it contains files from GRUB which are licensed in GPL3.

Tips

This is how I prepare my USB disk. Note that # is Linux prompt and (parted) is GNU Parted prompt.

# sudo parted /dev/your/usb/device

(parted) mktable gpt
(parted) mkpart efi fat32 1 -1
(parted) toggle 1 boot
(parted) p 
Model: SanDisk Ultra (scsi)
Disk /dev/sdb: 8004MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  8004MB  8003MB  fat32        efi   boot, esp
(parted) quit
# sudo mkfs.vfat -F32 /dev/your/usbdevice1    # <---- Don't forget to put partition number, if your usb disk is in /dev/sdb then this should be mkfs.vfat -F32 /dev/sdb1
# sudo mount /dev/your/usbdevice1 /mnt

Debianization

To build a debian package, install the following package

sudo apt-get install git-core devscripts build-essential fakeroot \
	debhelper gnupg pbuilder dh-make dpkg-dev ubuntu-dev-tools

Clone this repository

git clone https://github.com/samsulmaarif/haftian.git haftian-1.0

and then build with

cd haftian-1.0
dpkg-buildpackage -rfakeroot

the haftian_1.0-1blankon0_all.deb package will be placed in parent directory.

About

H. Aftian

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%