All Questions

Tagged with
Filter by
Sorted by
Tagged with
2
votes
0answers
12 views

Avoid pipeline stalls from write caching to usb drive

I have the following process I use for backups: btrfs send snapshots/home-2016-06-04 | zstd --verbose -T4 - | gpg --batch --passphrase-file /tmp/secret --compress-algo none --symmetric - > /mnt/...
0
votes
0answers
66 views

Did this dd command run too fast? [duplicate]

Usually people want to speed dd up but I want to slow it down, because I think there is something fishy going on with its speed. sudo dd if=hannah-montana-linux-amd64.iso of=/dev/sdb1 bs=512k 5988+...
5
votes
1answer
147 views

System lags when doing large R/W operations on external disks

I am having some issues with system-wide latency/lagging when doing large disk imaging operations on an Ubuntu 18.04 system. Here's the system specs: Processor: Intel Core i7 (never near capacity on ...
2
votes
2answers
62 views

Using 'sync' when wiping a device with /dev/urandom

Is it necessary to synchronize cached writes to persistent storage with the sync command when wiping a USB, or any device, with /dev/urandom? This is a common practice, i.e. dd if=/dev/urandom of=/...
1
vote
0answers
492 views

Why is this `dd` command producing `Resource busy` errors?

I'm attempting to recover anything possible from a known-bad hard disk (failing, or failed). I began with dd and realized I didn't unmount. After unmounting volumes, I was able to correctly begin the ...
0
votes
0answers
23 views

What should I notice for the USB stick use as installer?

I have a few questions about the USB stick used as an installer in Linux. 1) Should I leave extra space after running dd? So for Windows user, you might be familiar with rufus, with rufus you can ...
0
votes
1answer
140 views

access DD image

I'm trying to analyze a given USB image (.DD) to find out the location of the MFT table. The problem is I'm having trouble to mount the DD image. When I run fdisk -l ntfs5.dd here's the output that ...
2
votes
0answers
534 views

Why does md5sum give inconsistent results on device files?

Backing up some USB flash-drives on Lubuntu 16.04.3 LTS. Plug USB drive into laptop. Automounter does its stuff. I remount all partitions as read-only sudo mount -o remount,ro /dev/sdxn Copy USB ...
1
vote
1answer
1k views

Burn a disk image to a USB

I'm following this guide to make a simple bootloader. It generates a file disk.img. $ dd if=/dev/zero of=disk.img bs=1024 count=1440 $ dd if=vbr.bin of=disk.img count=512 conv=notrunc $ file disk.img ...
0
votes
1answer
155 views

Is it necessary to fill a device with zeroes before writing an ISO to it?

I'm going to create a bootable USB drive using dd, e.g. dd bs=1M if=myiso.iso of=/dev/sdc But I thought maybe beforehand I should fill the device with zeroes: dd bs=1M if=/dev/zero of=/dev/sdc Is ...
2
votes
3answers
847 views

Usb size wrong after dd write of a ISO-Image

I have just used dd to place the Kali Linux ISO file onto my USB. I then tried to install Kali Linux via the USB, but I couldn't since the install-image was corrupt. I booted back into my other Linux ...
0
votes
0answers
368 views

How to image a CentoS 7 i386 ISO to a USB device?

Usually if I want to image a CentOS 7 ISO (or any Linux ISO for that matter) to a USB device, I do this via dd as follows dd if=CentOS.iso of=/dev/sdX bs=8M However I've tried this method with a ...
0
votes
1answer
35 views

Used dd on a pen drive (wrote Arch to it with Rufus) and now it's invisible

I ran dd if=/dev/zero of=/dev/sdc count=2048 on the pen drive. I can see the pen drive in the lsusb output, and dmesg says that it is 8 GB in size, but when I use, say, cfdisk, it says that there is ...
0
votes
1answer
549 views

USB key does not show up in /dev

We use a USB key system that are contain license files and are provided to unlock proprietary software that we used. The USB drives are small however and get lost easily, so I thought I'd clone them ...
0
votes
0answers
126 views

What are the [internal] steps involved in making USB drive 'bootable'?

Whenever I have to install a new Linux distro, I create a bootable USB from the distro image using some specialized program like UNetBootin. Recently, I tried to do for Fedora using 'dd' command, but ...
1
vote
0answers
2k views

USB Stick recognized but not mountable

I have a USB Stick which is recognized by my laptop but there is no partition to mount. The device is listed in /dev/ as sdb but no partition /dev/sdb1. fdisk -l also displays nothing about /dev/sdb. ...
7
votes
4answers
5k views

Why is writing SLOW on raw device, and FAST on filesystem (USB key)?

I have a USB key (PQI U822V-Speedy 32G) that I am trying to benchmark quick'n'dirty on Linux. I'm testing write bandwith. dd on raw partition I created a partition starting at sector 2048, then did ...
-1
votes
1answer
514 views

USB key not responding when inserted

I just attempted to create a USB key for Chrome OS. I followed the instructions found here. This is what I did: 1- Downloaded a .zip version of the build. 2- Extracted the .zip file which gave me a ....