In this tutorial I'll show you how to create a USB drive which can be used as an installation media to install Debian Linux.
You will need a computer which is already running Linux and a USB flash drive of size at least 256 MB which we will prepare as our installation media.
Insert the USB drive into the computer running Linux and make sure it gets detect by the Linux Kernel. You can check if the USB device got detect or not by running the following command:
and you should see something like this:
[143981.321725] sd 8:0:0:0: [sdb] .321725 512-byte hardware sectors (1024 MB)
[143981.522718] sd 8:0:0:0: [sdb] Write Protect is off
[143981.522719] sd 8:0:0:0: [sdb] Attached SCSI disk