Write iso to usb flash linux

Как записать загрузочный ISO на USB-Flash в Linux

Записать iso на флешку не сложно — dd if=.. of=.. и готово. Но вот будет ли она загрузочной или нет, зависит от самого ISO-образа, а именно является ли он гибридным или нет.

Гибридный образ — это такой образ, который можно записать и на CD/DVD и на USB. Если не гибридный образ попытаться записать с помощью dd на USB-флешку, то он просто не запустится (не будет загрузочным). Если образ гибридный, он легко записывается с помощью dd .

Большинство ISO-образов linux-дистрибутивов являются гибридными, чего не скажешь про Windows. Запись не гибридных образов выглядит следующим образом:

  • форматируем флешку и создаем на ней один пустой загрузочный раздел
  • копируем файлы с ISO-образа на флешку

После этого флешка становится загрузочной. Кстати, после этого с помощью dd можно снять образ флешки ( dd if=/dev/sdc1 of=~/windows.img ), и у нас уже будет загрузочный образ для флешки, который после можно будет записывать с помощью dd. Будет ли он являться гибридным мне не известно, т.к. не ясно будет ли этот образ загрузочным для CD/DVD.

Запись ISO Linux

Как уже было сказано, большинство ISO-образов linux являются гибридными, поэтому:

dd if=path/to/image.iso of=/dev/sdc

Запись ISO Windows, способ №1 ручной

С помощью GParted на флешке создаем новую таблицу разделов MSDOS. Далее создаем один раздел, форматируем в fat32 и устанавливаем флаг boot.

После этого нам нужно скопировать файлы с iso на usb:

mkdir /mnt/iso mkdir /mnt/usb mount -o loop ~/path/to/image.iso /mnt/iso mount /dev/sdc1 /mnt/usb cp -r /mnt/iso/* /mnt/usb/ sync umount /mnt/usb umount /mnt/iso

Запись ISO Windows, способ №2 автоматический

Весь процесс описанный в способе №1 за нас может сделать WinUSB.

Собираем утилиту (после make install утилита добавляется в меню приложений):

git clone https://github.com/slacka/WinUSB ./configure make make install

Теперь можно использовать.

winusb --install win7_amd64.iso /dev/sdd1

Также у утилиты есть простой и понятный GUI. Так что загляните в меню.

Дополнительно

Узнать имя флешки lsblk , fdisk -l

Источник

10 Useful Tools to Create Bootable USB from an ISO Image

CD and DVD writers are a thing of the past. You are not likely to find them in modern-day laptops. If your goal is to create a bootable medium, then creating a bootable USB drive from an ISO file remains your best option.

There are quite a number of tools that can help you create a bootable USB drive. Some will even go further and let you create a multi-boot USB drive where you get to choose the OS that you want to install.

Читайте также:  Switching to command line in linux

Here are some of the widely-used utilities for creating a bootable USB drive from an ISO file in Linux desktop systems.

1. Rufus

We start off our list with Rufus which is arguably one of the most popular bootable USB creation utilities. It’s a free tool that you can download and create bootable USB pen drives, memory sticks, etc. It is particularly helpful when you want to create a USB installation medium from an ISO image or work on a system with no OS installed.

Rufus is a portable utility that comes with a small footprint – 1.3MB only. No installation is required. You just need to double-click on the executable file to launch the UI and start creating your USB bootable medium from an ISO image of your choice (both Windows and Linux).

Rufus - Create Bootable USB Drives

Unfortunately, Rufus is only supported on Windows and the developer has not yet ported it to Linux as yet. If you are looking for an alternative that works on Linux, read on.

2. UNetbootin

UNetbootin is a free and cross-platform utility for creating live bootable USB drives using an ISO image from all the major Linux distributions, even the lesser-known ones such as Tails, and AntiX.

It doesn’t employ distribution-specific rules for creating bootable USB drives, and therefore, most of the Linux ISO images should load without a problem.

Apart from creating a Live bootable medium, you get other system repair tools and utilities for example:

Unetbootin - Create Bootable USB Drives

  • Parted Magic
  • SystemRescueCD
  • Smart Boot Manager
  • Dr.Web AntivirusF-Secure Rescue CD
  • Super Grub Disk
  • Backtrack
  • Ophcrack

3. Balena Etcher

Developed & Maintained by the Balena team, Balena Etcher is a free and open source for writing image files such as .img and .iso onto USB drives and creating Live bootable pen drives and SD cards.

Etcher is a cross-platform tool and is available for download on Windows, macOS, and Linux (both 32-bit and 64-bit). It provides a very elegant yet simple UI that provides a smooth experience while writing your image files.

BalenaEtcher - Flash OS Images to USB Drive

4. Ventoy

Ventoy is yet another utility that lets you not only create an ordinary USB bootable medium but also allows you to create a multiboot USB drive with several OS options.

In fact, Ventoy takes away the need to format your USB drive over and over again. Simply copy the ISO file to your Pendrive drive and boot it. You can copy multiple ISO files concurrently and Ventoy will provide a boot menu to select your preferred image to boot from. Ventoy supports over 420 ISO files.

Ventoy Create Bootable USB Drive

  • Cross-platform (Windows, Linux).
  • Support for both Legacy and UEFI BIOS modes.
  • Support for ISO images larger than 4GB.
  • MBR and GPT partition style supported (1.0.15+).
  • USB drive write-protected support.
  • You can directly boot from ISO/WIM/IMG/VHD(x)/EFI files. No extraction is required.

And many more. Check out Ventoy’s additional features.

5. Universal USB Installer

Abbreviated as UUI, Universal USB Installer is a Live Linux Bootable USB Creator Software that allows you to easily create a bootable USB from your favorite Linux distribution or Windows installer. It runs only on the Windows operating system.

Читайте также:  Drivers included in linux kernel

In addition to that, you also get additional tools such as USB Boot Rescue tools such as Comodo and BitDefender Rescue CD, and bootable software such as Hirens Boot CD.

Universal USB Installer

6. Yumi

Yumi – short for ‘Your Universal Multiboot Installer’ – is another tool that you can leverage to create a multiboot USB drive. It’s the predecessor of the Universal USB installer and allows you to create a Multiboot USB Flash Drive containing multiple ISO files on the fly and start using it to boot your preferred Live Linux OS.

Key features of Yumi USB creator include:

YUMI MultiBoot USB Creator

  • Runs only on the Windows operating system.
  • An option to reformat your USB drive.
  • Support for both Legacy and UEFI BIOS modes.
  • Affinity for Ubuntu-derived Distributions.
  • Download links to make it easy to get the related ISO files.
  • A website link to help you learn more about the YUMI.
  • A feature to remove installed items on the USB drive to facilitate cleanup.

7. PowerISO

PowerISO is a robust and fully-featured application for burning CDs/DVDs. In addition, It allows you to extract, burn, create, encrypt, compress, and convert ISO images and mount them on an external drive.

It provides an all-in-one solution allowing you to do whatever you want with your files.

At a glance, PowerISO allows you to:

PowerISO Burn Bootable USB Drives

  • Supports Windows, Linux, and macOS.
  • Create a bootable USB drive from an ISO image.
  • Create bootable ISO files and create bootable CDs and DVDs.
  • Open and extract ISO files with a single click.
  • Rip multimedia files including audio files such as MP3, WMA FLAC.
  • Burn audio files from MP3, and WMA FLAC to CDs / DVDs.
  • Ability to edit ISO files directly.
  • Create ISO or BIN files from CDs / DVDs.

8. GNOME Multiwriter

GNOME Multi-writer is a utility for Linux systems that is used to write an ISO file to multiple USB devices at a go.

It supports USB drives of up to 32GB in size. It was originally written as part of the ColorHug project, but later on, shifted direction and became an independent application in 2015.

GNOME MultiWriter

9. MultiBootUSB

MultiBootUSB is a free and open-source cross-platform tool that also allows users to install multiple Live Linux distributions on a USB drive and boot from it. It provides a simple and user-friendly UI that enhances the seamless creation of the bootable USB drive.

MultibootUSB - Create Multiboot USB Disk

  • Supports Windows, Linux, and macOS.
  • Automatic detection of ISO files.
  • Works on both USB and external hard drives.
  • Preservation of files on the USB drive without deletion.
  • Installed images can be uninstalled without affecting other files in the drive.
  • Ability to install multiple distributions at a time on the command line.
  • The list of supported distributions is constantly updating.

10. ImageUSB Writer

Last on the list is the ImageUSB Writer. Just like GNOME multi-writer and multi-boot USB, this is a free utility for Windows systems only that allows you to write an ISO file concurrently to several USB devices. It also supports direct imaging between the devices.

Читайте также:  Linux debian настройка сетевого интерфейса

ImageUSB writer is also a perfect tool for mass duplication of USB flash drives. The application is also capable of reformatting a USB device, as well as MBR and GPT entries for wider disk space.

ImageUSB Writer

That was a roundup of some of the utilities that you can leverage to create a bootable USB drive from an ISO image in Linux. We have compiled tools that work on both Linux and Windows in case you are working on either system. That is all for now. Your feedback is highly welcome.

Источник

Create a bootable USB stick on Ubuntu

Creating a bootable Ubuntu USB stick is very simple, especially from Ubuntu itself, and we’re going to cover the process in the next few steps.

Alternatively, we also have tutorials to help you create a bootable USB stick from both Microsoft Windows and Apple macOS.

Laptop Ubuntu desktop

2. Requirements

  • A 4GB or larger USB stick/flash drive
  • Ubuntu Desktop 14.04 or later installed
  • An Ubuntu ISO file. See Get Ubuntu for download links

Download an Ubuntu ISO

3. Launch Startup Disk Creator

We’re going to use an application called ‘Startup Disk Creator’ to write the ISO image to your USB stick. This is installed by default on Ubuntu, and can be launched as follows:

  1. Insert your USB stick (select ‘Do nothing’ if prompted by Ubuntu)
  2. On Ubuntu 18.04 and later, use the bottom left icon to open ‘Show Applications’
  3. In older versions of Ubuntu, use the top left icon to open the dash
  4. Use the search field to look for Startup Disk Creator
  5. Select Startup Disk Creator from the results to launch the application

Search for Startup Disk Creator

4. ISO and USB selection

When launched, Startup Disk Creator will look for the ISO files in your Downloads folder, as well as any attached USB storage it can write to.

It’s likely that both your Ubuntu ISO and the correct USB device will have been detected and set as ‘Source disc image’ and ‘Disk to use’ in the application window. If not, use the ‘Other’ button to locate your ISO file and select the exact USB device you want to use from the list of devices.

Click Make Startup Disk to start the process.

Make USB device

5. Confirm USB device

Before making any permanent changes, you will be asked to confirm the USB device you’ve chosen is correct. This is important because any data currently stored on this device will be destroyed.

After confirming, the write process will start and a progress bar appears.

USB write progress

6. Installation complete

That’s it! You now have Ubuntu on a USB stick, bootable and ready to go.

If you want to install Ubuntu, take a look at our install Ubuntu desktop tutorial.

USB write complete

Finding help

If you get stuck, help is always at hand:

Источник

Оцените статью
Adblock
detector