2013/6/28 Andrey Borzenkov
<address@hidden>
В Fri, 28 Jun 2013 18:32:36 +0200
Alessandro MACUZ <address@hidden> пишет:
> Hi all,
>
> I sought the Internet and the grub mailing lists for such an answer but I
> couldn't find it.
>
> I'd like to know which tool to use to extract info from the first 440 bytes
> in the 1st sector and then code in the following 62 sectors (speaking of a
> MBR-structured disk).
>
bootinfoscript may be a starting point.
Thanks Andrey,
I know it and after seeing that I wondered if there was something simpler...
With bootinfoscript you really need to dig the two stages... I would avoid to read bootinfoscript to understand how they are structured.
One of the end goals, beyond those I have already mentioned, is to understand how grub can boot from a LVM logival volume.
I guess the code in the 32kbytes has the capablity to speak LVM, am I right?
Is there at lest a document that explains how that code of the 2nd stage is structured? Or the only reference is to dig the grub code?
Alex