You are not logged in.

#1 2022-02-26 13:26:52

sshaikh
Member
Registered: 2019-07-03
Posts: 64

How to create a bootable but writable USB stick from an ISO?

TL;DR: Is there an equivalent of the Rufus program for commandline Arch?

Context: I'm trying to install Ubuntu on some obscure HW that has a 32bit EFI with a 64bit system. The default install ISO only has 64bit EFI executables, so I have to make available a 32bit loader (freely available). This is trivially done with Rufus on Windows, to 1) "Burn" the ISO to a USB stick and 2) copy the loader into a folder on the new USB stick.

How can I do this on Arch? I've been through most of the options on: https://wiki.archlinux.org/title/USB_fl … ion_medium but:

1) Although the commandline solutions all create a bootable USB stick, the ones they create remain read-only, so I cannot add files to them.
2) I suspect that the GUI utilities may be a solution, but I can't run them as root in my Wayland WM (Sway).
3) Manually creating a USB stick results in `bsdtar` failing with Operation not permitted errors on creating the directories dists/unstable, dists/stable and ubuntu (I suspect they're symlinks?).

I feel that these all should have their own solutions (find a commandline solution that makes "hybrid" usb drives, figure out how to run GUI programs as root, figure out how to extract ISOs successfully), but it seems like there is a gap in the way to do things here.

Any tips? My next idea would be to somehow make the USD device writable without root, but that just seems like the wrong approach. In the meantime I'm having to use Rufus on Windows which does exactly what I want (but also feels like the wrong approach!)

Offline

#2 2022-02-26 14:05:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,491
Website

Re: How to create a bootable but writable USB stick from an ISO?

See the "tip" here and use archboot.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB