[arch-releng] [RFC] [archiso] Unify syslinux config files.

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sat Nov 26 02:06:01 EST 2011


On 11/26/2011 01:23 AM, Sven-Hendrik Haase wrote:
> On 11/25/2011 11:55 PM, Gerardo Exequiel Pozzi wrote:
>> On 11/25/2011 07:24 PM, Thomas Bächler wrote:
>>> Am 25.11.2011 22:01, schrieb Gerardo Exequiel Pozzi:
>>>> This is a reworks of my previous RFC but with changes proposed by
>>>> Thomas (plus other changes).
>>> Very cool, thanks.
>> You are welcome!
>>>> Boot as:
>>>> * (isolinux) cdrom and cdrom-hibrid-disk: OK
>>>> * (pxelinux) TFTP and HTTP: OK
>>>> * (extlinux) /arch and /pepe: OK
>>>> * (syslinux) /arch and /coco: OK, but see note (@)
>>>>
>>>>
>>>> (@) Due bug in mmove (from mtools), ldlinux.sys install fails:
>>>> (install also fails with real devices like /dev/sdX, unrelated to loop)
>>>> # syslinux -i -d /mnt/loop/arch/boot/syslinux /dev/loop1p1
>>>> s:/mnt/loop/arch/boot/syslinux/ldlinux.sys: no match for target
>>>> syslinux: warning: unable to move ldlinux.sys
>>> You can use extlinux on FAT32, too (nowadays, it is just a different
>>> installer of syslinux). You don't need mtools/syslinux at all if you can
>>> mount the device.
>>>
>> OMG!, was my fault!
>>
>> syslinux works different than extlinux!
>>
>> 1) Device must not be mounted, before running syslinux (like in extlinux)
>> 2) -d DIRECTORY is relative to root directory of the drive, so the
>> _right_ command is
>> # syslinux -i -d arch/boot/syslinux /dev/loop0p1
>>
>> Wow, extlinux on fat32! great, I never know! Thanks you!
>>
>> So... is working!
>>
>> https://github.com/djgera/archiso/tree/pxe_enhanced
>>
>> pushing this to master when next version of mkinitpcio hits [core].
>>
> When it does, can you update the wiki accordingly please?
>
Yes, no problem. I Just changed how build initramfs, using mkinitcpio -b 
can be broken for depending on what you are doing.
The rest (syslinux config unification) is just a "releng" feature, in 
fact "baseline" profile is not affected, I just changed the initramfs 
build step ;)

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list