설치 준비

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.

업그레이드 또는 설치?

만약 이미 페도라가 설치되어 있고 자신의 설치를 최신 버전으로 향상하려는 경우에, 다음과 같은 두 가지 기본 방법이 있습니다:

dnf system upgrade 사용하여 자동으로 향상하기

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.

당신의 선택이 어떻든 간에, 시스템을 향상하거나 재설치를 수행하기 전에 항상 당신의 자료를 따로 저장하세요.

부트와 설치 이미지 내려받기

The Fedora Project offers different Editions tailored for some specific use cases. Choose the Fedora Edition best for you, or you can build your own by customizing after the installation, 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 http://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://fedoraproject.org/verify, and are gpg signed to demonstrate their integrity.

윈도우 시스템에서 체크썸 확인하기
윈도우 시스템에서 체크썸 확인하기
  1. Download the Fedora image of your choice from https://fedoraproject.org/get-fedora and the corresponding checksum file from https://fedoraproject.org/verify

  2. powershell 세션을 열어요.

  3. 내려받기 한 파일이 포함되어 있는 디렉토리를 변경합니다.

    > cd $HOME\Downloads\
    > ls
    
    Directory: C:\Users\Pete\Downloads
    
    방식 최근쓰기 시간 길이 이름
    ---- ------------- ------ ----
    -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. 체크섬을 계산하는 데 필요한 자원을 적재합니다.

    > $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. 내려받은 이미지의 체크섬을 계산합니다. 이는 잠시 시간이 걸립니다!

    > $download_checksum = [System.BitConverter]::ToString($sha256.ComputeHash([System.IO.File]::ReadAllBytes("$PWD\$image"))).ToLower() -replace '-', ''
  6. 예상되는 체크섬에 계산된 체크섬과 비교합니다.

    > 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."
    }
리눅스와 OSX 시스템에서 체크섬 확인
리눅스와 OSX 시스템에서 체크섬 확인
  1. Download the Fedora image of your choice from https://fedoraproject.org/get-fedora and the corresponding checksum file from https://fedoraproject.org/verify

  2. 터미널 창을 열고, 그리고 내려받은 파일이 있는 디렉토리로 이동합니다.

    $ cd ~/Downloads
  3. 이미지 체크섬 확인에 적당한 유틸리티를 사용합니다.

    • 리눅스에서:

      $ sha256sum -c *CHECKSUM
    • OSX에서:

      $ shasum -a 256 -c *CHECKSUM

부트 미디어 준비

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.

페도라 미디어 작성기와 범용의 USB 생성기

Fedora Media Writer has been improved and is now the default way to make bootable media. Fedora Media Writer supports Linux, Mac, and Windows. It is an easy way to make bootable USB media to install Fedora (or other operating systems). While use of Fedora Media Writer is strongly encouraged, 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 the first choices on the main screen. However more choices are available if you select the button below "Custom OS". Options like Fedora Spins will appear. Fedora Spins such as XFCE and Mate will be selectable.

Universal USB creation tools such as Unetbootin are a historically popular way to create USB installers from ISOs intended for optical media. They typically function by creating a filesystem on the USB drive, 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. They do not produce a consistent result with Fedora’s images, especially for use with UEFI systems.

Utilities that use a direct write method, and do not modify the Fedora image, will produce the most consistently successful results.

Be sure you choose the right device!

Most media creation methods in this section are destructive. Ensure you do not need any data on the USB stick, and double check you have chosen the correct device before continuing.

Creating USB Media on Windows
  1. Download the latest Windows Installer file from Marin Briza’s github page: https://github.com/MartinBriza/MediaWriter/releases.

  2. Run the installation by double clicking it, and then clicking next through the set-up wizard. The Wizard gives you the options to customize the software’s installation if you choose to.

  3. In Windows 8 and 10, the application will be under "all apps" under F for Fedora Media Writer. Or in Windows 10, you can just type Fedora Media Writer in the search box on the task bar.

  4. 부팅 가능한 USB 드라이브를 위해 페도라 배포판을 선택합니다.

    페도라 미디어 작성기의 주요 화면 이미지
    Figure 1. 페도라 미디어 작성기 주요 화면: 자신의 페도라 배포판을 선택합니다
  5. If you choose one of the beginning default Fedora editions, such as Fedora workstation or server. Fedora Media Writer will give you information and details about it before you proceed with the download and USB creation. For Fedora Workstation, you can choose a different architecture, such as 32bit if you select "other architectures". Otherwise select "Create Live USB" to proceed.

    페도라 미디어 배포 정보 화면의 이미지
    Figure 2. 페도라 미디어 작성기 배포 정보
  6. Fedora Media Writer will automatically download the ISO for you, but if you all-ready have it in your Downloads directory it will be immediately available to use.

    페도라 미디어 작성기의 이미지 자동으로 내려받기
    Figure 3. 페도라 미디어 작성기를 자동으로 내려받기
  7. After the download completes, or when Fedora Media Writer is ready. Plug in a USB drive you wish to use as a bootable media.

  8. 빨간 "디스크에 쓰기" 누름 단추를 누릅니다.

    페도라 미디어 작성기의 이미지를 빨강 누름단추로 작성합니다
    Figure 4. 페도라 미디어 작성기를 USB 장치에 작성합니다
페도라 미디어 작성기로 USB 미디어를 생성하기.
  1. 페도라 25 또는 이후 배포판에서, 당신은 다음 명령으로 페도라 미디어 작성기를 내려 받을 수 있습니다:

    $ sudo dnf install mediawriter
  2. 당신은 다음 명령을 실행하여 페도라 미디어 작성기 를 호출 할 수 있습니다:

    $ sudo mediawriter

    or in Gnome 3 by selecting Activities, then selecting Utilities, and then selecting Fedora Media Writer.

  3. 부팅 가능한 USB 드라이브를 위해 페도라 배포판을 선택합니다.

    페도라 미디어 작성기의 주요 화면 이미지
    Figure 5. 페도라 미디어 작성기 주요 화면: 자신의 페도라 배포판을 선택합니다
  4. If you choose one of the beginning default Fedora editions, such as Fedora workstation or server. Fedora Media Writer will give you information and details about it before you proceed with the download and USB creation. For Fedora Workstation, you can choose a different architecture, such as 32bit if you select "other architectures". Otherwise select "Create Live USB" to proceed.

    페도라 미디어 배포 정보 화면의 이미지
    Figure 6. 페도라 미디어 작성기 배포 정보
  5. Fedora Media Writer will automatically download the ISO for you, but if you all-ready have it in your Downloads directory it will be immediately available to use.

    페도라 미디어 작성기의 이미지 자동으로 내려받기
    Figure 7. 페도라 미디어 작성기를 자동으로 내려받기
  6. After the download completes, or when Fedora Media Writer is ready. Plug in a USB drive you wish to use as a bootable media.

  7. 빨간 "디스크에 쓰기" 누름 단추를 누릅니다.

    페도라 미디어 작성기의 이미지를 빨강 누름단추로 작성합니다
    Figure 8. 페도라 미디어 작성기를 USB 장치에 작성합니다
Creating USB Media on Macintosh
  1. Download the latest Macintosh Disk Image (the package will have a .dmg extension) from Marin Briza’s github page: https://github.com/MartinBriza/MediaWriter/releases.

  2. Open the .dmg file and copy the mediawriter file into your applications folder.

  3. Navigate to your applications directory, and then launch the mediawriter app.

  4. Mac OS will then ask if you are sure you want to open the file (it is from the internet after all), select "Open" to run the program.

  5. 부팅 가능한 USB 드라이브를 위해 페도라 배포판을 선택합니다.

    페도라 미디어 작성기의 주요 화면 이미지
    Figure 9. 페도라 미디어 작성기 주요 화면: 자신의 페도라 배포판을 선택합니다
  6. If you choose one of the beginning default Fedora editions, such as Fedora workstation or server. Fedora Media Writer will give you information and details about it before you proceed with the download and USB creation. For Fedora Workstation, you can choose a different architecture, such as 32bit if you select "other architectures". Otherwise select "Create Live USB" to proceed.

    페도라 미디어 배포 정보 화면의 이미지
    Figure 10. 페도라 미디어 작성기 배포 정보
  7. Fedora Media Writer will automatically download the ISO for you, but if you all-ready have it in your Downloads directory it will be immediately available to use.

    페도라 미디어 작성기의 이미지 자동으로 내려받기
    Figure 11. 페도라 미디어 작성기를 자동으로 내려받기
  8. After the download completes, or when Fedora Media Writer is ready. Plug in a USB drive you wish to use as a bootable media.

  9. 빨간 "디스크에 쓰기" 누름 단추를 누릅니다.

    페도라 미디어 작성기의 이미지를 빨강 누름단추로 작성합니다
    Figure 12. 페도라 미디어 작성기를 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.

Creating USB Media on the Linux command line
  1. Open a terminal window and insert the usb drive.

  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. Make sure you have the right drive!

    # dd if=/path/to/Fedora-Live-Security-x86_64-21.iso of=/dev/sdd
부팅 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 can not 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. 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).

  4. 자신의 선택을 확인하고, 디스크가 구워질 때까지 기다리세요.