I want to install Debian in dual boot with Windows, for this I created a bootable USB key under Linux Lite (Ubuntu based distro), with the #dd command.
The command I used is:
dd if=image.iso of=/dev/sdx bs=4M status=progress && syn
At the time of installation I noticed that this iso file does not have the wifi firmware, I know after research that Debian has a non_free iso file, which means that it has non-free firmware …
But the Debian site also offers a second method, and for learning reasons, I wanted to test the second, the second method is to inject firmware that I have already downloaded from the official site into the firmware folder of the USB key which is on the root.
The problem is that the dd command created a partition of the exact size of the iso file! with iso9660 format! the rest of the USB key is an unallocated partition.
i did the same test on windows with rufus and everything works fine, refusal to create a partition equal to the total size of the USB key, so i was able to inject files without problems!
my question is, how to create a bootable USB key on linux in command line with, for example the dd command or another, which would allow me to add a file after creation