Translations:GRUB/Restore the GRUB Bootloader/8/en
Chroot environment
Chroot is a method to restrict various tasks to a restricted area e.g. package installation and other system maintenance tasks. Follow the link to read more about chroot on the Arch wiki.
Identify system partitions
From the above we assume you have identified the relevant partitions on your system and this document will refer the partitions as follows. Partitions not needed for this kind of maintenance has intentionally been left out (e.g. home, swap).
Partition | Usage | Comment |
---|---|---|
/dev/sdyA |
EFI system | Required for EFI system and mounted on /boot/efi |
/dev/sdyB |
boot | Optional but mounted on /boot The primary use is when GRUB cannot write to / (eg. f2fs) |
/dev/sdyC |
root | Required and for the root filesystem and mounted on / - usually formatted using ext4 |