Endi /dev, /proc, sys, run bo'limlariga katalog ochamiz
sudo mkdir -p /mnt/dev
sudo mkdir -p /mnt/proc
sudo mkdir -p /mnt/sys
sudo mkdir -p /mnt/run
Endi ularni tizimga ulaymiz.
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo mount --bind /run /mnt/run
Endi Grubni yuklab olamiz
sudo apt update
sudo apt install grub-efi-amd64-bin grub-efi-amd64
Yuklangandan keyin
sudo grub-install --target=x86_64-efi --efi-directory=/mnt/boot/efi --boot-directory=/mnt/boot --removable --recheck
Endi Root bo'limiga chroot kiritamiz
sudo chroot /mnt
Grub konfigurat
grub-mkconfig -o /boot/grub/grub.cfg
exit
sudo mkdir -p /mnt/dev
sudo mkdir -p /mnt/proc
sudo mkdir -p /mnt/sys
sudo mkdir -p /mnt/run
Endi ularni tizimga ulaymiz.
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo mount --bind /run /mnt/run
Endi Grubni yuklab olamiz
sudo apt update
sudo apt install grub-efi-amd64-bin grub-efi-amd64
Yuklangandan keyin
sudo grub-install --target=x86_64-efi --efi-directory=/mnt/boot/efi --boot-directory=/mnt/boot --removable --recheck
Endi Root bo'limiga chroot kiritamiz
sudo chroot /mnt
Grub konfigurat
grub-mkconfig -o /boot/grub/grub.cfg
exit