| BOOTISO(1) | General Commands Manual | BOOTISO(1) |
bootiso —
bootiso |
[-aJMy] [-d
device] [--no-hash-check |
[--hash-file hashfile]
[--force-hash-check]]
[--no-size-check]
[--no-usb-check]
[--assume-image-is
imagetype] [--]
imagefile |
bootiso |
--icopy [INSTALLMODS
...] [--dd-bs
blocksize] [-D
[--data-part-fs fstype]]
[--] imagefile |
bootiso |
--mrsync [INSTALLMODS
...] [-L
label] [-F
fstype] [--gpt]
[--no-wimsplit]
[--part-type typeid]
[--local-bootloader |
--remote-bootloader version]
[--] imagefile |
bootiso |
-f [-ay]
[-d device]
[-L label]
[-F fstype]
[--gpt] [--no-usb-check]
[--part-type typeid] |
bootiso |
-i [-M]
[--no-hash-check |
[--hash-file hashfile]
[--force-hash-check]] [--]
imagefile |
bootiso |
-l [--no-usb-check] |
bootiso |
-p [-M]
[--no-hash-check |
[--hash-file hashfile]
[--force-hash-check]]
[--no-usb-check] [--]
imagefile |
bootiso |
-h |
bootiso |
-v |
bootiso is a command-line utility aimed at simplifying
the task of “burning” a USB storage device with a bootable disk
image. The program can be safely called with no options. Read
EXAMPLES section for a quick summary of
typical invocations.
bootiso will handle hybrid and non-hybrid SYSLINUX or
UEFI compliant images such as any GNU-Linux, Windows or rescue live-cds like
UltimateBootCD images. This program also offers additional features, such as
quickly format a USB drive, inspecting an image file or listing USB-connected
drives. Supported images format are plain disk images (img) and ISO 9660
files.
bootiso can be invoked with two types of
options: actions and modifiers. Actions determine the goal of the program
execution, and modifiers define the specifics to reach that goal. At most
one action flag can be set. In the absence of action flag,
bootiso assumes install action in
“Automatic” mode: inspect imagefile boot
capabilities and find the best way to make a bootable USB drive (see
INSTALL MODES bellow).
-f,
--format--device modifier, bootiso
will prompt for selection. With no further notice,
bootiso will write a MBR partition table and
format a FAT32 partition. These defaults can be overridden with
--gpt and --fs
modifiers.-h,
--help-i,
--inspectbootiso can handle it. In addition, validate this
file against a hash file if one is found, then exit.-l,
--list-usb-drives-d, --device
modifier.-p,
--probe-v,
--versionbootiso version then exits.--assume-image-is
imagetypebootiso assessment of
imagefile hybridness. Use “hybrid” to
force bootiso regard
imagefile as hybrid, and “non-hybrid”
to force bootiso regard
imagefile as non hybrid.-a,
--autoselect--assume-yes modifier. It will automatically
select a USB drive device if there is exactly one connected to the system.
Notice: The “autoselect”
behavior is the default behavior when “assume yes” is not
enabled, unless either --device or
--no-usb-check modifiers are set.
-d
device, --device
devicebootiso will fail and exit, unless
--no-usb-check is set.
Notice: Device block files are located in /dev/. The /dev/ prefix can be omitted. You will be prompted to select a device when not using this modifier. Also, this option is not compatible with loop devices.
-D,
--data-part--icopy or --dd install
modifier.
Notice: This will only work with imagefiles containing MBR or GPT partition schemes.
--data-part-fs
fstype--icopy or
--dd install modifier.--dd-bs
blocksizebs option of
dd(1) utility. Default is
4M. Requires --icopy or
--dd install modifier.
Notice: values bellow 50k can sensibly slow down the installation.
-F
fstype, --fs
fstype--mrsync install modifier or
format action.
Important Notice: usage with install action is discouraged: it will be rejected in “Automatic” and “Image-Copy” modes, and could prevent UEFI boot in “Mount-Rsync” mode since the UEFI standard mandates a FAT32 partition.
--force-hash-check--gpt--mrsync install modifier or
format action.
Important Notice: Booting systems are
generally more sensible to GPT partition types compared to MBR partition
types. It is thus advised that you explicitly set the partition type
with --part-type modifier when enforcing GPT.
This is however not required for Windows images which have a special
handling by bootiso.
-H,
--no-hash-check--hash-file
definition for a description of the lookup mechanism.--hash-file
hashfileSupported hash functions are md5, sha1, sha256 and sha512.
-J,
--no-eject--local-bootloader--mrsync install modifier.-M,
--no-mime-check--no-size-check--no-usb-check--no-wimsplit--mrsync install
modifier.--part-type
typeid--gpt modifier is set. Not to be confused with
filesystem modifier --fs. Requires
--mrsync install modifier or
format action.
List available types for GPT or MBR with the following commands:
--list-types --label
gpt--list-types --label
mbr--remote-bootloader
version--mrsync install
modifier.-t
fstype, --type
fstype--part-type. Use -F,
--fs instead.-L
label, --label
labelbootiso will cut labels which are too long
regarding the selected filesystem limitations. Requires
--mrsync install modifier or
format action.-y,
--assume-yes--bootiso will not process any
option after this flag and treat the upcoming item as
imagefile.bootiso has three operating modes for
install action. When you assert a specific mode, it allows
you to provide advanced options for this mode.
bootiso will inspect
imagefile and choose the best strategy to end up
with a bootable USB stick. These strategies are described in the below two
modes. Invoke --inspect action flag to print
identified boot capabilities and the compatible strategy.--icopy install modifier,
bootiso uses
dd(1) utility to make a
raw copy of imagefile. This is perfectly appropriate
when the image file contains a builtin boot capability. It requires to
have a partition table, which can be directly copied to the target device
along with the data partitions. ISOs with this feature are called
“hybrid”, and a vast majority of GNU-Linux images are
shipped that way. See
isohybrid(1) for
more information on this topic.--mrsync install modifier,
bootiso creates a MBR partition table and format
one partition in the USB drive and copy files from mounted ISO. The
behavior will change depending on the presence of special files to
identify whether legacy BIOS boot or UEFI boot should be preferred.
bootiso will check conditions to figure out which
ones to choose:
--no-wimsplit
modifier flag.--local-bootloader flag is set. When invoked
with --remote-bootloader
version modifier,
bootiso will ignore local version check and
forces download of the kernel.org version at
version.bootiso will fail and exit.bootiso performs a set of tests with user safety and
confidence in mind:
BOOTISO_IMAGES_COMPLETIONS_PATHXDG_DOWNLOAD_DIR if defined or
~/Downloads otherwise are used instead. See
xdg-user-dir(1).BOOTISO_SYSLINUX_LIB_ROOTbootiso will need to install a MBR boot
program which it needs to locate. This variable sets syslinux assets root,
from which MBR program file will be searched. Defaults to
/usr/lib/syslinux.bootiso utility exits 0 on success, >0 on error.
Error exit status < 64 depict unfavorable conditions external to the
program such as a missing file. On the other hand, exit status superior or
equal to 64 depict an execution failure.
bootiso knows of.bootiso is
missing a program.bootiso capabilities with given
“file.iso” and list USB drives candidates:
bootiso
-p file.isoAlternatively, you can use -i action
flag to solely inspect “file.iso” or
-l action flag to solely list USB drives.
bootiso
will automatically select it:
bootiso
file.isoYou can also explicitly set the target USB device:
bootiso
-d /dev/sdX file.isoAvoid being prompted before writing to USB drive and autoselect device when there is exactly one connected:
bootiso
-ay file.isoAdd a FAT32 data partition in “Image-Copy” mode (only works with hybrid images):
bootiso
--icopy -D
file.isobootiso
-ft ntfs
-L 'SONY JOE'bootiso does not detect your USB device, you
can try running
and try again.
--part-type modifier, because some systems will
assume specific types and refuse to load data otherwise. This is
especially prevalent with GPT partition tables.GPLv3 License: https://www.gnu.org/licenses/gpl-3.0 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
bootiso should work with any terminal emulator and the
Linux console. More specifically, the output device should support the
following features:
bootiso is compliant with:
| May 22, 2020 | bootiso 4.2.0 |