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 ...
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 ...
  • 1,277
19 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 ...
  • 4,566
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 ...
  • 101k
15 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-...
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 ...
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 | ...
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. ...
11 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/...
10 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 ...
  • 952
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 ...
  • 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 ...
  • 39k
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 ...
7 votes
Accepted

Create another partition on free space of USB after 'dd' installing debian

ISO hybrid images are crazy combinations of iso9660 format and multiple partition tables to make sure it boots everywhere. This is how the superblock looks: DEVICE OFFSET TYPE UUID ...
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 ...
  • 5,941
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 ...
  • 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-...
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 ...
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 ...
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 ...
5 votes
Accepted

Remove bootable USB after live-booting from it

I have found a solution (may not work for all distros): Where it says "Try Ubuntu before installing" or "Try from this live CD", just press "E" to edit the kernel parameters. Then, there should be a ...
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 ...
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 ...
  • 67.8k
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 ...
  • 5,941
5 votes

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

ISOs are typically NOT stored as squashfs, because ISO typically refers to the ISO 9660 standard filesystem and its successors that was specifically designed for use with cdroms, and later dvds, etc. ...
  • 5,081
4 votes

Boot iso file through uEFI by calling EFI executable inside the iso

This won't work for all ISOs, but you can use MEMDISK from syslinux to copy the ISO to memory as a RAMDISK image. BIOS calls will see the RAMDISK, and linux, too, will recognize the RAMDISK. To do ...
  • 4,907
4 votes

Alternatives to Debian Live for persistent Debian system on USB

Alternatives to Debian Live for persistent Debian system on USB You can create a debian Live USB with persistence using the mkusb tool : How to install mkusb in Debian These methods are tested in ...
  • 61.5k
4 votes
Accepted

Can not see partitions in gparted after imaging iso

Please see gparted not detecting USB drive partitions in Fedora 27 only for explanation from gparted developer. I had similar issue and asked that. Latter I found newer versions of the software have ...
  • 2,060
4 votes

Can not see partitions in gparted after imaging iso

Posting this here just to clarify @Abhik Bose's answer. After imaging iso using dd the USB drive has multiple partition tables at the beginning of the disk. gparted versions below v0.28 have ISO ...
  • 223

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