Fbinst is a really good USB Flash Disk formatting tool.It creates universal bootable USB Flash Drives. I had previously posted about using Fbinst in Windows.In this article I will show you how you can install Fbinst and format your USB Flash Drives in Ubuntu or any other Linux Distribution.
There are no deb or rpm packages for Fbinst.So you have to compile it from the source to use it in Linux.
As of now there is no GUI interface for Fbinst in Linux.So you have to be satisfied with the command line version.
Compiling Fbinst from Source
1. Download grubutil_scripts.zip and extract it to your home folder.
2. Open grubutil_dirs with a text editor like gedit
3. Edit the file as follows.
replace username with your User Name
4. Open terminal and execute the following the commands
sudo apt-get install subversion
chmod +x grubutil_compile
chmod +x grubutil_update
5. Now you can execute fbinst.it will be located in the fbinst/obj folderfbinstubuntu Install Fbinst in Ubuntu
Install Grub4Dos to your USB Flash Drive using Fbinst in Ubuntu
Grub4Dos is a very powerful and versatile bootloader with many features.I always use Grub4Dos as the bootloader in my bootable USB Flash Drives.
1. Download AutoFbinst and extract grldr and fb.txt to /home/username/fbinst/obj
2. Open Terminal and navigate to the fbinst folder.
3. To view Fbinst help
4. View list of USB Drives connected.Note down the correct hd number.In my case it was (hd1)
sudo ./fbinst -l
You must run fbinst as root.
5. Formating your USB Flash Drive and installing grub4dos boot loader.
Execute the following instructions one by one.Make sure you enter the correct hd number.In this case it is hd1.In your case it maybe hd2 or hd3 depending on the number of USB Flash Drives connected to the computer.
Never enter hd0 as it your primary hard disk.
sudo ./fbinst “(hd1)” format –force –fat32
sudo ./fbinst “(hd1)” add grldr grldr
sudo ./fbinst “(hd1)” add-menu fb.cfg fb.txt
6. You can now copy your menu.lst and other boot files to your USB Drive.