You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: PXE Booting the AlmaLinux Installer using Kickstart
6
+
hide_table_of_contents: true
7
+
---
8
+
9
+
## Installer Kernels
10
+
11
+
AlmaLinux maintains installer kernels that are a lightweight way to load the installer and then stream packages over the network as needed. The installer kernels are located at:
12
+
13
+
| URL | Description |
14
+
| --- | ----------- |
15
+
|`http://repo.almalinux.org`| Base URL for AlmaLinux mirrors |
16
+
|`almalinux/${version}/BaseOS/${arch}/os/images/pxeboot/`| Directory containing the installer kernels |
In order to load them, you'll need to use a boot snippet in iPXE similar to:
23
+
24
+
```bash
25
+
set install_params inst.ks=http://my.kickstart.com/ks.cfg inst.repo=http://repo.almalinux.org/almalinux/$version/BaseOS/$arch/os/
26
+
set mirror http://repo.almalinux.org
27
+
set base_dir almalinux
28
+
set version 8
29
+
set arch x86_64
30
+
set dir ${mirror}/${base_dir}/${version}/BaseOS/${arch}/os/images/pxeboot
31
+
32
+
kernel ${dir}/vmlinuz ${install_params} -- quiet
33
+
initrd ${dir}/initrd.img
34
+
boot
35
+
```
36
+
37
+
If you want to use a [Kickstart](https://wiki.almalinux.org/documentation/kickstart.html) URL for automation, you can add this to the kernel line:
38
+
39
+
```bash
40
+
set ksurl http://my.kickstart.com/ks.cfg
41
+
inst.ks=${ksurl}
42
+
```
43
+
44
+
For more examples, you can view the netboot.xyz configuration for AlmaLinux [here](https://github.com/netbootxyz/netboot.xyz/blob/master/roles/netbootxyz/templates/menu/almalinux.ipxe.j2).
Debian maintains installer kernels that are a lightweight way to load the Debian installer and then stream packages over the network as needed. The installer kernels are located at:
12
+
13
+
| URL | Description |
14
+
| --- | ----------- |
15
+
|`http://deb.debian.org`| Base URL for Debian mirrors |
16
+
|`debian/dists/${version}/main/installer-${arch}/current/images/netboot/`| Directory containing the installer kernels |
17
+
|`${version}`| Version (e.g., bullseye, bookworm, etc) |
18
+
|`${arch}`| Architecture (e.g., amd64, arm64) |
19
+
|`linux`| Kernel filename |
20
+
|`initrd.gz`| Initrd filename |
21
+
22
+
In order to load them, you'll need to use a boot snippet in iPXE similar to:
23
+
24
+
```bash
25
+
set install_params auto=true priority=critical
26
+
set mirror http://deb.debian.org
27
+
set base_dir debian
28
+
set debian_version bookworm
29
+
set arch amd64
30
+
set mirrorcfg mirror/suite=${debian_version}
31
+
set dir ${mirror}/${base_dir}/dists/${version}/main/installer-${arch}/current/images/netboot/debian-installer/amd64/
If you want to use a [preseed](https://www.debian.org/releases/stable/amd64/apb.en.html) URL for automation, you can add this to the kernel line:
39
+
40
+
```bash
41
+
set preseedurl http://my.preseed.com/preseed.cfg
42
+
preseed/url=${preseedurl}
43
+
```
44
+
45
+
For more examples, you can view the netboot.xyz configuration for Debian [here](https://github.com/netbootxyz/netboot.xyz/blob/master/roles/netbootxyz/templates/menu/debian.ipxe.j2).
46
+
47
+
## Live Boot
48
+
49
+
Debian also provides a number of Live Boot ISOs that will boot an OS directly into memory and can be used immediately without doing an install or modifying the hard drive. The Live OS will also include the installer as well. These are great for evaluating other desktops that you might want to try out without doing a full install.
50
+
51
+
| Distribution | Website |
52
+
| :--- | :--- |
53
+
| Debian Live |[https://www.debian.org/CD/live/](https://www.debian.org/CD/live/)|
description: PXE Booting the Rocky Linux Installer using Kickstart
6
+
hide_table_of_contents: true
7
+
---
8
+
9
+
## Installer Kernels
10
+
11
+
Rocky Linux maintains installer kernels that are a lightweight way to load the installer and stream packages over the network as needed. Rocky Linux is a binary compatible clone of RHEL (Red Hat Enterprise Linux) and is already supported by numerous large, financially strong sponsors.
12
+
13
+
The installer kernels are located at:
14
+
15
+
| URL | Description |
16
+
| --- | ----------- |
17
+
|`http://dl.rockylinux.org`| Base URL for Rocky Linux mirrors |
18
+
|`pub/rocky/${version}/BaseOS/${arch}/os/images/pxeboot/`| Directory containing the installer kernels |
In order to load them, you'll need to use a boot snippet in iPXE similar to:
25
+
26
+
```bash
27
+
set install_params inst.ks=http://my.kickstart.com/ks.cfg inst.repo=http://dl.rockylinux.org/pub/rocky/${version}/BaseOS/${arch}/os
28
+
set mirror http://dl.rockylinux.org
29
+
set base_dir pub/rocky
30
+
set version 9
31
+
set arch x86_64
32
+
set dir ${mirror}/${base_dir}/${version}/BaseOS/${arch}/os/images/pxeboot
33
+
34
+
kernel ${dir}/vmlinuz ${install_params} -- quiet
35
+
initrd ${dir}/initrd.img
36
+
boot
37
+
```
38
+
39
+
If you want to use a [Kickstart](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/automatically_installing_rhel/automated-installation-workflow_rhel-installer) URL for automation, you can add this to the kernel line:
40
+
41
+
```bash
42
+
set ksurl http://my.kickstart.com/ks.cfg
43
+
inst.ks=${ksurl}
44
+
```
45
+
46
+
For more examples, you can view the netboot.xyz configuration for Rocky Linux [here](https://github.com/netbootxyz/netboot.xyz/blob/master/roles/netbootxyz/templates/menu/rockylinux.ipxe.j2).
Copy file name to clipboardExpand all lines: docs/kb/pxe/ubuntu.md
+22-26Lines changed: 22 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -8,52 +8,48 @@ hide_table_of_contents: true
8
8
9
9
## Installer Kernels
10
10
11
-
Ubuntu maintains installer kernels that are lightweight way to load the Ubuntu installer and then stream packages over the network as needed. The installer kernels are located at:
11
+
Ubuntu maintains installer kernels that are a lightweight way to load the Ubuntu installer and then stream packages over the network as needed. The installer kernels are located at:
12
12
13
-
```bash
14
-
# http://archive.ubuntu.com or other ubuntu mirrors
If you want to use a [preseed](https://help.ubuntu.com/lts/installation-guide/example-preseed.txt) url for automation, you can add this to the kernel line:
41
+
If you want to use an [autoinstall](https://canonical-subiquity.readthedocs-hosted.com/en/latest/howto/autoinstall-quickstart.html) URL for automation, you can add this to the kernel line:
46
42
47
43
```bash
48
-
setpreseedurl http://my.preseed.com/preseed.cfg
49
-
preseed/url=${preseedurl}
44
+
setautoinstall_url http://my.autoinstall.com/
45
+
autoinstall ds=nocloud-net;s=${autoinstall_url}
50
46
```
51
47
52
-
For more examples you can view the netboot.xyz configuration for Ubuntu [here](https://github.com/netbootxyz/netboot.xyz/blob/master/roles/netbootxyz/templates/menu/ubuntu.ipxe.j2).
48
+
For more examples, you can view the netboot.xyz configuration for Ubuntu [here](https://github.com/netbootxyz/netboot.xyz/blob/master/roles/netbootxyz/templates/menu/ubuntu.ipxe.j2).
53
49
54
50
## Live Boot
55
51
56
-
Ubuntu also provides a number of Live Boot ISOs that will boot an OS directly into memory and can be used immediately without doing an install or modifying the hard drive. The Live OS will also include the installer as well. These are great for evaluating other desktops that you might want to try out without doing a full install.
52
+
Ubuntu also provides a number of Live Boot ISOs that will boot an OS directly into memory and can be used immediately without doing an install or modifying the hard drive. The Live OS will also include the installer as well. These are great for evaluating other desktops that you might want to try out without doing a full install.
0 commit comments