Documentation for a newer release is available. View Latest

Προετοιμασία μέσου εκκίνησης

Η ομάδα τεκμηρίωσης Fedora Version unknown Last review: currently slightly out of date

Τα είδωλα του Fedora είναι υβριδικά αρχεία ISO και μπορούν να χρησιμοποιηθούν για τη δημιουργία μέσων εγκατάστασης με οπτικούς δίσκους και μονάδες USB, για την εκκίνηση σε συστήματα BIOS και UEFI.

Fedora Media Writer

Το Fedora Media Writer έχει βελτιωθεί σημαντικά και αποτελεί πλέον τον επίσημο, δοκιμασμένο και υποστηριζόμενο τρόπο δημιουργίας μέσων εκκίνησης. Το Fedora Media Writer υποστηρίζει Linux, macOS και Windows. Είναι ένας εύκολος τρόπος να δημιουργήσετε μονάδες USB με δυνατότητα εκκίνησης, για την εγκατάσταση του Fedora (ή άλλων λειτουργικών συστημάτων). Προτείνουμε ανεπιφύλακτα τη χρήση του Fedora Media Writer, αλλά μπορείτε να χρησιμοποιήσετε κάποιο άλλο λογισμικό δημιουργίας μονάδων USB με δυνατότητα εκκίνησης.

Ορισμένες από τις νέες προσθήκες στο Fedora Media Writer είναι ότι τα Fedora Workstation και Server είναι εύκολα και γρήγορα προσβάσιμα από το μενού επιλογών στην κύρια οθόνη. Μπορείτε να δείτε περισσότερες επιλογές εάν κάνετε κλικ στο κουμπί κάτω από την επιλογή Προσαρμοσμένο είδωλο. Αυτό σας προσφέρει τη δυνατότητα να επιλέξετε ανάμεσα σε διάφορες παραλλαγές του Fedora, όπως το Xfce ή το Mate.

Εδώ και πολλά χρόνια, τα καθολικά εργαλεία δημιουργίας USB, όπως το Unetbootin, αποτελούν έναν δημοφιλή τρόπο δημιουργίας μέσων εγκατάστασης USB από αρχεία ISO που προορίζονται για οπτικά μέσα. Συνήθως δημιουργούν ένα σύστημα αρχείων στη μονάδα USB κάνοντας εξαγωγή των αρχείων από το είδωλο και εγγραφή του φορτωτή εκκίνησης syslinux στη συσκευή.

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!

Εγκατάσταση και εκτέλεση του Fedora Media Writer

Στο Fedora

Στο Fedora 25 ή νεότερα, το Fedora Media Writer είναι διαθέσιμο στο προεπιλεγμένο αποθετήριο. Μπορείτε να χρησιμοποιήσετε το dnf για να εγκαταστήσετε το πακέτο.

  1. To install the Fedora Media Writer using:

    $ sudo dnf install mediawriter
  2. Εκτελέστε το Fedora Media Writer:

    $ mediawriter

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

Σε άλλες διανομές Linux

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.

  1. Για να ρυθμίσετε το Flatpak στο σύστημα Linux σας, ακολουθήστε τις οδηγίες στη σελίδα τεκμηρίωσης του Flatpak.

  2. Εκτελέστε την εφαρμογή:

    $ sudo mediawriter

Στα Windows

  1. 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.

  2. Εκτελέστε την εγκατάσταση κάνοντας διπλό κλικ στο πρόγραμμα εγκατάστασης και ακολουθήστε τις οδηγίες του βοηθού εγκατάστασης. Ο βοηθός σάς επιτρέπει να προσαρμόσετε την εγκατάσταση του λογισμικού εφόσον το επιθυμείτε.

  3. 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.

Στο macOS

  1. 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.

  2. Ανοίξτε το αρχείο .dmg και κρατήστε πατημένο το πλήκτρο Ctrl ενώ κάνετε κλικ στην εφαρμογή Fedora Media Writer.

  3. Press “Open” in the pop-up menu.

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

Writing the ISO image to the USB Media.

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

    Image of Fedora Media Writer Main Screen
    Figure 1. Fedora Media Writer Main Screen: Choose your Edition of Fedora

    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.

  2. Select “Create Live USB” to proceed.

    Image of Fedora Media Writer Distro Information Screen
    Figure 2. Πληροφορίες διανομής Fedora Media Writer

    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
    Figure 3. Fedora Media Writer Automatic Download
  3. Συνδέστε τη μονάδα USB στην οποία θέλετε να δημιουργήσετε το μέσο με δυνατότητα εκκίνησης.

  4. Για να εγγράψετε το είδωλο στο μέσο, κάντε κλικ στο κόκκινο κουμπί Εγγραφή στον δίσκο.

    Image of Fedora Media Writer write to device red button
    Figure 4. Fedora Media Writer Write to USB Device

Άλλες μέθοδοι δημιουργίας 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.

Λήψη ειδώλων εκκίνησης και εγκατάστασης

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.

Επαλήθευση του ληφθέντος ειδώλου

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.

Επαλήθευση checksum σε συστήματα Windows

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

  2. Open a powershell session.

  3. Change to the directory containing the downloaded files.

    > cd $HOME\Downloads\
    > ls
    
    Directory: C:\Users\Pete\Downloads
    
    Mode                LastWriteTime         Length  Name
    ----                -------------         ------  ----
    -a---        11/25/2014  12:39 PM            272  Fedora-Server-21-x86_64-CHECKSUM
    -a---        11/25/2014  12:39 PM     2047868928  Fedora-Server-DVD-x86_64-21.iso
  4. Load the resources required to calculate the checksum.

    > $image = "Fedora-Server-DVD-x86_64-21.iso"
    > $checksum_file = "Fedora-Server-21-x86_64-CHECKSUM"
    > $sha256 = New-Object -TypeName System.Security.Cryptography.sha256CryptoServiceProvider
    > $expected_checksum = ((Get-Content $checksum_file | Select-String -Pattern $image) -split " ")[0].ToLower()
  5. Calculate the downloaded image’s checksum. This will take a while!

    > $download_checksum = [System.BitConverter]::ToString($sha256.ComputeHash([System.IO.File]::ReadAllBytes("$PWD\$image"))).ToLower() -replace '-', ''
  6. Compare the calculated checksum to the expected checksum.

    > echo "Download Checksum: $download_checksum"
    > echo "Expected Checksum: $expected_checksum"
    > if ( $download_checksum -eq "$expected_checksum" ) {
    echo "Checksum test passed!"
    } else {
    echo "Checksum test failed."
    }

Επαλήθευση των checksum σε συστήματα Linux και macOS

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

  2. Ανοίξτε ένα παράθυρο τερματικού και πλοηγηθείτε στον κατάλογο με τα ληφθέντα αρχεία.

    $ cd ~/Downloads
  3. Χρησιμοποιήστε το κατάλληλο βοηθητικό εργαλείο για να επαληθεύσετε το checksum του ειδώλου.

    • Στο Linux:

      $ sha256sum -c *CHECKSUM
    • Στο macOS:

      $ grep '^SHA256' *-CHECKSUM | awk -F '[()=]' '{ print $4 "  " $2 }' | shasum -a 256 -c

Εγγραφή των ειδώλων σε μονάδα USB

Creating USB media with GNOME Disks

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

  2. Click your USB device in the left column.

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

  4. 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.

Δημιουργία μονάδας USB στη γραμμή εντολών του Linux

  1. Ανοίξτε ένα παράθυρο τερματικού και εισαγάγετε τη μονάδα USB.

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

    $ dmesg|tail
    [288954.686557] usb 2-1.8: New USB device strings: Mfr=0, Product=1, SerialNumber=2
    [288954.686559] usb 2-1.8: Product: USB Storage
    [288954.686562] usb 2-1.8: SerialNumber: 000000009225
    [288954.712590] usb-storage 2-1.8:1.0: USB Mass Storage device detected
    [288954.712687] scsi host6: usb-storage 2-1.8:1.0
    [288954.712809] usbcore: registered new interface driver usb-storage
    [288954.716682] usbcore: registered new interface driver uas
    [288955.717140] scsi 6:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9228 PQ: 0 ANSI: 0
    [288955.717745] sd 6:0:0:0: Attached scsi generic sg4 type 0
    [288961.876382] sd 6:0:0:0: sdd Attached SCSI removable disk
  3. Use the dd utility to write the image.

    # dd if=/διαδρομή/προς/το/Fedora-Live-Security-x86_64-21.iso of=/dev/sdd

    Προσέξτε ιδιαίτερα τις συσκευές προέλευσης (if=) και προορισμού (of=). Η εντολή dd καταστρέφει όλα τα δεδομένα στη συσκευή προορισμού. Εάν κάνετε κάποιο λάθος, ενδέχεται να χάσετε σημαντικά δεδομένα.

Δημιουργία CD ή 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.

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

  2. 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.

  3. Όταν σας ζητηθεί, επιλέξτε το είδωλο ISO του Fedora που θέλετε να εγγράψετε και τη μονάδα εγγραφής CD ή DVD που περιέχει τον κενό δίσκο (εάν έχετε περισσότερες από μία μονάδες).

  4. Επιβεβαιώστε την επιλογή σας και περιμένετε μέχρι να ολοκληρωθεί η εγγραφή στον δίσκο.