Return to the main mkusb page


How to install mkusb in Debian

Introduction

These methods are tested in Debian Wheezy, Jessie and Stretch. Debian Stretch works with mkusb-dus 12.2.3 and newer versions.

There are instructions to install the ppa 'manually'. There is also an alternative to download the file(s) and check the download manually.

Warning

mkusb was developed for Ubuntu and Ubuntu community flavours. It works with Debian too, but it is more difficult to install in Debian compared to installing in Ubuntu.

If command line instructions feel awkward, or you feel uncertain about installing non-standard tools, you should read these instructions carefully more than once before actually using them. They work for me, who developed mkusb and made the instructions, but they may cause conflicts with other non-standard tools that may be installed in your Debian system. If you want peace of mind, you should follow the instructions at Don't make a FrankenDebian.

If you have a Debian based system, which is not pure Debian, there may also be problems. It is a good idea to check at Linux distros where mkusb works, if mkusb is tested with your particular operating system.

mkusb-min if you want it simple

If you want it simple or do not want to install anything unknown, yet want to 'wrap a safety belt around dd', you can use mkusb-min. It is a small shellscript, that is easy to read and understand. It needs no installation, you can run the shellscript locally (in the current directory).

See the detailed description at ../min.

Add the PPA manually to the file '/etc/apt/sources.list'

In a terminal window or text screen, run your favourite editor for example

sudo -H gedit /etc/apt/sources.list

or a simple editor

sudo nano /etc/apt/sources.list

or in Debian 9 you may find the following file to edit

sudo nano /etc/apt/sources.list.d/base.list 

and add the line

deb http://ppa.launchpad.net/mkusb/ppa/ubuntu xenial main  # stable version, tested and reliable

or add the line

deb http://ppa.launchpad.net/mkusb/unstable/ubuntu xenial main  # unstable version, newest features

Save the file.

You could also add the PPA version for another version of Ubuntu instead of xenial. They are the same, because mkusb is only a script with some help files, and they are independent of the version and flavour of the gnu-linux operating system. mkusb works as long as it has bash (the bash shell interpreter) and the standard programs.

You should also import a gpg key, which is used to verify the packages, that you intend to install,

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 54B8C8AC

dirmngr maybe needs to be installed for the key to be managed. This is the case with debian testing alias 'buster' 2017-07-28.

sudo apt-get install dirmngr

Then make the system aware of the PPA and its content with this command line

sudo apt-get update

and install mkusb, mkusb-nox and/or usb-pack-efi, so run this command line

sudo apt-get install mkusb         # GUI version

and/or the following command lines

sudo apt-get install mkusb-nox     # text-mode version
sudo apt-get install usb-pack-efi  # only to install persistent live drives

sudo apt-get install dus           # general version provided with dialog menus for text mode
sudo apt-get install guidus        # dus with a GUI interface and zenity menus

Now mkusb should be available from the menu (as well as from the command line).

Menu -- System Tools -- mkusb

If you do not import the key, there are warnings (or maybe even a failure),

W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3729827454B8C8AC

and

WARNING: The following packages cannot be authenticated!
  mkusb
Install these packages without verification [y/N]?

Get mkusb from phillw.net

You can also get mkusb and mkusb-nox from http://phillw.net/isos/linux-tools/mkusb/ where you can check the md5sum with the signed md5sum.txt.asc file. You get a 'bleeding edge' version via this web site.

Use mkusb-installer

Download mkusb-installer and use it to install mkusb. See this link

../gui#from_phillw.net

Download the mkusb-nox shell-script file manually

In this case you have to do the installation manually, or simply use mkusb-nox locally, use it in the same directory, where it is.

sudo ./mkusb-nox file.iso

Install dus alias mkusb version 12 from a tarball

You find a tarball and instructions how to use it to install dus alias mkusb version 12 via the following link, ../gui/tarball

Clonezilla and Knoppix are built on Debian

Clonezilla and Knoppix are special cases of Debian. They boot in a slightly different way, but after some tweaks, mkusb-dus version 12.2.0 and newer versions can be installed and used in live drives of these distros (also version 12.1.9 works with Clonezilla).

Clonezilla

mkusb is available via a compressed image file of a persistent live drive with Clonezilla, but does not create such a systems without special tweaks.

Knoppix

It is easy to create a live drive or persistent live drive with Knoppix 8.2 , and to install mkusb into it.

It is also easy to use the method of this wiki page to install mkusb version 12.2.0 and newer versions into Knoppix.

Create a [persistent] live drive from the Knoppix iso file

Burn a DVD or clone a USB drive from the Knoppix iso file.

  • Use the 'burn an iso file' method. Several DVD burning tools will offer this method. (Do not create a data-DVD.)
  • Knoppix 8.2 comes as a hybrid iso file. It can be cloned to a USB boot drive with a cloning tool for example 'Disks' alias 'gnome-disks' or 'mkusb' in linux and 'Win32 Disk Imager' in Windows.

Run Knoppix persistent live

After cloning Knoppix uses the remaining space of the USB pendrive for a partition 'KNOPPIX-DATA' with the reiserfs file system. It manages to create a persistent live system automatically (after cloning)! This is a new feature in Knoppix version 8.2.


Return to the main mkusb page

mkusb/install-to-debian (last edited 2019-03-05 21:18:40 by nio-wiklund)