[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stupid question



On Tue, 15 Feb 2022 at 07:57, Andrei POPESCU <andreimpopescu@gmail.com> wrote:
> On Lu, 14 feb 22, 10:41:52, Chuck Zmudzinski wrote:

> > How does it decide which partition to boot from? I think this is what
> > the OP is asking.

> As far as I understand the path to search for the second stage, modules
> and grub.cfg is defined when installing the first stage in the MBR.

> By default it should be /boot/grub of the OS used to run grub-install
> from, but I think the --root-directory parameter can be used to change
> that.

A minor typo correction for the avoidance of doubt for any readers ...

To "change that" you would use the --boot-directory
parameter of 'grub-install' command, see 'man 8 grub-install'.

ie "--boot-directory" not "--root-directory"


Reply to: