You are not logged in.
I'm trying to get a fresh install onto a flash drive, I've used both of these programs with 0% success,
dd hangs for hours, dc3dd writes all of the files to the flash drive and then fails to exit.
sudo dd if=bl-Hydrogen-rc2-amd64.iso of=/dev/sdb
doesn't finish
arti@dexperiment:~/iso/Hydrogen-rc2$ sudo dc3dd if=bl-Hydrogen-rc2-amd64.iso of=/dev/sdb
dc3dd 7.2.641 started at 2016-04-17 13:44:23 +0200
compiled options:
command line: dc3dd if=bl-Hydrogen-rc2-amd64.iso of=/dev/sdb
sector size: 512 bytes (assumed)
875560960 bytes ( 835 M ) copied ( 100% ), 3 s, 260 M/s
At 100% it's not exiting either.
I've tried both programs on both 32 and 64bit systems with two different flash drives without success.
Is anyone else having an issue when burning iso files to USB flash drives on their machines?
Last edited by arti (2016-04-17 19:51:55)
Offline
Does `cp` or `cat` work?
sudo -i
cp image.iso /dev/sdb ; sync
# or:
cat image.iso > /dev/sdb ; sync
exit
You can also try:
sudo dd if=image.iso of=/dev/sdb conv=noerror,sync
Offline
I'm trying to get a fresh install onto a flash drive, I've used both of these programs with 0% success,
dd hangs for hours, dc3dd writes all of the files to the flash drive and then fails to exit.sudo dd if=bl-Hydrogen-rc2-amd64.iso of=/dev/sdb
doesn't finish
arti@dexperiment:~/iso/Hydrogen-rc2$ sudo dc3dd if=bl-Hydrogen-rc2-amd64.iso of=/dev/sdb dc3dd 7.2.641 started at 2016-04-17 13:44:23 +0200 compiled options: command line: dc3dd if=bl-Hydrogen-rc2-amd64.iso of=/dev/sdb sector size: 512 bytes (assumed) 875560960 bytes ( 835 M ) copied ( 100% ), 3 s, 260 M/s
At 100% it's not exiting either.
I've tried both programs on both 32 and 64bit systems with two different flash drives without success.Is anyone else having an issue when burning iso files to USB flash drives on their machines?
sudo strace dc3dd if=bl-Hydrogen-rc2-amd64.iso of=/dev/sdb 2>trace
and please post the contents of the file 'trace' here (pastebin on paste.debian.org if the file is giant long [it probably is]). When it hangs, also run dmesg and post that output too.
Offline
dmesg output looks like systemd-udevd is disagreeing with something..
after removing the USB drive after dd hung for an hour:
1710080+0 records in
1710080+0 records out
875560960 bytes (876 MB) copied, 1848.66 s, 474 kB/s
dd: closing input file ‘bl-Hydrogen-rc2-amd64.iso’: Bad file descriptor
I'll get the strace output up in a sec.
Last edited by arti (2016-04-17 12:33:02)
Offline
@OP Did you do a checksum on the downloaded iso? Have you tried another download?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
@OP Did you do a checksum on the downloaded iso? Have you tried another download?
The checksums are fine, I've tried it with other .iso files on both of my machines.
Offline
3284.766127] usb 3-6: USB disconnect, device number 7
[ 3284.780234] sd 8:0:0:0: [sdb] Unhandled error code
[ 3284.780241] sd 8:0:0:0: [sdb]
[ 3284.780245] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 3284.780249] sd 8:0:0:0: [sdb] CDB:
[ 3284.780251] Write(10): 2a 00 00 05 0f 88 00 00 f0 00
[ 3284.780264] end_request: I/O error, dev sdb, sector 331656
[ 3284.780276] quiet_error: 40 callbacks suppressed
[ 3284.780278] Buffer I/O error on device sdb, logical block 41457
[ 3284.780280] lost page write due to I/O error on sdb
[ 3284.780284] Buffer I/O error on device sdb, logical block 41458
[ 3284.780285] lost page write due to I/O error on sdb
[ 3284.780287] Buffer I/O error on device sdb, logical block 41459
[ 3284.780289] lost page write due to I/O error on sdb
[ 3284.780291] Buffer I/O error on device sdb, logical block 41460
[ 3284.780292] lost page write due to I/O error on sdb
[ 3284.780294] Buffer I/O error on device sdb, logical block 41461
[ 3284.780295] lost page write due to I/O error on sdb
The USB session to your stick is getting lost; and there are I/O errors and lost writes. It looks like the flash memory on that stick is corrupt. It's kaputt. You can't trust that thing with any data.
Offline
Hmm, exited cleanly with a new USB stick.
arti@dexperiment:~/iso/Hydrogen-rc2$ sudo dc3dd if=bl-Hydrogen-rc2-amd64.iso of=/dev/sdb
dc3dd 7.2.641 started at 2016-04-17 15:02:36 +0200
compiled options:
command line: dc3dd if=bl-Hydrogen-rc2-amd64.iso of=/dev/sdb
sector size: 512 bytes (assumed)
875560960 bytes ( 835 M ) copied ( 100% ), 3 s, 260 M/s
875560960 bytes ( 835 M ) copied ( 100% ), 418 s, 2 M/s
input results for file `bl-Hydrogen-rc2-amd64.iso':
1710080 sectors in
output results for device `/dev/sdb':
1710080 sectors out
dc3dd completed at 2016-04-17 15:09:34 +0200
I'll try to boot into the image and let you know if it's corrupted.
Boots, just fine.
Last edited by arti (2016-04-17 14:01:50)
Offline
Good news.
If you could edit the title of your first post and add [SOLVED], if you think it is?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline