On Thu, May 7, 2015 at 5:59 PM, Vladimir 'φ-coder/phcoder' Serbinenko
<[email protected]> wrote:
> On 07.05.2015 16:54, Olaf Hering wrote:
>> On Thu, May 07, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>>
>>>
>>>> Sigh..
>>>> There are likely ways to find out where grub was loaded from even on a
>>>> PC, and use that as initial root=. In a PV guest no such thing exists
>>>> because itself grub is the firmware.
>>> grub-install already takes this into account.
>>
>> There is no grub-install in that case.
>>
>> We run in circles, and to get out of the loop I have to show code.
>>
> No, you need to show an actual usecase with enough details and
> explanation why the solutions that already exist are inadequate.


The way pv-grub2 is built by distributions now is grub-mkstandalone
with grub.cfg that search several predefined directories for "real"
guest grub.cfg. Passing its location as boot argument would make it
possible to remove these harcdoded locations.

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to