grub---problem

Nils Kassube kassube at gmx.net
Mon Nov 30 06:05:06 UTC 2015


Ramachandran Chidambaraiyer wrote:
> On Sunday, November 29, 2015, Nils Kassube <kassube at gmx.net> wrote:
> > >sudo grub-install --boot-directory=/mnt/boot /dev/sda
> > >
> >    grub-install: invalid option --'b'
> 
>    Try  'grub-install --help'   or  'grub-install --usage'  for more
> informatio.

I suppose you didn't copy the command exactly, probably you had a space 
after the "--b". The shell and commands you run from the shell want 
exact spelling including upper/lower case and spaces within words are 
not allowed. So please try again:

sudo grub-install --boot-directory=/mnt/boot /dev/sda

where you replace the "/mnt" with the real path of your mounted root 
partition.


Nils





More information about the ubuntu-users mailing list