On 7/24/19 4:40 PM, Haines Brown wrote:

When I become root with "su", I get the following:

   # grub-install
   bash: grub-install: command not found

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

How are you becoming root? In ascii, either 'su' or 'su -' will give you
*/sbin in your path.

When I am root by means of su - I get the following:

   $ su -
   # grub-install
   Installing for i386-pc platform.
   grub-install: error: install device isn't specified.

   # /usr/sbin/grub-install
   Installing for i386-pc platform.
   /usr/sbin/grub-install: error: install device isn't specified.

In the second case (su -) it finds the command and fails because you didn't tell it where to put the bootloader. Like this:

  grub-install /dev/sdb

And then you can run update-grub (for which you do not specify a device.)

Please also run/check the following:

uname -r
cat /etc/issue
cat /etc/devuan_version
apt-cache policy util-linux

fsmithred

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to