Problems with USB sticks, for ISO purposes

New to Debian (Or Linux in general)? Ask your questions here!

Re: Problems with USB sticks, for ISO purposes

Postby No_windows » 2019-09-03 11:16

I haven't tried etcher yet, but I'm now thinking the drive isn't the problem. I think I've done something to my USB connectivity on the computer. I have another USB drive that I wanted to access a file from. It wasn't visible to Thunar. There are a lot of loops in /dev....is that a problem?
No_windows
 
Posts: 503
Joined: 2015-08-05 03:03

Re: Problems with USB sticks, for ISO purposes

Postby p.H » 2019-09-03 12:03

Maybe, maybe not. /dev/loop[0-7] exist whenever the loop module is loaded, even though there is no active loop device.
Are there active loop devices ?
Code: Select all
losetup -l
p.H
 
Posts: 1329
Joined: 2017-09-17 07:12

Re: Problems with USB sticks, for ISO purposes

Postby No_windows » 2019-09-03 21:11

p.H wrote:Maybe, maybe not. /dev/loop[0-7] exist whenever the loop module is loaded, even though there is no active loop device.
Are there active loop devices ?
Code: Select all
losetup -l


If that code is supposed to show active loop devices, no.... nothing was shown. I just got the command prompt.
No_windows
 
Posts: 503
Joined: 2015-08-05 03:03

(Solved) Re: Problems with USB sticks, for ISO purposes

Postby No_windows » 2019-09-06 20:28

Well I "fixed" it by rebooting the computer. I don't know what happened, but it works now. I've written the ISO to one of the USB sticks, and the second seems to be getting written to, also (it's still going).

I don't like rebooting as a fix, but I didn't know what else to do.
No_windows
 
Posts: 503
Joined: 2015-08-05 03:03

Re: Problems with USB sticks, for ISO purposes

Postby MushyBoy » 2020-01-16 06:03

No_windows wrote:
Bloom wrote:The "notrunc" is correct. The added 'e' was a typo. You can omit "status=progress" if your version of dd doesn't support it yet (mine does), it serves to show a progress report while copying.


I was afraid of that. I did try it with the "status=progress" removed, and I still get an error.

Code: Select all
# dd if=debian-10.0.0-i386-netinst.iso of=/dev/sda bs=512 oflag=direct conv=notrunc,noerror
dd: failed to open ‘/dev/sda’: Invalid argument


Code: Select all
# lsblk
NAME                 MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                    8:0    1   7.5G  0 disk
sr0                   11:0    1  1024M  0 rom 
cciss!c0d0           104:0    0 136.7G  0 disk
├─cciss!c0d0p1       104:1    0   243M  0 part /boot
├─cciss!c0d0p2       104:2    0     1K  0 part
└─cciss!c0d0p5       104:5    0 136.5G  0 part
  ├─Holly--vg-root   254:0    0   9.3G  0 lvm  /
  ├─Holly--vg-swap_1 254:1    0   5.1G  0 lvm  [SWAP]
  └─Holly--vg-home   254:2    0   122G  0 lvm  /home



I'm not seeing either USB drive in Thunar anymore. I'm thinking neither one is mounting. I was getting loops... loop0 for awhile, and if I look in /dev I find loop0 loop1 loop2, etc.


Exactly what I needed! You just saved me several hours. Thanks!
MushyBoy
 
Posts: 1
Joined: 2020-01-16 06:01

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable