Перейти к содержимому

Fedora media writer что это

  • автор:

Fedora Media Writer — The fastest way to create Live-USB boot media

This post will provide a quick tutorial about Fedora Media Writer, and its usage in both Fedora and Windows. Fedora Media Writer is a very small, lightweight, comprehensive tool that simplifies the linux getting started experience – it downloads and writes your favorite Fedora flavor onto a USB drive, which can be later used to boot up any system.

Editor’s note: This also means you can now create Red Hat Enterprise Linux (RHEL) LiveCDs in just a few minutes. Since RHEL was recently made freely available to all developers, you can download the ISO to use with the Fedora Media Writer.

How do you get it ?

For Fedora

For Windows

You can download it here and execute liveusb-creator.exe with admin privileges

How does it work ?

For both Windows and Linux, it works in exactly the same way. When you run Fedora Media Writer, you should see a dialog like this:

1. Run Fedora Media Writer

2. Choose your favorite Fedora flavor (or other operating system)

3. Hit “Create Live USB” and wait for it to download and write

Want to make this better?
You can go ahead can test the basic test cases and post your karma here. Also, you can go ahead and contribute to github with patches.

Editor’s note: The Fedora Project also provides multi-platform command line instructions for creating live-USB media.

Preparing for Installation

This chapter describes the steps you need take before you begin the installation. Not every step must be strictly followed — for example, if you plan to use the default installation settings, you do not need to gather system information such as disk device labels/UUIDs or network information such as the system’s IP address. However, you should still go through this chapter, as it also describes the available types of installation media and how to prepare boot media and installation sources.

Upgrade or Install?

If you already have Fedora installed and want to upgrade your installation to the current version, there are two basic ways to do so:

The preferred way to upgrade your system is an automatic upgrade using the dnf system upgrade utility. For information on performing an automatic upgrade, see Fedora Wiki dnf system upgrade.

You can upgrade to the latest version of Fedora manually instead of relying on dnf system upgrade. This involves booting the installer as if you were performing a clean installation, letting it detect your existing Fedora system, and overwriting the root partition while preserving data on other partitions and volumes. The same process can also be used to reinstall the system, if you need to. For detailed information, see Manual System Upgrade or Reinstallation.

Always back up your data before performing an upgrade or reinstalling your system, no matter which method you choose.

Preparing Boot Media

Fedora images are Hybrid ISOs and can be used to create installation media with both optical and USB disks, for booting on both BIOS and UEFI systems.

Fedora Media Writer

Fedora Media Writer has been significantly improved and is now the official, tested and supported way to make bootable media. Fedora Media Writer supports Linux, macOS, and Windows. It is an easy way to make bootable USB media to install Fedora (or other operating systems). Using Fedora Media Writer is strongly encouraged, although other USB media creation software can work as well.

Some of the new additions to Fedora Media Writer are that Fedora Workstation and Server are easily and quickly accessible from the selection on the main screen. Further choices are available if you select the button below Custom image. This offers a selection of various Fedora Spins, such as Xfce or Mate.

Historically, universal USB creation tools, such as Unetbootin, are a popular way to create USB installers from ISOs intended for optical media. They typically create a filesystem on the USB drive by extracting files from the image, and writing syslinux bootloader to the device.

These methods circumvent the boot-loader configuration built into Fedora images, which are pre-partitioned and designed to boot on UEFI systems with SecureBoot enabled as well as BIOS systems, and thus they do not produce consistent results with Fedora images, especially on UEFI systems.

The best results are produced by utilities that use a direct write method and do not modify the Fedora image.

Always think twice before writing an image to the device. The media creation methods described in this article are destructive. All data on the USB stick are deleted during the process, so make sure you have a back up of the data on the USB stick. Double check that you have selected correct device to write the image to!

Installing and running Fedora Media Writer

On Fedora

On Fedora 25 or later, Fedora Media Writer is available in the default repository. You can use dnf to install the package.

To install the Fedora Media Writer using:

Run the Fedora Media Writer:

or in Gnome 3 select Activities and then click on Fedora Media Writer.

On other Linux distributions

The best way to install Fedora Media Writer on various Linux distributions is to use the pre-built Flatpak package. The package can be obtained from the official Flatpak repository Flathub.org.

To setup Flatpak on your Linux system, follow the guidelines on the Flatpak documentation page.

Run the application:

On Windows

Download the latest Windows Installer file from GetFedora.org. The server automatically detects the running system and offers you the correct installation file for your Windows version.

Run the installation by double clicking the installer, and then continue through the set-up wizard. The Wizard lets you customize the software’s installation if you choose to.

Run the application by clicking on a launcher.

In Windows 8 and 10, the Fedora Media Writer launcher will be placed in the All apps menu under F. In Windows 10, you can just type Fedora Media Writer in the search box on the task bar.

On macOS

Download the latest Macintosh Disk Image (the package will have a .dmg extension) from GetFedora.org. The server automatically detects the running system and offers a correct package for your macOS.

Open the .dmg file, and press and hold the Ctrl key while clicking on the Fedora Media Writer application.

Press “Open” in the pop-up menu.

Click the “Open” button in the confirmation dialog, if it appears.

Writing the ISO image to the USB Media.

Select the Fedora Edition you wish to make a bootable USB drive for.

Image of Fedora Media Writer Main Screen

The main selection lets you choose one of the default Fedora editions, Fedora Workstation or Server. Fedora Media Writer displays more details about the edition before you can proceed with downloading the image and the USB creation. You can choose a different architecture, if you select Other variants.

Select “Create Live USB” to proceed.

Image of Fedora Media Writer Distro Information Screen

Fedora Media Writer will automatically download the ISO for you. If you have downloaded the ISO before and placed it in the Downloads directory, it will be immediately available to use.

Image of Fedora Media Writer Automatic Download

Plug in a USB drive on which you want to create the bootable media.

To write the image onto the media, click the red Write to disk button.

Image of Fedora Media Writer write to device red button

Other methods to create a live USB

Using the Fedora Media Writer is highly recommended for everybody, because it offers a reliable way to create a live USB stick for Fedora installation.

However, some experienced users may prefer to go through the creation process manually. If you decide to do so, you have to download the installation images and use an application to write them onto the USB stick.

If you have downloaded and verified the installation images manually, you still can write them onto the USB stick using Fedora Media Writer.

Downloading Boot and Installation Images

The Fedora Project offers different Editions tailored for some specific use cases. Choose the Fedora Edition best for you. You can also build your own by customizing Fedora after it’s installed or by using a kickstart file as described in Creating a Kickstart File. Kickstart installation requires the netinstall media type, or a direct installation booting method such as PXE; kickstarts are not supported with live images.

Read more about Fedora Workstation, Fedora Cloud, Fedora Server and the available media types in Downloading Fedora.

You can also choose a Fedora Spin featuring favorite alternative desktops or tools for specialized tasks at https://spins.fedoraproject.org.

Verifying the Downloaded Image

Because transmission errors or other problems may corrupt the Fedora image you have downloaded, it is important to verify the file’s integrity. After the images are created, an operation is performed on the file that produces a value called a checksum using a complex mathematical algorithm. The operation is sufficiently complex that any change to the original file will produce a different checksum.

By calculating the image’s checksum on your own computer and comparing it to the original checksum , you can verify the image has not been tampered with or corrupted. The original checksum values are provided at https://getfedora.org/security/, and are gpg signed to demonstrate their integrity.

Verifying checksums on Windows systems

Download the Fedora image of your choice from https://getfedora.org/ and the corresponding checksum file from https://getfedora.org/security/

Open a powershell session.

Change to the directory containing the downloaded files.

Load the resources required to calculate the checksum.

Calculate the downloaded image’s checksum. This will take a while!

Compare the calculated checksum to the expected checksum.

Verifying checksums on Linux and macOS systems

Download the Fedora image of your choice from https://fedoraproject.org/get-fedora and the corresponding checksum file from https://getfedora.org/security/

Open a terminal window, and navigate to the directory with the downloaded files.

Use the appropriate utility to verify the image checksum.

Writing the images to USB media

Creating USB media with GNOME Disks

On a system with GNOME, or with the gnome-disk-utility package installed, open Disks using the system menu.

Click your USB device in the left column.

Click the menu icon in the upper right corner of the window, and choose the Restore Disk Image option.

Navigate to your image file and click Start Restoring . After a few minutes, it will report the process is complete and your installation media will be ready to use.

Creating USB Media on the Linux command line

Open a terminal window and insert the usb drive.

Find the device node assigned to the drive. In the example below, the drive is given sdd .

Use the dd utility to write the image.

Pay extreme attention to the source ( if= ) and target ( of= ) device. The dd command destroys all data on the target device. If you made a mistake, you could lose important data.

Creating a Boot CD or DVD

In addition to creating a bootable USB flash drive, you can also use the provided ISO images to create bootable optical media (a CD or DVD). This approach may be necessary when installing Fedora on an older system which cannot boot from USB.

The exact steps you need to take to burn a bootable CD or DVD from an ISO image will vary depending on what disc burning software you use. This procedure only offers a general overview.

Insert a blank CD or DVD into your system’s CD or DVD burner.

Open your system’s burning software — for example, Brasero on Fedora systems with GNOME desktop environment, or Nero on Windows systems. In the software’s main menu, find an option which lets you burn an ISO image to a disc. For example, in Brasero, this option is Burn image in the main menu on the left side of the window.

When prompted, select the ISO image of Fedora to be burned, and the CD or DVD burner with a blank disc inside (if you have more than one drive).

Confirm your selection, and wait for the disc to be burned.

All Fedora Documentation content available under CC BY-SA 4.0 or, when specifically noted, under another accepted free and open content license.

Name already in use

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Fedora Media Writer

Fedora Media Writer is a tool that helps users put Fedora images on their portable drives such as flash disks.

It is able to automatically download the required image for them and write them in a dd -like fashion, using either dd itself or some other way to access the drive directly.

This overwrites the drive’s partition layout though so it also provides a way to restore a single-partition layout with a FAT32 partition.

Fedora Media Writer running

If you experience any problem with the application, like crashes or errors when writing to your drives, please open an issue here on Github.

Please don’t forget to attach the FedoraMediaWriter.log file that will appear in your Documents folder ($HOME/Documents on Linux and Mac, C:\Users<user>\Documents). It contains some non-sensitive information about your system and the log of all events happening during the runtime.

You can build FMW using the default Qt cmake build system. The gist for all three platforms is written below. For a more thorough look into how the releases are composed, you can read our GitHub Actions configuration.

You should specify the target directory using the -DCMAKE_INSTALL_PREFIX cmake option. The default prefix path is /usr/local

It can be done like this:

The main binary, mediawriter , will be written to $PREFIX/bin and the helper binary can be found on the path $PREFIX/libexec/mediawriter/helper .

  • adwaita-qt
  • udisks2 or storaged
  • xz-libs

Building FMW in Windows is just the matter of running cmake and make — as long as you have all dependencies in your include path. Only MinGW (both 32b and 64b variants) works at this moment.

To create a standalone package, use the windeployqt tool, included in your Qt installation. You will probably have to include a bunch of not included DLLs.

It is also possible to crosscompile the application using the MinGW compiler suite in Fedora (and probably some other distros).

  • xz-libs

Again, you can just run cmake and make .

To release a standalone package, use macdeployqt , supplied with your Qt installation.

  • xz-libs

If you want to help with translating Fedora Media Writer, please visit our Weblate project page.

Information about the individual Fedora flavors is retrieved from the websites and translated as a separate project.

Загрузить Fedora 37 Workstation.

Начните с использования Fedora Media Writer, это очень облегчает пробование Fedora.

На Linux или просто нужен файл ISO?

Не знаете, как использовать этот файл? Узнать здесь.

Подробнее о Fedora Media Writer.

Начать работать с Fedora проще, чем когда-либо. Все, что вам нужно — USB-накопитель на 2 ГБ и Fedora Media Writer.

После установки Fedora Media Writer, на вашем флеш-накопителе можно будет запустить «живую» версию Fedora Workstation, то есть можно будет загружать ее с флеш-накопителя и сразу же испытать, ничего не изменяя на вашем компьютере. Если вы заинтересуетесь системой, установить ее на жесткий диск будет делом нажатия нескольких кнопок * .

* Для установки и успешного запуска Fedora требуется минимум 20 ГБ на диске, 2 ГБ ОЗУ. Рекомендуется удвоить эти значения.

Мы серьезно относимся к безопасности.

После загрузки образа обязательно проверьте его безопасность и целостность.

Подождите! Есть кое-что еще.

Нужно что-нибудь немного другое? Проверьте другие наши загрузки Fedora Workstation здесь с дополнительными архитектурами и образами для сетевой установки.

By clicking on and downloading Fedora, you agree to comply with the Fedora Export Control Policy.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *