Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a trouble using the preseed.cfg file while installing Debian by PXE.

My network card needs the firmware-bnx2 package to be taken in account by the debian kernel.

During the PXE boot process, the manufacturer allows the system to set up its network interface and reach the initrd & kernel and the installation starts. In this initrd I have put the pressed.cfg file which is taken in account. But the installation can not be automatically accomplished until I install this bnx2 package.

I have no idea how to install the bnx2 package during this boot process. I think this is possible through the instruction

d-i hw-detect/load_firmware boolean true

The documentation says

# If non-free firmware is needed for the network or other hardware, you can
# configure the installer to always try to load it, without prompting. Or
# change to false to disable asking.

But I don't know where to set this package and how to install it.

Can anyone help me please?

Many thanks!

share|improve this question
add comment

1 Answer

This may be a bit off of the beaten path but I've had good luck chaining in iPXE as the actual bootloader. Among other pluses it has a mechanism to load a kernel module along with your initrd. Check out http://ipxe.org/cmd/imgfetch?redirect=1 for an example.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.