38 votes
Accepted

Why is an OS installed on a USB thumb drive so much slower than a live OS running off the same thumb drive?

It has to do with how they operate. For a regular installation to a flash drive, you're limited by USB bandwidth, so unless you have a good USB 3.0 device, you're stuck at about 20MB/s (which is ...
user avatar
34 votes
Accepted

UEFI + BIOS bootable live Debian stretch amd64 with persistence

Here is a way to create a Debian live USB drive with persistence. It will allow to install the missing packages which will from then on be available on every live boot using the persistence. Because ...
user avatar
  • 1,259
30 votes

Why do my identically prepared USB sticks differ in one byte?

While I don't know why one crashes (bad stick? corrupt image?), the usual suspect for differences in "identically" created file systems, be they ISO9660 or otherwise, is time stamps, e.g. for creation ...
user avatar
  • 1,670
23 votes

Why do my identically prepared USB sticks differ in one byte?

In all likelihood, they don't differ by just one byte. This is just the first differing byte. Run cmp -l dev/sdb /dev/sdc to list all the differences. The first 512 bytes of the stick is its boot ...
user avatar
19 votes
Accepted

`dd` does not create bootable Ubuntu iso

You've got a file as /dev/sda not a device, so when you write to /dev/sda you're overwriting the file. With your NVMe disk this explains why writing speed is so high. Remove the file /dev/sda, unplug ...
user avatar
  • 88.8k
16 votes
Accepted

How To create a FreeBSD 10 bootable USB?

Please download memstick image from here (or you can use amd64 of course). Attach the pendrive and write the img file with dd: dd if=your_img_file.img of=/dev/device_name_of_pendrive bs=512 The ...
user avatar
  • 1,827
15 votes
Accepted

How to setup SSH access to Arch Linux Iso (livecd) booted computer?

The default root password for the ISO distribution is blank. And by default you are not allowed to login with SSH using a blank password. Therefore two commands are necessary: passwd -- To set a non ...
user avatar
  • 4,244
15 votes
Accepted

Why is the base system of Live ISOs for Linux distros usually stored with squashfs?

There are a couple of important reasons for this, but the big two are space constraints, and requirements from the filesystem itself. SquashFS is a highly optimized filesystem image format that ...
user avatar
14 votes
Accepted

How to revert a `dnf install`?

I don't know the answer to the first part of your question. If you have dnf history recording activated (I think it's on by default), you can use that to undo the installation: sudo dnf history | ...
user avatar
12 votes

How do I partition a USB drive so that it's bootable and has a Windows-compatible data storage partition?

The absolutely easiest way I found using Linux was the following: 1) Partition the drive (I used GParted) in 2 partitions with the SECOND partition being large enough to hold your operating system. ...
user avatar
12 votes

How to create a Debian live USB with persistence?

Debian live with persistence. First try with official image from www.debian.org/CD/live/ From SE site (standard live): wget https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-...
user avatar
  • 4,280
10 votes
Accepted

How to download an ISO and directly create a bootable USB

I wouldn't try it on a CD (although it might well be that my old buffering fears are outdated), but it works fine on a USB key; for example: curl -L http://cdimage.debian.org/debian-cd/8.6.0/amd64/...
user avatar
7 votes

Live USB: how to access USB drive that linux booted from

You can see where the device is mounted with Disk Utility, it use to be mounted in: /lib/live/mount/medium You can't unmount the device but you can remount it with write permission: sudo mount -o ...
user avatar
  • 71
7 votes

Is it possible to install Fedora 25 or newer without GUI from USB?

You can't do this using the Live media, but you can with the netinstall image. Use this link for the Fedora 25 Workstation Netinstall, or find it in the right column under "Other Downloads" for ...
user avatar
  • 37.9k
7 votes

NTFS Repair - chkdsk from Linux

Unless you consider running chkdsk.exe under wine or virtualisation, Linux cannot run it. There is a linux compatible tool that can be used to fix ntfs partitions that is called ntfsfix and is ...
user avatar
  • 902
7 votes

How to install Kali Linux from live desktop?

To address your question, you can’t install Kali Linux from the live desktop; you need to choose the appropriate option when booting. See the official installation instructions. As mentioned in Why is ...
user avatar
6 votes

How to create a Debian live USB with persistence?

Cloning and Debian persistent live Cloning (copying each byte as it is, creating a one-to-one copy) is a very simple and reliable method to create a boot drive (live drive or install drive) from a ...
user avatar
  • 4,587
6 votes
Accepted

forgot to luksClose usb persistent partition, is this a problem?

Forgetting the luksClose doesn't harm the data on the disk, after the umount, everything is flushed to the disk, so you are safe at this point. What the article you linked is talking about is that ...
user avatar
  • 456
6 votes
Accepted

Run CentOS 7 live from USB

It is possible, but you need to use the live CD image instead of the installer image. On your mirror, the default live CD is available at http://mirror.yourwebhoster.eu/centos/7/isos/x86_64/CentOS-7-...
user avatar
6 votes
Accepted

How can I run 2 dd in parallel writing on the same device

If you're trying to ensure the USB key only contains the image and the remaining space is all zeros, you could do this instead: cat myiso.iso /dev/zero > /dev/sdb There doesn't seem to be much ...
user avatar
6 votes
Accepted

“Probing EDD” error when booting a live OS from a USB drive

According to this thread on Kali Forums Press Tab at the boot menu. That allows you to edit the kernel command line. Add edd=off to the end of the line and press Enter to load it. As documented in ...
user avatar
5 votes
Accepted

Can't create a bootable (live) usb flash for arch linux

So I'm writing this as I do it myself. I just downloaded the latest arch iso and mounted it: du archlinux-2014.04.01-dual.iso 535M archlinux-2014.04.01-dual.iso mkdir -p /mnt/iso mount ./arch*iso ...
user avatar
  • 55.6k
5 votes
Accepted

How to use casper-rw file for persistence

ISO files cannot be mounted and then written to. ISO 9660 is a read-only file system. So you'd need to situate a casper-rw file (it's a single file with a filesystem within too) in a location that's ...
user avatar
  • 344k
5 votes

Preparing USB drive for Kali Linux

If you just copy the .iso file to FAT32 or NTFS formatted USB drive, you will NOT be able to boot from it. So in short: You do not need to chose any file system, nor format your drive the way you are ...
user avatar
  • 2,777
5 votes
Accepted

What is mintstick.py and how to install it?

It's Mint's alternative to usb creator. It is a graphical application to write .img and .iso files to USB keys. It can also format USB Key from a contextual menu in Cinammon and KDE desktops. It can ...
user avatar
  • 2,785
5 votes
Accepted

I'm booted into an Debian image supposedly Debian 8 but on the desktop and in applications it says:"install Debian Sid" everywhere

That's a bug in debian-installer-launcher; it stores the wrong values for the distribution name and version. The live CD does contain Jessie, and that's what will be installed (even though the icon ...
user avatar
5 votes
Accepted

Debian 9 does not boot after installing on USB drive with UEFI

Here is how I fixed it This is how the files in the USB ESP partition should look like: full-install USB ESP partition EFI (directory) Boot (directory) bootx64.efi ...
user avatar
5 votes
Accepted

Difference between of=/dev/sdx and of=/dev/sdX when using dd command on Debian 10 Live USB

dd doesn't care about case, that's up to the filesystem and kernel. And on Debian that'd be case-sensitive. So where /dev/sdc might have been a device node, /dev/sdC probably didn't exist until dd ...
user avatar
  • 63.9k
5 votes
Accepted

Linux live USB - Why does ISO 9660 partition cover the entire USB stick?

We can say that it is a bug in gparted (and a corresponding bug in parted). These tools 'do not understand' the partition structure of iso files when cloned to USB pendrives (and other mass storage ...
user avatar
  • 4,587

Only top scored, non community-wiki answers of a minimum length are eligible