Obtaining NetBSD sets and kernel

Grab the latest and necessary sets (no X11 required)

    nmap -p 873 rsync.fr.netbsd.org
    nmap -p 873 rsync.fr.netbsd.org -sU

    #sets=rsync://rsync.fr.netbsd.org/NetBSD/NetBSD-9.0/amd64/binary/sets
    #sets=rsync://rsync.fr.netbsd.org/NetBSD-daily/netbsd-9/latest/amd64/binary/sets
sets=rsync://rsync.fr.netbsd.org/NetBSD-daily/HEAD/latest/amd64/binary/sets

    cd /data/kernels/
    #rsync -avz --delete --exclude 'x*.tar.xz' $sets/ netbsd9/
    rsync -avz --delete --exclude 'x*.tar.xz' $sets/ netbsd-current/

See the PXE // NetBSD guide for daily tracking of the binaries.

And get the necessary kernels for XEN/PV and XEN/PVH. INSTALL can be useful for rescue mode.

#cd netbsd9/
cd netbsd-current/

#repo=http://ftp.fr.netbsd.org/pub/NetBSD/NetBSD-9.0/amd64
#repo=http://ftp.fr.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/amd64
repo=http://ftp.fr.netbsd.org/pub/NetBSD-daily/HEAD/latest/amd64

#PV
wget $repo/binary/kernel/netbsd-XEN3_DOMU.gz
wget $repo/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz

#PVH
wget http://ftp.fr.netbsd.org/pub/NetBSD-daily/HEAD/latest/amd64/binary/kernel/netbsd-GENERIC.gz
wget http://ftp.fr.netbsd.org/pub/NetBSD-daily/HEAD/latest/amd64/binary/kernel/netbsd-GENERIC_KASLR.gz
wget http://ftp.fr.netbsd.org/pub/NetBSD-daily/HEAD/latest/amd64/binary/kernel/netbsd-INSTALL.gz

Obsolete

for set in base.tar.xz comp.tar.xz etc.tar.xz man.tar.xz misc.tar.xz modules.tar.xz text.tar.xz; do
    echo -n fetching $set...
    wget -q $repo/$set && echo done
done; unset set