• nous
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 months ago

      Not technically. unetbootin and some similar tools like rufus take the USB, partition it, and copy the contents of the disk to it after manually setting up a bootloader on it. This is not required for most Linux ISOs though where you can just cp or dd the image directly to the USB as they are already setup with all that on the image. But other ISOs, like I believe Windows ones have a filesystem on them that is not vfat so cannot be directly copied. Although these days for windows you just need to format the USB as vfat and copy the contents of the windows ISO (aka the files inside it, not the iso filesystem) to the filesystem.

      I tend to find unetbootin and rufus break more ISOs then they actually help with though. Personally I find ventoy is the better approach overall, just copy the ISO as a file to the USB filesystem (and you can copy multiple ones as well).

    • macniel@feddit.de
      link
      fedilink
      arrow-up
      1
      arrow-down
      5
      ·
      7 months ago

      The only thing you would have achieved that was would be to copy an iso file onto your stick. EFI or Boot doesn’t know how to do anything with it.

      • Melmi@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        7 months ago

        A lot of Linux ISOs are hybrid images which can be booted if flashed directly to a USB stick.

        • macniel@feddit.de
          link
          fedilink
          arrow-up
          1
          arrow-down
          3
          ·
          7 months ago

          Op was just using cp to copy the iso onto the drive no flashing or anything…

              • Melmi@lemmy.blahaj.zone
                link
                fedilink
                English
                arrow-up
                4
                ·
                7 months ago

                This works because block devices like /dev/sdX are just files. If you cp a file onto another file, it overwrites the data of the destination with the source. A block device represents the device itself, not the filesystem; if you wanted to put the ISO inside the filesystem, you’d have to mount it first.

                • macniel@feddit.de
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  7 months ago

                  Next time I’ll test out another distro I’ll try just that… Sadly I just hopped yesterday from Fedora 40 to LMDE.