It seems that the old YaifO site is down. You can download the latest (as of the last time I checked) from from my site.
Additionally, I’ve applied some patches to it that fix some of the problems I had with it (including not working under 3.8 and 4.0). Other fixes include the ability to compile the yaifo kernel ramdisk with your ssh_host_keys so you don’t have to muck with your ~/.ssh/known_hosts when upgrading. And my favorite patch: use ${SUDO} where ever needed (if defined) so you don’t have to run “make” as root.
See my other posts explaining YaifO and how I’ve used it.
YaifO downloads:
- yaifo-0.2.tgz: unmodified tarball from official site
- yaifo-0.2-39.tgz: ${SUDO}, ssh_host_key and 3.8 patches applied
- yaifo-0.2-40.tgz: ${SUDO}, ssh_host_key and 4.0 patches applied
The patches:
- patch_Makefile: enables you to run “make” as non-root and employ ${SUDO} as needed
- patch_list: enables you to include your own ssh_host_keys, otherwise new ones will be created for the install if you don’t
- patch_i386_list: (3.9 ONLY) gets rid of ancontrol dependency removed sometime before 3.9
- patch_i386_list40: (4.0 ONLY) gets rid of ancontrol and wicontrol dependency removed sometime before 4.0
- patch_install_sub39: (3.9 ONLY) bumps version to 3.9
- patch_install_sub40: (4.0 ONLY) bumps version to 3.9
- patch_ssh_sshd_Makefile40: (4.0 ONLY) fixes the SRCS line for OpenSSH 4.4
- patch_i386_RAMDISK_YAIFO40: (4.0 ONLY) applies changes from 4.0-release RAMDISK_CD to RAMDISK_YAIFO
Enjoy.
By sebastian rother
I`ve downloaded the yaifo*-40.tar.gz, configured the config-File, moved my rsa_id.pub to the authorized_keys and did build it.
After I applied it to the remote Host (using yaifo.fs with a linux-rescue system (wget HOST/yaifo.fs -O - | dd of=/dev/hda) it got it up and working except the fact that I can`t login.
unable to set user context: Bad file descriptors
Connection to HOST closed:
Any hints?
By mike
I don’t use the yaifo.fs file (never have). I do use the yaifo.rd file (copy it to /bsd on a working OpenBSD box and reboot) and that works fine with the *-40.tgz file.
By mike
I set up a yaifo.fs using NIC autodetect and DHCP with my authorized_keys file. I booted to a Linux Rescue CD (per the Yaifo README) of a Linux VM (in VMware) and ran dd if=yaifo.fs of=/dev/hda. When I rebooted I was able to ssh in. Not sure what problem you’re having. You may have to track down the developer of Yaifo (of which I am not).