Debian Live
通过 HTTP 网络启动 Debian 8.8 livecd。
- 从 Debian 官网下载 debian-live-8.8.0-amd64-standard.iso
- 从 ISO 中提取这三个文件并上传到你的 Web 服务器。
- vmlinuz
- initrd.img
- filesystem.squashfs
- 使用以下 iPXE 配置。
#!ipxe
kernel http://192.168.10.10/boot_templates/debian_8.8/live/vmlinuz
initrd http://192.168.10.10/boot_templates/debian_8.8/live/initrd.img
imgargs vmlinuz boot=live config hooks=filesystem username=live noeject fetch=http://192.168.10.10/boot_templates/debian_8.8/live/filesystem.squashfs
boot
如果你想定制这个 livecd,随时可以修改你的 squashfs 镜像,添加 ssh 授权密钥或任何你想要运行的自定义内容。祝使用愉快!