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

Re: Stupid question



On Ma, 15 feb 22, 11:59:59, David wrote:
> 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"
 
Ugh, I used manpages.debian.org to look it up and didn't notice it 
opened grub-install(8) from grub-legacy instead of grub2-common.

Apologies for any confusion.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: