[syslinux] isolinux.cfg parsing issue

gettinther gettinther at unity-linux.org
Thu Feb 25 14:24:49 PST 2010


On 25 February 2010 21:35, gettinther <gettinther at unity-linux.org> wrote:
> On 25 February 2010 20:52, gettinther <gettinther at unity-linux.org> wrote:
>> On 25 February 2010 18:09, gettinther <gettinther at unity-linux.org> wrote:
>>> On 24 February 2010 22:47, gettinther <gettinther at unity-linux.org> wrote:
>>>> On 24 February 2010 22:30, H. Peter Anvin <hpa at zytor.com> wrote:
>>>>> On 02/24/2010 01:57 PM, gettinther wrote:
>>>>>>
>>>>>> I used genisoimage to create the iso.
>>>>>>
>>>>>> genisoimage -pad -l -R -J -v -v -V 'livecd' -A 'test' -b
>>>>>> isolinux/isolinux.bin -c isolinux/boot.cat -hide-rr-moved
>>>>>> -no-emul-boot -boot-load-size 4 -boot-info-table -o livecd.iso
>>>>>> /home/me/Documents
>>>>>>
>>>>>> I simply mounted the iso with mount -o loop name_of_iso /path/to/the/mount/point
>>>>>>
>>>>>> I created 2 separate isos and simply joined them in one section prior
>>>>>> to rebuilding the image.  I then ran the image in vbox to test both
>>>>>> configuration.
>>>>>>
>>>>>> the linuxrc contained inside the the initrd parses the /proc/cmdline
>>>>>> with BASEIMG="${x#livecd=}" to find the squashfs image and invariably
>>>>>> picks the first image in the isolinux.cfg
>>>>>>
>>>>>
>>>>> Could you get me a copy of that iso?
>>>>>
>>>>>        -hpa
>>>>>
>>>> no problem.  I'll have to upload it from work tomorrow though, my home
>>>> line doesn't give me fast upload speed.  I'll try to reduce the isos
>>>> to lighten the load (the current iso stands at 480Mb)
>>>>
>>>
>>> Peter,
>>>
>>> Sorry for the delay, here's the link to the iso
>>> http://depositfiles.com/files/brszyl5ee
>>>
>>> Thanks
>>>
>>> Cyrille
>>>
>>
>> Forgot to mention, the 2 isos will look the same, open the file
>> manager and check if /lib64 is present or not.
>>
>> Thanks
>>
>
> Ok, I've got an interesting development.  If the label contains the
> string "livecd", the first entry is selected (like "abclivecddef",
> "123livecd456")
> I'll change the livecd= call in the append to something else and report back
>

ok, I'm terribly sorry about all this.  I finally figured what I was
doing wrong.  It seems "spaces" in the label causes the issue.  I can
work around that but it would be a problem for translations.




More information about the Syslinux mailing list