Talk:PXE boot
alpine_dev
It would be nice to be able to specify alpine_dev=nbd:<ip>:<port> or alpine_dev=nbd:<ip>:<name> ^^
A ro nbd with the latest iso and a darkhttpd to serve apkovl files ;)
--Jch (talk) 17:05, 21 February 2015 (UTC)
Details for generating pxerd
This is how I do it to prepare a PXEboot for qemu machines from a run-from-ram-from-cdrom
setup-interfaces /etc/init.d/networking start setup-proxy . /etc/profile.d/proxy.sh setup-apkrepos apk update apk add mkinitfs openssh-client cd /etc/mkinitfs/features.d/ echo "kernel/drivers/net/virtio_net.ko" >> network.modules echo "/usr/share/udhcpc/default.script" > dhcp.files echo "kernel/net/packet/af_packet.ko" > dhcp.modules echo "kernel/fs/nfs/*" > nfs.modules cd /etc/mkinitfs/ echo 'features="ata base bootchart cdrom cramfs ext2 ext3 ext4 xfs floppy keymap kms raid scsi usb virtio squashfs network dhcp nfs"' > mkinitfs.conf mkinitfs -o /root/pxerd scp /root/pxerd $TFTPSERVER:$TFTPPATH scp /media/cdrom/boot/vmlinuz-grsec $TFTPSERVER:$TFTPPATH scp -r /media/cdrom/* $NFSSERVER:$NFSPATH
For your specific setup, adjust the network.modules with needed kernel drivers.