[Grml] Grub2 install behavior changed? Grml LiveCD 2010.12

Jason White jason at jasonjgw.net
Wed Feb 16 09:47:57 CET 2011


hansbkk at gmail.com <hansbkk at gmail.com> wrote:
 
> Is this an intended behavior change for grub-install, that
> --boot-directory is now supposed to specify the immediate parent of
> where I want the /grub folder to go?
> 
> I hope not, because having a canonical /boot/grub location seems to be
> helpful in troubleshooting - letting the user put it anywhere s/he
> likes seems an unnecessary complication. . .

The --boot-directory argument is optional; if you don't specify it,
grub-install uses /boot.

The grub-install(8) manual page says:

--boot-directory=DIR
install GRUB images under the directory DIR/grub instead of the /boot/grub
directory


You could have used chroot and then run grub-install without specifying
--boot-directory if you wanted.

this is Linux. There are choices. Comamnds have options to cater for a wide
variety of needs and preferences. You don't have to use this option if you
don't want to. It's documented precisely in the manual page.




More information about the Grml mailing list