[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Installing Debian with preseed file using qemu


I'm trying to install Debian Stretch using a preseeding file.
All of this is with Qemu and  I'm not sure how  to pass the path of the
preseed file:

qemu-system-x86_64 -drive file=debian.img,format=raw -cdrom
debian-9.5.0-amd64-netinst.iso -boot d -nographic -kernel vmlinuz
-append "console=ttyS0,115200n8 auto=true priority=critical
DEBIAN_FRONTEND=text preseed=preseed.cfg" -initrd initrd.gz

The d-i can not find the preseed.cfg file, as anyone has any idea on how
I can install Debian with a preseed file using qemu?

If I can avoid fiddling around with initdr.gz it's even better! :)

John Doe

Reply to: