In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you the "BootISO how to create a bootable USB device from the ISO file", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "BootISO how to create a bootable USB device from the ISO file" this article.
What is BootISO?
BootISO is a simple bash script that allows users to safely create a bootable USB device from an ISO file, which is written in bash.
Instead of providing any graphical user interface, it provides a wide range of options that allow beginners to create a bootable USB device on Linux. Because it is an intelligent tool, it can automatically select USB devices connected to the system.
When the system has multiple USB devices connected, it will print out a list. When you manually select another hard drive instead of USB, in this case, it will exit safely without writing anything to the hard drive.
This script also checks for dependencies and prompts the user to install, and it works with all package managers, such as apt-get, yum, dnf, pacman, and zypper.
The function of BootISO
It checks whether the selected ISO is the correct mime type. If not, then quit.
If you choose any disk other than the USB device (local hard drive), BootISO will exit automatically.
When you have multiple drives, BootISO allows users to choose which USB drive they want to use.
BootISO prompts the user for confirmation before erasing and partitioning USB devices.
BootISO will correctly handle any errors from a command and exit.
BootISO will call a cleanup routine when it exits when it encounters a problem.
How to install BootISO in Linux
There are several ways to install BootISO in Linux, but I recommend that users install it using the following method.
$curl-L https://git.io/bootiso-O $chmod + x bootiso$ sudo mv bootiso / usr/local/bin/
Once BootISO is installed, run the following command to list the available USB devices.
$bootiso-l Listing USB drives available in your system:NAME HOTPLUG SIZE STATE TYPEsdd 1 32G running disk
If you have only one USB device, simply run the following command to create a bootable USB device from an ISO file.
$bootiso / path/to/iso file$ bootiso / opt/iso_images/archlinux-2018.05.01-x86_64.isoGranting root privileges for bootiso.Listing USB drives available in your system:NAME HOTPLUG SIZE STATE TYPEsdd 1 32G running diskAutoselecting `sdd' (only USB device candidate) The selected device `/ dev/sdd' is connected through USB.Created ISO mount point at` / tmp/iso.vXo' `bootiso' is about to wipe out the content of device `/ dev/sdd'.Are you sure you want to proceed? (YGO) > yErasing contents of / dev/sdd...Creating FAT32 partition on `/ dev/sdd1'...Created USB device mount point at` / tmp/usb.0j5'Copying files from ISO to USB device with `rsync' Synchronizing writes on device `/ dev/sdd' `bootiso' took 250 seconds to write ISO to USB device with` rsync' method.ISO succesfully unmounted.USB device succesfully unmounted.USB device succesfully ejected.You can safely remove it!
When you have more than one USB device, you can use the-- device option to indicate your device name.
$bootiso-d / dev/sde / opt/iso_images/archlinux-2018.05.01-x86_64.iso
By default, BootISO uses the rsync command to perform all actions. If you want to use the dd command instead, use the following format.
$bootiso-- dd-d / dev/sde / opt/iso_images/archlinux-2018.05.01-x86_64.iso
If you want to skip mime type checking, the BootISO utility comes with the following options.
$bootiso-- no-mime-check-d / dev/sde / opt/iso_images/archlinux-2018.05.01-x86_64.iso
Add the following option for BootISO to skip user confirmation before erasing and partitioning USB devices.
$bootiso-y-d / dev/sde / opt/iso_images/archlinux-2018.05.01-x86_64.iso
Enable automatic selection of USB devices, along with the-y option.
$bootiso-y-a / opt/iso_images/archlinux-2018.05.01-x86_64.iso
To learn more about the BootISO options, run the following command.
$bootiso-hCreate a bootable USB from any ISO securely.Usage: bootiso [...] Options-h,-- help, help Display this help message and exit.-v,-- version Display version and exit.-d,-- device Select block file as USB device. If is not connected through USB, `bootiso' will fail and exit. Device block files are usually situated in / dev/sXX or / dev/hXX. You will be prompted to select a device if you don't use this option.-b,-- bootloader Install a bootloader with syslinux (safe mode) for non-hybrid ISOs. Does not work with `--dd' option.-y,-- assume-yes `bootiso' won't prompt the user for confirmation before erasing and partitioning USB device. Use at your own risks.-a-- autoselect Enable autoselecting USB devices in conjunction with-y option. Autoselect will automatically select a USB drive device if there is exactly one connected to the system. Enabled by default when neither-d nor-- no-usb-check options are given.-J,-- no-eject Do not eject device after unmounting.-l,-- list-usb-drives List available USB drives.-M,-- no-mime-check `bootiso' won't assert that selected ISO file has the right mime-type.-s -- strict-mime-check Disallow loose application/octet-stream mime type in ISO file.-- POSIX end of options.--dd Use `dd' utility instead of mounting + `rsync'. Does not allow bootloader installation with syslinux.--no-usb-check `bootiso' won't assert that selected device is a USB (connected through USB bus). Use at your own risks. Readme Bootiso v2.5.2. Author: Jules Samuel Randolph Bugs and new features: https://github.com/jsamr/bootiso/issues If you like bootiso, please help the community by making it visible: * star the project at https://github.com/jsamr/bootiso * upvote those SE post: https://goo.gl/BNRmvm https://goo.gl/YDBvFe is all the contents of this article entitled "how to create a bootable USB device from an ISO file in BootISO". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.