On Sun, Apr 25, 2021, 10:36 AM Michael Hennebry <
henne...@web.cs.ndsu.nodak.edu> wrote:

> On Sat, 24 Apr 2021, Chris Murphy wrote:
>
> > You need to use -B to bind mount the pseudo filesystems, and probably
> also
> > need to include /sys
>
> > grub2-install /dev/sda
>
> mount /dev/sda3 /mnt/a3       # already done
> mount -B /proc  /mnt/a3/proc
> mount -B /dev   /mnt/a3/dev
> mount -B /dev/pts  /mnt/a3/dev/pts
> mount -B /sys  /mnt/a3/sys
>
> chroot /mnt/a3
>
> grub2-install /dev/sda
> mount /var                 # grub2-mkconfig wants it
> grub2-mkconfig > /boot/grub2/grub.cfg
> exit  # out of chroot?
>
> reboot


>
>
>
Yes.

--
Chris Murphy
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to