:: Re: [DNG] reinstalling GRUB2 - Veri…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: terryc
Datum:  
To: dng
Alte Treads: Re: [DNG] reinstalling GRUB2
Betreff: Re: [DNG] reinstalling GRUB2 - Verion
On Wed, 24 Jul 2019 10:45:03 -0400
Haines Brown <haines@???> wrote:

> I've no idea what's going on. I was told to use the grub2-install
> command, but on my system (Ascii) there is only
> /usr/sbin/grub-install. It seems my grub-install command can be run
> by user, but not by root becasue root has no path to /usr/sbin.


Apart from the other methods already sent to the list, you can also do

As-User> grub-install --version
For that I get ;bash: grub-install: command not found

And if that doesn't work you do;

As-user> sudo grub-install --version


FWIW, I have (ascii)
grub-install (GRUB) 2.02~beta3-5+deb9u1

So, you just run grub-install and it just runs the last installed
version.