@@ -112,7 +112,7 @@ Bind /dev, /proc, /sys, and EFI variables to the chroot environment:
112112#### ** i: /dev directory**
113113Bind the /dev directory to /mnt/dev for device access in the chroot environment.
114114``` python
115- sudo mount - - bind / dev / mnt/ dev
115+ sudo mount -- bind / dev / mnt/ dev
116116```
117117#### ** ii: /proc directory**
118118Bind the /proc directory to /mnt/proc for process information.
@@ -122,12 +122,12 @@ sudo mount --bind /proc /mnt/proc
122122#### ** iii: /sys directory**
123123Bind the /sys directory to /mnt/sys for system information.
124124``` python
125- sudo mount - - bind / sys / mnt/ sys
125+ sudo mount -- bind / sys / mnt/ sys
126126```
127127#### ** iv: efi variables**
128128Binds EFI variables to /mnt/sys/firmware/efi/efivars for UEFI systems.
129129``` python
130- sudo mount - - bind / sys/ firmware/ efi/ efivars / mnt/ sys/ firmware/ efi/ efivars
130+ sudo mount -- bind / sys/ firmware/ efi/ efivars / mnt/ sys/ firmware/ efi/ efivars
131131```
132132#### ** v: /dev/pts (optional for nvme or gpt file systems)**
133133If your system uses the pts filesystem or you want a pseudo-terminal support.
@@ -142,7 +142,7 @@ Switches the root directory to /mnt, allowing you to work on the installed syste
142142sudo chroot / mnt
143143```
144144### ** Step 7: Reinstall GRUB**
145- Install the GRUB bootloader for UEFI systems, specifying the target architecture, EFI directory, and a bootloader identifier.
145+ (Arch Based) Install the GRUB bootloader for UEFI systems, specifying the target architecture, EFI directory, and a bootloader identifier.
146146
147147``` python
148148sudo grub- install - - target= x86_64- efi - - efi- directory= / boot/ efi - - bootloader- id = GRUB
0 commit comments