

How do I include the rtlwifi drivers on the same disk as the debian ISO so that the installer can find them? Or alternately, how do I make a 2nd USB disk that the installer can recognize?

I also tried placing the files on a separate USB, but the Debian installer couldn't find/detect them (and unfortunately, the installer isn't designed to give any info on why it failed).

But I can't mount the partition, and receive error mount: wrong fs type, bad option, bad superblock on /dev/sdc3, missing codepage or helper program, or other error So (following various instructions found online) I then tried to create a second partition in the remaining space on the drive (partitioned/formatted as VFAT), and move the files there. I wanted to put them in the /firmware folder on the install disk, but the it's not writable. I extracted the drivers from the realtek folder in the firmware-nonfree package. The installer works fine, but my laptop requires proprietary wireless drivers (RTL8192) to get internet during the install. This USB support adds around 1.7k lines of code to this open-source Realtek WiFi driver.I downloaded the Debian amd64 netinstall ISO and placed it on a USB stick using dd if=debianblahblah.iso of=/dev/sdb See this patch series if interested in this proposed USB support for the Realtek RTW88 WiFi/WLAN driver. With the patches posted today, there is the common USB support added to this WiFi Linux driver and enabling of the rtw8723du, rtw8821cu, rtw8822bu, and rtw8822cu chipsets. The code is also based on an out-of-tree rtw8-usb driver from GitHub by German developer Hans-Ulli Kroll.

Various refactoring to the driver were needed for supporting the USB hardware as the code to this point catered to PCI/PCIe semantics. Sascha Hauer of Pengutronix posted the set of ten patches to the kernel mailing list for adding USB chip variants to the RTW88 wireless driver. To date the mainline driver has just supported their PCI-based WiFi adapters while a patch series now out for review extends the driver to supporting their newer USB-specific chipsets. Back in 2019 Realtek contributed the open-source "RTW88" WiFi driver to the Linux kernel for supporting their newer wireless chipsets on Linux.
