[Top][All Lists]

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

Re: Force location of GRUB's boot and core images ?

From: Xen
Subject: Re: Force location of GRUB's boot and core images ?
Date: Sun, 09 Apr 2017 16:45:25 +0200
User-agent: Roundcube Webmail/1.2.4

Pascal Hambourg schreef op 09-04-2017 13:44:

I just tried it. grub-install executed without any error, but
chainloading the partition boot sector leaves me with a blank screen
after the "boot" command. bootinfoscript reports that grub2 is
installed in the boot sector of the partition and looks at sector 1 of
the same hard disk (which contains the GPT header) for core.img.

I guess you mean that boot.img will have (contain) an offset relative to what it thinks is the entire disk (that was actually a partition loopback mounted to appear as a single disk) and so upon activation will not know that it was installed on a partition and will not know how to use a relative offset from where boot.img was installed?

I guess that proper booting would require that the boot image looks at
the partition offset+1 instead.

Which it can't know because it thought it was sitting on a complete disk, instead, unless it uses relative offsets.


reply via email to

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