Skip to content

Commit 0b341bb

Browse files
mahiuchunericonr
authored andcommitted
chroot: mention aarch64.
1 parent db1ca03 commit 0b341bb

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

src/SUMMARY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
- [Partitioning Notes](./installation/live-images/partitions.md)
1111
- [Installation Guide](./installation/live-images/guide.md)
1212
- [Advanced Installation Guides](./installation/guides/index.md)
13-
- [Installation via chroot (x86/x86_64)](./installation/guides/chroot.md)
13+
- [Installation via chroot
14+
(x86/x86_64/aarch64)](./installation/guides/chroot.md)
1415
- [Full Disk Encryption](./installation/guides/fde.md)
1516
- [ARM Devices](./installation/guides/arm-devices/index.md)
1617
- [Supported Platforms](./installation/guides/arm-devices/platforms.md)

src/installation/guides/chroot.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Installation via chroot (x86/x86_64)
1+
# Installation via chroot (x86/x86_64/aarch64)
22

33
This guide details the process of manually installing Void via a chroot on an
4-
x86 or x86_64 PC architecture. It is assumed that you have a familiarity with
5-
Linux, but not necessarily with installing a Linux system via a chroot. This
6-
guide can be used to create a a "typical" setup, using a single partition on a
7-
single SATA/IDE/USB disk. Each step may be modified to create less typical
4+
x86, x86_64 or aarch64 architecture. It is assumed that you have a familiarity
5+
with Linux, but not necessarily with installing a Linux system via a chroot.
6+
This guide can be used to create a a "typical" setup, using a single partition
7+
on a single SATA/IDE/USB disk. Each step may be modified to create less typical
88
setups, such as [full disk encryption](./fde.md).
99

1010
Void provides two options for bootstrapping the new installation. The **XBPS
@@ -79,6 +79,10 @@ Initialize swap space, if desired, using
7979

8080
Follow only one of the two following subsections.
8181

82+
If on aarch64, it will be necessary to install a kernel package in addition to
83+
`base-system`. For example, `linux` is a kernel package that points to the
84+
latest stable kernel packaged by Void.
85+
8286
### The XBPS Method
8387

8488
Select a [mirror](../../xbps/repositories/mirrors/index.md) and **use the**
@@ -91,8 +95,8 @@ variable. A glibc installation, for example, would use:
9195
```
9296

9397
XBPS also needs to know what architecture is being installed. Available options
94-
are `x86_64`, `x86_64-musl` and `i686` for PC architecture computers. For
95-
example:
98+
are `x86_64`, `x86_64-musl`, `i686` for PC architecture computers and `aarch64`.
99+
For example:
96100

97101
```
98102
# ARCH=x86_64
@@ -266,10 +270,10 @@ install GRUB to. For example:
266270
(chroot) # grub-install /dev/sda
267271
```
268272

269-
**On a UEFI computer**, install either `grub-x86_64-efi` or `grub-i386-efi`,
270-
depending on your architecture, then run `grub-install`, optionally specifying a
271-
bootloader label (this label may be used by your computer's firmware when
272-
manually selecting a boot device):
273+
**On a UEFI computer**, install either `grub-x86_64-efi`, `grub-i386-efi` or
274+
`grub-arm64-efi`, depending on your architecture, then run `grub-install`,
275+
optionally specifying a bootloader label (this label may be used by your
276+
computer's firmware when manually selecting a boot device):
273277

274278
```
275279
(chroot) # xbps-install grub-x86_64-efi
@@ -279,6 +283,9 @@ manually selecting a boot device):
279283
If installing onto a removable disk (such as USB), add the option `--removable`
280284
to the `grub-install` command.
281285

286+
If EFI variables are not available, add the option `--no-nvram` to the
287+
`grub-install` command.
288+
282289
## Finalization
283290

284291
Use [xbps-reconfigure(1)](https://man.voidlinux.org/xbps-reconfigure.1) to

0 commit comments

Comments
 (0)