This patch adds GNU/kFreeBSD /etc/inittab, considering /dev/ttyv[1-3] instead of /dev/tty[2-4] (as on GNU/Linux).
Using this patch kfreebsd d-i has alt-f[1-4] working. This patch has been in kfreebsd d-i branch for a while. Cheers, Luca Favatella
Index: debian/changelog =================================================================== --- debian/changelog (.../trunk/packages/rootskel) (revision 59602) +++ debian/changelog (.../branches/d-i/kfreebsd/packages/rootskel) (revision 59602) @@ -6,6 +6,8 @@ [ Luca Favatella ] * Generalize code splitting Linux specific stuff. * GNU/kFreeBSD does not need klibc and udev. + * Add GNU/kFreeBSD /etc/inittab, considering /dev/ttyv[1-3] instead of + /dev/tty[2-4] (as on GNU/Linux). [ Otavio Salvador ] * Unix socket support is built-in since long ago so we don't need to Index: src/etc/inittab-kfreebsd =================================================================== --- src/etc/inittab-kfreebsd (.../trunk/packages/rootskel) (revision 0) +++ src/etc/inittab-kfreebsd (.../branches/d-i/kfreebsd/packages/rootskel) (revision 59602) @@ -0,0 +1,21 @@ +# /etc/inittab +# busybox init configuration for debian-installer + +# main rc script +::sysinit:/sbin/reopen-console /sbin/debian-installer-startup + +# main setup program +::respawn:/sbin/reopen-console /sbin/debian-installer + +# convenience shells +ttyv1::askfirst:-/bin/sh +ttyv2::askfirst:-/bin/sh + +# logging +ttyv3::respawn:/usr/bin/tail -f /var/log/syslog + +# Stuff to do before rebooting +::ctrlaltdel:/sbin/shutdown > /dev/null 2>&1 + +# re-exec init on receipt of SIGHUP/SIGUSR1 +::restart:/sbin/init