Oracle linux install from usb

Oracle linux install from usb

Oracle does not provide technical support for the sequence of steps that are provided in the following instructions because these steps refer to software programs and operating systems that are not provided by Oracle. This tutorial provides optional instructions as a convenience only.

Oracle’s supported method for creating Oracle Linux installation media is to use the dd command on a system that is running Oracle Linux. For more information, see https://docs.oracle.com/en/operating-systems/oracle-linux/8/install/install-media-usb.html.

Before You Begin

This tutorial shows you how to use Fedora Media Writer to create Oracle Linux installation media on a USB device. The instructions aim to assist Oracle customers who are installing Oracle Linux for the first time and who might need to create installation media on their existing Windows, macOS, or Linux workstation.

Background

Oracle Linux is distributed as an ISO image, which is a binary representation of the files and contents on the physical installation DVD. By using appropriate client software such as Balena Etcher and Rufus, you can write an ISO image to a USB flash drive or an external hard drive to convert them into bootable installation media. In this tutorial, however, the instructions are based on using Fedora Media Writer.

Fedora Media Writer is a utility that was created by the Fedora project to enable Windows, macOS, and Linux users to create USB installation media for that specific Linux distribution. However, the utility can be used to create USB installation media for other Linux distributions, such as Oracle Linux.

What Do You Need?

  • Any system with Windows 10, macOS 10.15, or a recent Linux distribution installed
  • A secure USB flash drive or external hard drive that has been formatted with the FAT32 file system

Download the latest Oracle Linux ISO

The latest Oracle Linux ISOs are available for download from Oracle Software Delivery Cloud at https://edelivery.oracle.com/. Your Oracle Single Sign On (SSO) credentials are required to access the download site.

  1. Search for «Oracle Linux», select the latest version of Oracle Linux, then click Add to Cart.
  2. Click Checkout, then click Continue.
  3. After accepting the Oracle License Agreement, deselect the check boxes next to the source DVD and Boot ISO so that you download only a single installation ISO image, for example, V984216-01.iso.
  4. Click Download to download the Oracle Download Manager, which you must then use to download the selected ISO file.

Alternatively, you can download the ISO file directly at http://yum.oracle.com/oracle-linux-isos.html.

Format your USB flash drive

The procedure for formatting your USB flash drive differs depending on the operating system that is running on your workstation.

Format your USB flash drive on Windows

  1. Insert your USB flash drive, open Explorer, and then locate the device in This PC.
  2. Right-click the correct drive letter, then select Format. .
  3. Select exFAT as the file system, set a volume label, and then select Quick Format.
  4. Click Start to start the format process, then click Yes to confirm that you want to proceed.

Wait for the format process to complete before proceeding.

Format your USB flash drive on macOS

  1. Insert your USB flash drive, then wait for the storage device icon to appear on your desktop.
  2. Open Disk Utility, then select your storage device on the left panel of the window.
  3. Click Erase, then select FAT32 as the file system and set a volume label.
  4. Click Erase and wait for the format process to complete.

Format your USB flash drive on Linux

  1. Install gparted through your Linux distribution package manager.
  2. Start gparted and select the storage device from the drop-down list, which is located at the top right side of the window.
  3. Delete any existing partitions and then create one single FAT32 partition.
  4. Click the green tick mark, then click Apply to start the format process.
  5. After the format process has completed, disconnect and then reconnect your USB flash drive.

Install Fedora Media Writer

The procedure for installing Fedora Media Writer differs depending on the operating system that is running on your workstation.

Install Fedora Media Writer on Windows

  1. Download the Windows EXE installer at https://github.com/FedoraQt/MediaWriter/releases/.
  2. Run the installer, agree to the license terms, and then following the installation steps.

Install Fedora Media Writer on macOS

  1. Download the macOS DMG installer at https://github.com/FedoraQt/MediaWriter/releases/.
  2. Open the DMG file, then click and drag the universal binary to your Applications folder.

Install Fedora Media Writer on Linux

  1. Install the flatpak application and the external Flathub repository for the application by following the instructions that are provided for your Linux distribution at https://flatpak.org/setup/.
  2. Install Fedora Media Writer as a flatpak from Flathub as follows:

Create a bootable USB memory stick

  1. Insert your USB flash drive if you have not done so already, then start Fedora Media Writer.
  2. Click Custom image and then select the downloaded Oracle Linux ISO image.
  3. In the drop-down list, select your USB flash drive as the boot media, then click Write to Disk.
  4. When the write process has completed, remove your USB flash drive and then reinsert it to verify that the device is no longer empty.
  5. Safely remove or unmount the USB flash drive before removing it from the USB slot.
Читайте также:  Making windows bootable usb drive

Install Oracle Linux on compatible machines

The key combination for editing the BIOS/UEFI configuration or for selecting the current boot device varies depending on the manufacturer. Refer to the manufacturer of your particular hardware for related technical support documentation.

  1. Insert the newly created USB installation media and then restart the system.
  2. Press the appropriate key combination when the machine boots, then select your USB flash drive as the boot device.
  3. Follow the Oracle Linux installation instructions provided in the release installation guide.
    • For Oracle Linux 8, see https://docs.oracle.com/en/operating-systems/oracle-linux/8/install/
    • For Oracle Linux 7, see https://docs.oracle.com/en/operating-systems/oracle-linux/7/install/

Want to Learn More?

  • Wikipedia page for Fedora Media Writer at https://en.wikipedia.org/wiki/Fedora_Media_Writer
  • dd(1) manual page
  • Create bootable USB memory sticks on Windows with Rufus at https://rufus.ie/
  • Oracle Linux Documentation

Oracle Linux: Create USB Installation Media for Oracle Linux with Fedora Media Writer

Copyright © 2020, OracleВ and/orВ itsВ affiliates.В

This tutorial shows you how to use Fedora Media Writer to create Oracle Linux installation media on a USB device with any compatible operating system.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are «commercial computer software» or «commercial computer software documentation» pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud services are defined by the applicable contract for such services. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.

Источник

ChapterВ 1В Preinstallation Configuration

This chapter describes the system requirements for installing Oracle Linux 8, including information about how to obtain the software and general preparation guidelines.

1.1В System Requirements

The latest Oracle Linux 8 release includes both the Unbreakable Enterprise Kernel (UEK) and the Red Hat Compatible Kernel (RHCK). To install Oracle Linux 8, your system must fulfill the following requirements:

Minimum of 2 logical CPUs up to 2048 logical CPUs

1.5 GB of memory per logical CPU, up to a maximum of 64 TB

At least 10 GB of disk space (20 GB is the recommended minimum)

On UEFI systems, ensure that the target disk uses GPT (GUID Partition Table), as some UEFI firmwares do not support UEFI/MBR boot.

Refer to the following additional resources for information related to installation issues and system requirements:

1.2В Preparing Installation Media

The Oracle Linux distribution is free to download, use, and distribute. This section describes how to download the required ISO images and prepare media for installation.

Читайте также:  C windows systemapps можно ли удалить

1.2.1В Obtaining ISO Images

Oracle makes the Oracle Linux 8 ISO image for the x86_64 platform at the Oracle Software Delivery Cloud at https://edelivery.oracle.com/. Unless indicated otherwise, the ISO image for the aarch64 platform is also available at the same site.

Additionally, the same ISO images are also available at https://yum.oracle.com/oracle-linux-isos.html.

The latest Oracle Linux 8 packages are also available in the Unbreakable Linux Network (ULN) and the Oracle Linux yum server. To install additional software for Oracle Linux 8, do one of the following:

Subscribe to different channels on ULN.

To explore the channels that are available to you on ULN, log in to https://linux.oracle.com/ and select the Channels tab.

Enable the required repositories within your yum or DNF configuration.

To view the Oracle Linux yum repositories that are available for Oracle Linux 8, visit https://yum.oracle.com/.

The Oracle Linux yum server does not provide equivalent repositories for some channels that are available on ULN. These channels provide non-open source packages.

The Media Pack contains the following ISO images:

Full ISO of Oracle Linux 8

This ISO image contains everything needed to boot a system and install Oracle Linux, and is particularly useful for offline installations.

Boot ISO of Oracle Linux 8

This ISO image contains everything that is required to boot a system and start an installation. However, to complete the installation, you must specify the location of the packages, for example an NFS share. For more information on installing directly from the Oracle Linux yum server, see Section 3.1.3, “Setting Software Options”.

RHCK is used during the installation and both UEK and RHCK kernels are installed. After the installation, the system boots the UEK kernel by default. On Oracle Linux 8 systems, the default kernel is Unbreakable Enterprise Kernel Release 6

Boot ISO of the supported UEK release

This ISO image contains everything that is required to boot a system and start an installation. However, to complete the installation, you must specify the location of the packages, for example on a local disk or an NFS share. For more information on installing directly from the Oracle Linux yum server, see Section 3.1.3, “Setting Software Options”.

UEK is used during the installation and is the default kernel that is booted after an installation. Use this boot image if you have hardware that is only supported on UEK, or if you are having trouble with the installer when using the RHCK boot image.

You must use this boot image if you want to install Oracle Linux 8 with a Btrfs root file system. See ChapterВ 6, Installing a System With a Btrfs root File System.

Oracle Linux 8 source DVDs

These ISO images contain the source code for the software packages in the release.

For a more accurate listing of ISOs for the three most recent updates to the Oracle Linux releases, refer to https://yum.oracle.com/oracle-linux-isos.html.

This installation guide assumes that you are performing installations on physical systems at your site. However, you can also install a full Oracle Linux 8 media image on a compute instance on Oracle Cloud Infrastructure, provided that you have an account. For more information, visit https://www.oracle.com/cloud/compute/.

You can use the full installation ISO image or the boot ISO image to install Oracle Linux 8 from various boot sources, including the following:

Virtual DVD-ROM. This source enables you to boot and install an Oracle VM or Oracle VM VirtualBox virtual machine (guest).

Note that the media pack might contain additional content that may pertain to a particular release update of Oracle Linux. Items such as Driver Update Disks might also be included. These items are described in further detail in the release notes for the particular update release.

After installation, you can obtain Oracle Linux packages from the Unbreakable Linux Network (ULN) and the Oracle Linux yum server. For more information, see ChapterВ 5, Post-Installation Configuration.

1.2.2В Preparing CD or DVD Installation Media

Due to storage limits, you can write the full installation ISO image only on a recordable DVD. A recordable CD can only store the boot ISO image.

To write an ISO image file to a CD or DVD, use a command such as cdrecord , for example:

To display the SCSI subsystem and device that corresponds to the CD or DVD writer, use the cdrecord -scanbus command

1.2.3В Preparing USB Installation Media

If a system’s firmware supports booting from a USB drive, you can create a boot image on the drive to use to install Oracle Linux. Whether you can create the full installation ISO image or only the boot ISO image depends on the capacity of the USB media.

To create a bootable USB drive, use the dd command or a separate utility that can write an ISO image to a USB drive. The following steps describe how to use the dd command.

This procedure destroys any existing data on the drive. Therefore, ensure that you specify the correct device name for the USB drive on your system.

Insert a USB drive into an Oracle Linux system.

Unmount any file systems on the device.

Assuming that the USB drive is the /dev/sdb1 device, you would type:

Write the contents of the ISO image file to the USB device, for example:

The USB drive is now ready to be used to boot a system and start the installation.

1.2.4В Extracting the Contents of the Full Installation ISO Image

Mount the full installation ISO image on a suitable mount point such as /mnt :

Extract the contents of the full installation ISO image.

Ensure that the command you use extracts the .treeinfo file at the root of the ISO image, for example:

The following example extracts the ISO image mounted on /mnt to an NFS share at /var/OSimage/OL8 :

To extract the ISO image mounted on /mnt to a web server directory at /var/www/html/OSimage/OL8 , you would enter:

Читайте также:  Как сбросить параметры обновлений windows 10

Unmount the DVD image:

1.2.5В Extracting and Preparing the UEK ISO

If you intend to use the boot ISO of the UEK release, particularly as a source for a network installation, you can use it in conjunction with the full installation ISO image.

Download both the full installation ISO image and the UEK boot ISO image using the information provided in Section 1.2.1, “Obtaining ISO Images”.

Extract the full installation ISO image following the instructions in Section 1.2.4, “Extracting the Contents of the Full Installation ISO Image”.

Remove the existing images directory within extracted version of the full installation ISO. For example, if you extracted the image to /var/www/html/OSimage/OL8 :

Mount the UEK boot ISO image. For example:

Copy the images directory from the UEK boot ISO image to the location where you extracted the full installation ISO. For example, if you extracted the full installation ISO image to /var/www/html/OSimage/OL8 :

Unmount the UEK boot ISO image. For example:

You can now use the extracted ISO as a source for a network installation. Note that the kernel images are updated. If you are using a TFTP service to provide access to the installation kernel ( vmlinuz ), and the ram-disk image file ( initrd.img ), you should ensure that these images match the versions that you have just copied across from the UEK boot ISO.

1.3В Planning an Installation

The following are the main considerations when planning to install a system:

Includes the following:

Storage devices on which you intend to install the operating system, such as a local hard disk. Identify the partitions, if any exist, that can be used for the installation. The installation program indicates how much disk space is required, and displays a warning if disk space is insufficient.

Layout of the storage devices on which the operating system’s file systems will be installed, including any provision for logical volume management or RAID configuration.

Required amount of space for each file system ( / , /boot , /home , /var/tmp , and so on), the file system type, and whether the block device underlying each file system should be encrypted.

For iSCSI or FCoE connections, the WWID or the port, target, and LUN to be used.

Includes the following:

Network interface to use for network installation, as well as the IP address, netmask, and gateway settings if you do not use DHCP.

Fully qualified domain name of the system, or, if using DHCP, the host name.

Other network interfaces to be configured during installation, and, if not using DHCP, their IP addresses, netmasks, and gateway settings.

Other specialized network interfaces to be configured during installation, such as VLANs and bonds.

Includes the following:

Software packages to be installed based on system’s intended purpose, such as a web server.

URLs of any additional repositories and proxy settings to be used to install packages.

1.4В Using a Driver Update Disk

A Driver Update Disk (DUD) provides a mechanism for delivering updated device drivers during system installation. On some systems, hardware may not be fully supported for an Oracle Linux release. In these cases, a DUD may be released at a later date to facilitate installation on newer hardware.

DUDs are released as modules become available for previously unsupported hardware. The DUD is usually in the form of an ISO and is available in the Oracle Software Delivery Cloud or through Oracle Support.

Preparing to use a Driver Update Disk image

Writing the DUD ISO to the wrong device may result in data loss. Check that you reference the correct device node when you copy the image. Use the lsblk utility to help you to identify the different disks block devices on your system.

Use the dd command line utility to transfer the DUD image to an alternate storage device:

Full path to the location of the DUD ISO file.

Device node of the storage media that you intend to use for the DUD.

As an alternative, you can transfer the DUD image to a location that is accessible over the network such as a web server or an NSF server.

Using the Driver Update Disk during installation

To use the DUD during an installation, choose from one of the following methods depending on where the DUD image is stored.

DUD image is in an attachable media (USB)

Boot the system from the standard Oracle Linux installation media.

While the system is booting, but before the installer starts, attach the media that contains the DUD image.

As an example, attach the media when the system displays the GRUB boot prompt.

The installer recognizes the DUD and would use it. The installer might also prompt you to select the drivers to install.

The kernel used by the installer might not include support for USB 3.0. When using the DUD on USB media, ensure that you use a USB 2.0 compatible port when connecting the USB media to the system.

DUD image is on the network

While the system is booting, press the key that enables you to edit the boot options.

On BIOS-based systems, press Tab. On UEFI-based systems, press E .

Add the following line to the boot options:

The network location can be a URL, such as http://www.example.com/dd.iso , or the full path of the NFS share directory.

If you are using DUD in a kickstart installation, indicate the DUD location in the kickstart file. The specific entry to add depends on the location of the DUD image.

DUD image is in an attached block device:

DUD image is on the network location:

The network location can be a URL, such as http://www.example.com/dd.iso , or the full path of the NFS share directory.

Copyright В© 2019, 2021, Oracle and/or its affiliates. Legal Notices

Источник

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