:: Re: [DNG] reinstalling GRUB2
Página Inicial
Delete this message
Reply to this message
Autor: Haines Brown
Data:  
Para: dng
Assunto: Re: [DNG] reinstalling GRUB2
On Mon, Jul 22, 2019 at 06:24:32AM -0400, fsmithred via Dng wrote:
> On 7/22/19 1:48 AM, Steve Litt wrote:

...

I tried the chroot method, but with little luck. I'm set up for BIOS
boot. My /root partion is /sdb1, and my broken out /boot partition is
/dev/sdb2. So for grub-root-device I use /dev/sdb1; for my
grub-boot-device I use /dev/sdb.

> > > 2) use these incantations, lifted from a post elsewhere :

...
> > > chroot /sysroot
> > > grub-install /dev/your-grub-boot-device (may be grub2-install on

some
> > > distro)


So I do
        ...


        # chroot /sysroot


        # grub-install /dev/sdb
        bash grub-install: command not found


        # ls -la /usr/sbin | grep grub-install
        -rwxr-xr-x 1 root root 102046 Oct 28 2018 grub-install


        # /usr/sbin/grub-install /dev/sdb
        # bash: /usr/sbin/grub-install: No such file or directory


At my wits end I remove and reinstall grub2-common. Did not help.