<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZLinuxBootLoader",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZLinuxBootLoader"
  },
  "title" : "VZLinuxBootLoader"
}
-->

# VZLinuxBootLoader

An object that loads and configures a Linux kernel as the guest system of your VM.

```
class VZLinuxBootLoader
```

## Overview

Create and configure a [`VZLinuxBootLoader`](/documentation/Virtualization/VZLinuxBootLoader) object during the initial configuration of your VM. Use this object to specify the location of the Linux kernel that serves as the guest operating system. You can also specify additional information to use during the boot process, such as command-line parameters to pass to the kernel. Assign the [`VZLinuxBootLoader`](/documentation/Virtualization/VZLinuxBootLoader) object to the [`bootLoader`](/documentation/Virtualization/VZVirtualMachineConfiguration/bootLoader) property of your [`VZVirtualMachineConfiguration`](/documentation/Virtualization/VZVirtualMachineConfiguration) object.  A configuration with `VZLinuxBootLoader` is only valid if used with [`VZGenericPlatformConfiguration`](/documentation/Virtualization/VZGenericPlatformConfiguration).

## Topics

### Creating the Linux boot loader

[`init(kernelURL:)`](/documentation/Virtualization/VZLinuxBootLoader/init(kernelURL:))

Creates a boot loader that launches the Linux kernel at the specified URL.

### Configuring the boot parameters

[`commandLine`](/documentation/Virtualization/VZLinuxBootLoader/commandLine)

The command-line parameters to pass to the Linux kernel at boot time.

[`initialRamdiskURL`](/documentation/Virtualization/VZLinuxBootLoader/initialRamdiskURL)

The location of an optional RAM disk, which the boot loader maps into memory before it boots the Linux kernel.

### Getting the kernel file

[`kernelURL`](/documentation/Virtualization/VZLinuxBootLoader/kernelURL)

The URL of the Linux kernel file.

## See Also

[`VZGenericPlatformConfiguration`](/documentation/Virtualization/VZGenericPlatformConfiguration)

The platform configuration for a generic Intel or ARM virtual machine.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)