How to create a separate bootable USB for specific Live version from Debian USB Complete Collection
written September 2, 2020 by Time Traveler
Category: SupportNote Tags: Debian; USB Complete Collection; Install; Create Live USB; #29
We had a customer that wanted to create separate bootable USB sticks from the Live versions on the Debian Complete Collection USB provided by LinuxCollections.com. Many distributions have an icon right on the desktop to create a USB drive, but Debian figures you already know how to do this - for those that don't know, this example is for you! As the example, we will say you want the Live Cinnamon (but applies for any of the 8 live ISOs included with the Complete Collection - just use correct ISO name below).
(Note this is the quick & fast, expert approach)
Insert Debian USB Complete Collection, and boot to menu, then select the Live Standard (Shell)
Once at prompt, sudo su[Enter]
Now as super user, insert target USB (e.g. 4GB or 8GB blank/new USB drive)
Use dmesg[Enter] to verify actual device, in this example, sdc (System in use has sda as bootable hard drive, sdb is Debian Complete Collection, and target USB ends up being sdc), so we see final line of dmesg is: [sdc] Attached SCSI removable disk
Once we know correct target device (i.e. /dev/sdc) we can do the dd operation. It turns out the correct partition is already mounted (!) (See note below), so go to iso location:
Then run the dd command to create USB with Cinnamon:
dd if=debian-live-10.5.0-amd64-cinnamon.iso of=/dev/sdc[Enter]
(i.e. input file is the iso (plus be sure to use correct version on your USB!), output file is the USB device (dd will drop ISO file onto USB, which will boot on systems that can handle USB booting))
When this completes, you can shutdown system (e.g. systemctl poweroff[Enter]), and remove Debian USB Complete Collection, then boot with newly created target USB inserted (or move to another system, etc.)
In the case where you wanted to find the partition (or where using the USB from an already installed system (vs. booting a live option)), you would need to know which partition to mount.
From the GRUB boot menu when you start up the Debian Complete Collection
Details on this LinuxCollections.com Boot USB
Notes on Partitions (Volumes on this USB)
Item 2) USB Boot - Boot and ISOs
Meaning the USB_Boot volume/partition/mount point is where you can find the ISO
So if you use mount /dev/sdb2 on Live system, you see it is already attached at /run/live/findiso!
On a running system where you just put in the Debian USB Complete Collection, you would use mount /dev/sdb2 /mnt[Enter] to mount the partition at /mnt, so you would find the iso files at /mnt/boot/iso