[syslinux] [PATCH] : Adding dlabel option to chain.c32
pomidorabelisima at gmail.com
Sat Jul 16 11:35:46 PDT 2016
On 16.07.2016 19:55, poma wrote:
> On 16.07.2016 10:39, Erwan Velu wrote:
>> The idea is to boot a disk in an mbr fashion while using the GPT (not
>> filesystem) label to detect the disk.
>> That is useful when you use grub2 & gpt. I was in case where my nodes
>> (100s) have 8 disks each and no guarantee of which disk is "bootable" in
>> the disk.
>> This way I can tell "please boot the disk that have one partition labelled
>> So nothing related to filesystem but gpt labels & disks.
> OK, this is sucus of your patch:
> + // We don't care about the actual partition that matched
> + pi_del(&iter);
> + // Let's return the disk itself instead
> + iter = pi_begin(&diskinfo, opt.piflags);
> + goto ok;
> Still, there is no GPT label, but *GPT* *Partition* *name* ;)
probably whence the "inconsistency" began - with so-called GPT partition "label":
chain: Support booting GPT partition by label
GPT partition "label" can be synonymous, but actual option should be the *name*, as specified in GPT scheme.
More information about the Syslinux