Debian installer, non-free firmware, one USB stick
Published:
As part of my job, I’ve had to re-install Linux on one of our Dell Poweredge servers. This is something I can do in my sleep, so this didn’t bother me, until the installer asked for some non-free firmware. This is quite common with Dell PowerEdge servers I’ve found. The same thing occured when I was setting up the Computing Society’s server. The files I needed were the same both times:
- bnx2-mips-09-5.0.0.j3.fw
- bnx2-rv2p-09-5.0.0.j3.fw
These are both available in the firmware-bnx2 package available in the Debian non-free repository. For the Computing Society’s server, all I had to do was copy these files onto a USB stick and let the installer go on its merry way.
This time though, there was a problem. I’m installing from a USB stick because the CD drive is clogged up with dust and refused to boot anything. This is the only USB stick I had. If you find yourself in this situation, here are the steps I took to fix it:
- Copy the files into a directory named bnx2 on the root of the flash drive after you’ve got the Debian installer on there (to get the Debian installer on there, I recommend UNetBootIn)
- Start the installer and proceed as you normally would
- When asked to provide the firmware, remove the USB drive, wait 5 seconds and plug it back in
- Tell the installer you’re ready for it to look for the firmware
- Continue as normal again
- When asked why the install CD has vanished (for me, this was just before disk partitioning) tell the installer not to retry
- Select “Go Back” and then from the menu select “Execute a shell”
- Type
umount /cdrom
to unmount where it thinks it is - Type
mount /dev/sd<TAB>
to see the list of devices available. Your USB stick will be the highest one (for me /dev/sdc). - To finish the command with my example, it was
mount /dev/sdc1 /cdrom
- Press Ctrl+D to return to the installer
- Select “Detect and mount CD-ROM” to throw you back to where you were in the install
- Finish the install as normal
When I did this, I was returned to the manual partitioning screen instead of the partitioning menu. You can select “Guided Partitioning” here to get back to guided partitioning if you want.
Hopefully this post will save someone some time in trying to work out how to get around this little annoyance.