Skip to content

Commit 2d7b575

Browse files
Update oracle-create-upload-vhd.md
1 parent c961f9b commit 2d7b575

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/virtual-machines/linux/oracle-create-upload-vhd.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ This article assumes that you have already installed an Oracle Linux operating s
2424
* Oracle's UEK2 is not supported on Hyper-V and Azure as it does not include the required drivers.
2525
* The VHDX format is not supported in Azure, only **fixed VHD**. You can convert the disk to VHD format using Hyper-V Manager or the convert-vhd cmdlet.
2626
* **Kernel support for mounting UDF file systems is required.** At first boot on Azure, the provisioning configuration is passed to the Linux VM via UDF-formatted media that is attached to the guest. The Azure Linux agent must be able to mount the UDF file system to read its configuration and provision the VM.
27-
* When installing the Linux system, it is recommended that you use standard partitions rather than LVM (often the default for many installations). This standard partitions will avoid LVM name conflicts with cloned VMs, particularly if an OS disk ever needs to be attached to another VM for troubleshooting. [LVM](/previous-versions/azure/virtual-machines/linux/configure-lvm) or [RAID](/previous-versions/azure/virtual-machines/linux/configure-raid) may be used on data disks if preferred.
27+
* When installing the Linux system, it is recommended that you use standard partitions rather than LVM (often the default for many installations). These standard partitions will avoid LVM name conflicts with cloned VMs, particularly if an OS disk ever needs to be attached to another VM for troubleshooting. [LVM](/previous-versions/azure/virtual-machines/linux/configure-lvm) or [RAID](/previous-versions/azure/virtual-machines/linux/configure-raid) may be used on data disks if preferred.
2828
* Linux kernel versions earlier than 2.6.37 don't support NUMA on Hyper-V with larger VM sizes. This issue primarily impacts older distributions using the upstream Red Hat 2.6.32 kernel, and was fixed in Oracle Linux 6.6 and later
29-
* Do not configure a swap partition on the OS disk. More information will be found below.
30-
* All VHDs on Azure must have a virtual size aligned to 1MB. When converting from a raw disk to VHD, you must ensure that the raw disk size is a multiple of 1MB before conversion. See [Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more information.
29+
* Do not configure a swap partition on the OS disk. More information is found below.
30+
* All VHDs on Azure must have a virtual size aligned to 1 MB. When converting from a raw disk to VHD, you must ensure that the raw disk size is a multiple of 1MB before conversion. See [Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more information.
3131
* Make sure that the `Addons` repository is enabled. Edit the file `/etc/yum.repos.d/public-yum-ol6.repo`(Oracle Linux 6) or `/etc/yum.repos.d/public-yum-ol7.repo`(Oracle Linux 7), and change the line `enabled=0` to `enabled=1` under **[ol6_addons]** or **[ol7_addons]** in this file.
3232

3333
## Oracle Linux 6.X
3434

3535
> [!IMPORTANT]
36-
> Keep in consideration Oracle Linux 6.x is already EOL. Oracle Linux version 6.10 has available [ELS support](https://www.oracle.com/a/ocom/docs/linux/oracle-linux-extended-support-ds.pdf), which [will end on 07/2024](https://www.oracle.com/a/ocom/docs/elsp-lifetime-069338.pdf).
36+
> Please note that Oracle Linux has reached its end of life and is [no longer supported by Oracle](https://www.oracle.com/a/ocom/docs/elsp-lifetime-069338.pdf). This means that no new updates or patches will be provided, and technical support may not be available. It is recommended that users migrate to a newer and supported version of Linux to ensure security and stability. We cannot be held responsible for any issues that may arise from continuing to use Oracle Linux after its end of life.
3737
3838
You must complete specific configuration steps in the operating system for the virtual machine to run in Azure.
3939

@@ -86,23 +86,23 @@ You must complete specific configuration steps in the operating system for the v
8686
sudo yum install python-pyasn1
8787
```
8888

89-
9. Modify the kernel boot line in your grub configuration to include additional kernel parameters for Azure. To do this open "/boot/grub/menu.lst" in a text editor and ensure that the kernel includes the following parameters:
89+
9. Modify the kernel boot line in your grub configuration to include more kernel parameters for Azure. To do this open "/boot/grub/menu.lst" in a text editor and ensure that the kernel includes the following parameters:
9090

9191
```config-grub
9292
console=ttyS0 earlyprintk=ttyS0
9393
```
9494

95-
This ensures all console messages are sent to the first serial port, which can assist Azure support with debugging issues.
95+
This settings ensures all console messages are sent to the first serial port, which can assist Azure support with debugging issues.
9696

9797
In addition to the above, it is recommended to *remove* the following parameters:
9898

9999
```config-grub
100100
rhgb quiet crashkernel=auto
101101
```
102102

103-
Graphical and quiet boot are not useful in a cloud environment where we want all the logs to be sent to the serial port.
103+
Graphical and quiet boot is not useful in a cloud environment where we want all the logs to be sent to the serial port.
104104

105-
The `crashkernel` option may be left configured if desired, but note that this parameter will reduce the amount of available memory in the VM by 128MB or more, which may be problematic on the smaller VM sizes.
105+
The `crashkernel` option may be left configured if desired, but note that this parameter will reduce the amount of available memory in the VM by 128 MB or more, which may be problematic on the smaller VM sizes.
106106

107107
10. Ensure that the SSH server is installed and configured to start at boot time. This is usually the default.
108108
11. Install the Azure Linux Agent by running the following command. The latest version is 2.0.15.
@@ -208,7 +208,7 @@ Preparing an Oracle Linux 7 virtual machine for Azure is similar to Oracle Linux
208208

209209
Graphical and quiet boot are not useful in a cloud environment where we want all the logs to be sent to the serial port.
210210

211-
The `crashkernel` option may be left configured if desired, but note that this parameter will reduce the amount of available memory in the VM by 128MB or more, which may be problematic on the smaller VM sizes.
211+
The `crashkernel` option may be left configured if desired, but note that this parameter will reduce the amount of available memory in the VM by 128 MB or more, which may be problematic on the smaller VM sizes.
212212

213213
10. Once you are done editing "/etc/default/grub" per above, run the following command to rebuild the grub configuration:
214214

@@ -276,7 +276,7 @@ Preparing an Oracle Linux 7 virtual machine for Azure is similar to Oracle Linux
276276
277277
15. Swap configuration. Do not create swap space on the operating system disk.
278278
279-
Previously, the Azure Linux Agent was used automatically configure swap space by using the local resource disk that is attached to the virtual machine after the virtual machine is provisioned on Azure. However this is now handled by cloud-init, you **must not** use the Linux Agent to format the resource disk create the swap file, modify the following parameters in `/etc/waagent.conf` appropriately:
279+
Previously, the Azure Linux Agent was used automatically to configure swap space by using the local resource disk that is attached to the virtual machine after the virtual machine is provisioned on Azure. However this is now handled by cloud-init, you **must not** use the Linux Agent to format the resource disk create the swap file, modify the following parameters in `/etc/waagent.conf` appropriately:
280280
281281
```bash
282282
sudo sed -i 's/ResourceDisk.Format=y/ResourceDisk.Format=n/g' /etc/waagent.conf

0 commit comments

Comments
 (0)