[syslinux] LVM support

H. Peter Anvin hpa at zytor.com
Tue Apr 14 12:10:23 PDT 2009


H. Peter Anvin wrote:
> Ferenc Wagner wrote:
>>
>> Maybe a stupid question: if the boot LV is a single linear map,
>> wouldn't booting from that be very easy?  At the end of the day that
>> isn't different from it being a partition, after all.  The installer
>> could recognize this and patch in the sector numbers all the same.  If
>> the start of the filesystem was also patched in (I don't know this
>> offhand), then the filesystem code would have no problem reading the 
>> rest.
> 
> Very easy indeed.
> 

Clarification on this: in Syslinux, ALL sector numbers are relative to 
the beginning of the partition; the partition offset is passed in from 
the MBR and is added at the last moment.  For a linear map, it's just a 
matter of passing in the proper filesystem offset.

	-hpa




More information about the Syslinux mailing list