You are not logged in.
Hello ,
found this tool most reliable for creating bootable usb-sticks from .iso files on linux.
taken from here
https://help.ubuntu.com/community/mkusb
and here
https://help.ubuntu.com/community/mkusb#Debian
steps:
(install the ppa manually)
sudo -H gedit /etc/apt/sources.listadd the line
deb http://ppa.launchpad.net/mkusb/ppa/ubuntu focal main
sudo apt updateyou will receive error most likely with (public key not available etc) and a number like (NO_PUBKEY 3729827454B8C8AC)
use this number like here
sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 3729827454B8C8ACsudo gpg --export --armor 3729827454B8C8AC | sudo tee /etc/apt/trusted.gpg.d/amdgpu.ascnow
sudo apt-get update
should function, proceed with
sudo apt-get install mkusb # GUI versionOffline
I just use dd, or sometimes just cp. ![]()
Last edited by Camtaf (Yesterday 16:06:16)
Offline
I use this interactive script so I don't have to type as much. Run it from the directory that contains the iso files. Code is mostly lifted from refracta2usb which can make a multi-boot live-usb and is a lot bigger than this.
You need hwinfo and pv installed for this to work.
#!/usr/bin/env bash
#
# iso2usb.sh
#set -x
#
# Run this script from the directory that contains your .iso files.
#
blocksize="1M"
[[ $(id -u) -eq 0 ]] || { echo -e "\n\t You need to be root!\n" ; exit 1 ; }
usbdevlist=$(/usr/sbin/hwinfo --usb --short | awk '/dev\/sd/ {print $1}')
usbdevfulllist=$(/usr/sbin/hwinfo --usb --short | awk '/dev\/sd/ {print $0}')
echo -e "\n\tLIST OF REMOVABLE DRIVES\n${usbdevfulllist}\n${sdfulllist}\n${cdromfulllist}\n\nSelect a device:"
select opt in $usbdevlist ; do
device=$(echo "$opt" | awk '{ print $1 }')
break
done
if [[ -z "$device" ]] ; then
echo "No device was found."
exit 0
fi
echo -e "\n\tSelect the image file.\n"
select file in *.iso *.img ; do
echo -e "\n$file"
break
done
size=$(ls -lh $file | awk '{ print $5 }' | sed -e 's/M//')
if echo "$size" | grep -q G ; then
size="$(echo "$size" | sed -e 's/\.//' -e 's/G//')00"
fi
echo "Size is ${size}M"
if echo "$size" | grep -q K ; then
echo "Out of range units"
exit 1
fi
echo -e "\n\tCopy $file to $device?\n\n\tThe command will be:\n\tdd if=$file | pv -s ${size}M | dd of=$device bs=${blocksize}\n\n"
echo -e " Press ENTER to continue or ctrl-c to abort."
read -p " "
dd if="$file" | pv -s ${size}M | dd of="$device" bs="$blocksize"
sync
exit 0Online
@camtaf, cp as in copy?
that could use with ventoy, which am using still quite to the like (never got to function iventoy that well, however).
however, the mkusb is quite comfortable,too, and rather "safe" to use would argue.
my terminal skills are limited.
Last edited by kapqa (Today 14:22:42)
Offline
Yes, you can use cp to write an ISO image to a USB device.
From an old HowTo and still valid:
# cp debian.iso /dev/sdX
# syncI prefer to use dd instead with the option status=progress to get an idea how long it still may take.
Online
I use this interactive script so I don't have to type as much. Run it from the directory that contains the iso files. Code is mostly lifted from refracta2usb which can make a multi-boot live-usb and is a lot bigger than this.
You need hwinfo and pv installed for this to work.
That would be nifty to make a right-click file-manager extension.
https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded December 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do.
Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate
Offline