Skip to content

Instantly share code, notes, and snippets.

@wang-bin
Last active March 26, 2025 21:28
Show Gist options
  • Save wang-bin/22d8a0297105513c1207 to your computer and use it in GitHub Desktop.
Save wang-bin/22d8a0297105513c1207 to your computer and use it in GitHub Desktop.
fbinst: boot from usb
## Source
http://download.gna.org/grubutil or https://code.google.com/p/grubutils
build 32bit binary
## Install to USB Disk
get the disk name
fbinst --list
assume it's `(hd1)`
fbinst "(hd1)" format
fbinst "(hd1)" add-menu fb.cfg fb.txt
fbinst "(hd1)" add grldr grldr
content of fb.txt
default 0
timeout 0
text "Only Play GRUB4Dos"
menu F1 grldr grldr
done.
## Format Mode
Disk will be format as HDD mode (bios may not detect it). If use
fbinst "(hd1)" format --zip
format as zip mode and better compatibility, but the USB device will be `(fd0)` and data partition will be `(fd0,0)` for which grub4dos has some limitations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment