Am 25.06.2010 22:50, schrieb Gerardo Exequiel Pozzi:
OK. Tested (using mkinitcpio.git and syslinux 4.00-pre60 (not in repos))
* Build OK * Boot normal OK * Boot from PXE+NBD OK * Boot from MEMDISK OK * Boot from PXE+MEMDISK OK
Wow, many thanks.
Warning: in syslinux-4.00-pre50 memdiskfind command is missing, I open a FS if still missing in next package.
Yes, it didn't exist in that version. And in a later version, it was broken. We'll have syslinux 4.00 on Monday if all goes to plan, so I can move that to extra then.
btw
* MEMDISK was tested directly using: qemu-system-x86_64 -m 512 -kernel /tmp/archiso-tftp/memdisk -initrd /tmp/archiso-tftp/boot/archlinux.iso -append "archisolabel=ARCH_201006"
WTF, that didn't work for me ... well, my "initrd" was a 700MB hard disk image and no a 160MB ISO. Still, it simply hung and didn't continue.
* PXE+MEMDISK (add a menu entry to /tmp/archiso-tftp/pxelinux.cfg/default like this)
LABEL memdisk MENU LABEL memdisk LINUX memdisk INITRD /boot/archlinux.iso APPEND iso
then booting via PXE any machine.
You should mention that iputils' tftpd has a 16MB size limitation! You need to use either tftp-hpa or dnsmasq. You can probably also use qemu's builtin tftpd. You can also use gpxelinux instead of pxelinux and then download the ISO via ftp or http (gpxelinux will accept INITRD http://...)!