1- # Installation via chroot (x86/x86_64)
1+ # Installation via chroot (x86/x86_64/aarch64 )
22
33This 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
88setups, such as [ full disk encryption] ( ./fde.md ) .
99
1010Void provides two options for bootstrapping the new installation. The ** XBPS
@@ -79,6 +79,10 @@ Initialize swap space, if desired, using
7979
8080Follow 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
8488Select a [ mirror] ( ../../xbps/repositories/mirrors/index.md ) and ** use the**
@@ -91,8 +95,8 @@ variable. A glibc installation, for example, would use:
9195```
9296
9397XBPS 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):
279283If installing onto a removable disk (such as USB), add the option ` --removable `
280284to 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
284291Use [ xbps-reconfigure(1)] ( https://man.voidlinux.org/xbps-reconfigure.1 ) to
0 commit comments