Debian 8.3.0 – PXE installer asking for CDROM

debianpreseedpxe-boot

I'm sure I'm missing something easy, but I can't think of what it is.

I used Cobbler to import Debian 8.3.0, but when I attempt to install it on a machine attached to the network, the installer asks for a CDROM, fails to find it, and quits.

Does anyone know what I need to tweak in the preseed file or the kernel parameters to tell it to find its install files on a network path?

Best Answer

You need to provide your kernel with the installer in TFTP for the netboot initrd image and point it to the preseed file.

In my TFTP I have got in my default menu debian-installer/amd64/boot-screens/adtxt.cfg:

menu label ^Automated install
kernel debian-installer/amd64/linux
append auto=true priority=critical vga=788 initrd=debian-installer/amd64/initrd.gz \
--quiet auto=true layoutcode=pt language-name=English ask_detect=false \
 default_filesystem=ext3 url=http://10.10.x.x/preseed/preseed.cfg

Be sure to change it for your keyboard locale, language, your root default filesystem, and the IP/URL of your web server providing your preseed file.

I will leave here a link for the Official Debian guide.

PXEBootInstall

As for the preseed file:

d-i mirror/country string US
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/mirror string ftp.us.debian.org
d-i mirror/suite string jessie