I’ve been trying to find a linux programming similar to Rufus to flash images of OSes on a thumb drive.

Nothing from the listicles on the internet or the programs in flatpak have worked for me as well as Rufus on Windows.

What have you used that’s worked well? Or, could I run Rufus on my linux machine with WINE?

  • owenfromcanada@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    They obviously don’t have the features that Rufus has, but I’ve ended up using the default USB image writers that come pre-installed (found them on both Mint and Manjaro, probably available on others). If you’re just looking to write an ISO, check to see if you already have one.

  • Corgana@startrek.website
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Balena Etcher is what you want, though AFAIK if you’re making a Windows installer no Linux programs have the convenient options to disable TPM and online account etc that make Rufus so nice.

  • HubertManne@moist.catsweat.com
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    darn I thought this was about my dream thing which would be a flashed boot loader on a drive where you had a folder you could add iso’s and it would automatically give you a list of isos to boot from.

  • scratchandgame@lemmy.ml
    link
    fedilink
    Tiếng Việt
    arrow-up
    0
    ·
    5 months ago

    What have you used that’s worked well? Or, could I run Rufus on my linux machine with WINE?

    A BLOODY STUPID IDEA!

    Using Wine is just stupid enough.

    dd is safe. I have used Balena’s Etcher 2 years ago but it seems the drive isn’t bootable in UEFI mode!

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    What?

    Rufus just flashes ISOs to disks. On Linux you can doo that with

    • udisksctl or dd
    • Impression
    • Fedora Media Writer
    • KDE Iso Image writer
    • Balena Etcher

    But you are talking about something completely different and Ventoy does that.

        • qpsLCV5@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          using dd for that is outdated info that everyone keeps blindly parroting with zero understanding why. cat is simpler and works fine.

          note: both cat and dd only work for this when the image is made in a compatible way, my linux isos always work fine but a windows iso didnt and needs a more specific tool.

            • tuna@discuss.tchncs.de
              link
              fedilink
              arrow-up
              0
              ·
              5 months ago

              /dev/sdX is a file, and both dd, cat can read files in full. You can even try something like zstd to compress it too.

              One of the nice things about dd though is you can see the progress with --status=progress

            • ShortN0te@lemmy.ml
              link
              fedilink
              arrow-up
              0
              ·
              5 months ago

              No, cat is not for writing files. Cat is for reading files and directing the data to standard output.

              With “>” you are directing standard output to a file, in this case a blockdevice.

  • Nibodhika@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Personally I have a USB drive with Ventou and have been using that for a long time.

    But before that I just did a dd. Although I seem to remember someone doing a benchmark and realizing that piping the file was faster. Here’s what I mean by that:

    In bash you have the echo command which prints text:

    echo "Hello"
    

    Will print Hello.

    In bash you can send the output of a command to a file, so:

    echo "Hello" > hello.txt
    

    Will write Hello in the hello.txt file.

    In bash you can use the cat command to read files:

    cat hello.txt
    

    Will print the Hello we wrote in that file earlier.

    In Linux drives are files, so if your USB drive is in /dev/sdb (DON’T JUST BLINDLY COPY THIS) you can create an image of it like so:

    cat /dev/sdb > usb.iso
    

    But also the devices are writable, so you can flash an image to a disk by doing it the other way around:

    cat image.iso > /dev/sdb 
    
  • BaumGeist@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I haven’t found a good GUI (Balena’s Etcher is cross platform, but the flatpak never worked for me)

    dd has never failed me

    sudo dd if=<path to ISO file> of=<path to USB> bs=4M status=progress conv=fsync

    (double, triple and quadruple check that the output file, of=, is the correct device with multiple different commands before running this)

  • tombruzzo@lemm.eeOP
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Thanks everyone. I tried ventoy but it didn’t work straight away. I do like the idea of having a list of isos to pick from, but it might take more tweaking to get right.

    I went with the boot loading tool in Fedora since I just wanted to flash mint to do a reinstall on my kids’ laptop

    • muhyb@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      From this list, only Unetbootin can create Windows installation disk. For this, there is also WoeUSB but it’s CLI only.

    • Ghoelian@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      +1 for ventoy. With that you can just flash ventoy on it once, then copy iso’s over to the usb drive without reformatting or reflashing anything.

      • Telorand@reddthat.com
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        I could never get Ventoy to work. From Windows ISO’s to several versions of Linux, it never got detected as a bootable drive. YMMV

        I like the idea, but it would be great if it was more compatible with different setups.

        • BearOfaTime@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          I’ve found some thumb drives don’t like to boot.

          Ventoy has worked for almost everything. Proxmox doesn’t like it.

          • Telorand@reddthat.com
            link
            fedilink
            arrow-up
            0
            ·
            5 months ago

            To be fair, I seem to have a not-so-super superpower to blind pick the USB devices that have the least support for Linux stuff (the aforementioned drives, a WiFi module, etc.).

            • BearOfaTime@lemm.ee
              link
              fedilink
              arrow-up
              0
              ·
              5 months ago

              Hahahaha, sorry to hear (but I empathize). I can be a cheap bastard, so I have some shitty thumb drives around. I figure they eventually die anyway, so this stuff isn’t permanent.

              I keep a folder on my server with the tools and noted to rebuild each one. Sometimes I even make an image with the tools, and only leave the ISOs out.

          • f4f4f4f4f4f4f4f4@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            0
            ·
            5 months ago

            I maintain older hardware at work. We have a platform based on a Biostar motherboard with no USB3 ports, and it will not boot from any USB3 drive I’ve tried. Any USB2 drives work fine. Picky, picky! 🤷

        • Certainity45@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          Your machine is UEFI, which means your usb stick must be formatted in gpt. Ventoy defaults to mbr which means lagacy bios. It is just 3 mouse click setup.

          Try again. Because it is the best method. I just updated 2,5 years old Ventoy stick without any issues without re-formatting.

      • bigmclargehuge@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        I’ve had issues with Ventoy on multiple computers with multiple isos. +1 for convenience, -1 for not working 3/4 of the time (for me, I’m sure there are numerous factors).

  • foremanguy@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    The principal alternative to Rufus is Balena etchter, but for me it works 1/5 times. But now I’m using Ventoy and… Just use it, it damn fucking good!

  • psion1369@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    My honest recommendation is dd It works, it does it’s job, and doesn’t need to many bells and whistles. My only complaint is that there isn’t an easy way to show progress. But as a background command, it works.