[arch-releng] [PATCH 2/3] [archiso] Add archiso_pxe_curl hook

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed Nov 23 23:31:40 EST 2011

On 11/24/2011 12:49 AM, Gerardo Exequiel Pozzi wrote:
> On 11/23/2011 05:45 PM, Thomas Bächler wrote:
>> Am 23.11.2011 21:02, schrieb Thomas Bächler:
>>> Am 23.11.2011 01:00, schrieb Gerardo Exequiel Pozzi:
>>>> Its add support for downloading the ISO image via HTTP/FTP with 
>>>> curl or download *.sfs files.
>>>> The files are downloaded on /run/archiso/curlspace (tmpfs) and 
>>>> setup a loop dev from it
>>>> (like in archiso_loop_mnt) in the ISO case, or just do a bind mount to
>>>> /run/archiso/bootmnt in the other case.
>>>> This hook must be located after archiso_pxe_nbd in mkinitcpio.conf, 
>>>> in that way
>>>> NBD is the default.
>>> This is extremely useful. Can we get a resolver into initramfs, so we
>>> can use URLs instead of IPs? Can we also have an extracted version of
>>> the netinstall-dual image on releng, instead of only the ISO?
>>> We can use this in the following way: Either load gpxelinux via network
>>> boot, or boot gpxe from floppy/USB/CD/hard drive/a "kernel" image. 
>>> Then,
>>> fetch syslinux configuration file and .c32 files via http. The
>>> configuration file can contain a menu that allows to choose an
>>> architecture and a mirror, allowing to boot the kernel and initrd via
>>> http or ftp, then using the archiso_pxe_curl hook to download and mount
>>> the .sfs files.
>>> Also: when can we get an image on releng that contains this hook?
>> This is what I have in mind (test it, it's fun).
>> https://releng.archlinux.org/pxeboot/
>> https://releng.archlinux.org/pxeboot/README
> I read the README, I guess you want to say HTTP server instead of TFTP 
> server ;)
Ignore me. I thinking in a system with gpxe enabled :P
>> As I said, all we need to finalize this is
>> 1) the extracted ISO image (aitab, .sfs) on releng (or, for a release,
>> on all mirrors),
>> 2) preferably a resolver in the initramfs.

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

More information about the arch-releng mailing list