grub-devel
[Top][All Lists]
Advanced

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

Re: grub-setup: --no-boot option?


From: Yoshinori K. Okuji
Subject: Re: grub-setup: --no-boot option?
Date: Fri, 28 Oct 2005 05:23:56 +0200
User-agent: KMail/1.7.2

On Sunday 23 October 2005 11:38 pm, Paul Bolle wrote:
> No. The problem was that I had installed the GRUB files not in the
> default directory (but in /boot/grub2) while grub-mkimage will not
> change the grub_prefix variable found in the kernel.img.
>
> This might suggest to add an option to grub-mkimage (say:
> "--runtime-dir") to overrule the grub_prefix variable set in the image.
> (This option would  then sort of correspond with the "--directory"
> option of grub-setup.) Not that important, though ...

I'd say, this is against the philosophy of GRUB: everything should be dynamic 
at run time. So the best way is to make it possible to pass an optional 
argument which specifies a prefix to GRUB. For example:

kernel /boot/grub2/core.img prefix=(hd0,2)/boot/grub2

Okuji




reply via email to

[Prev in Thread] Current Thread [Next in Thread]