Questions tagged [loop-device]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
47 views

How to find unwanted loopback devices and remove them?

I tried to create a loopback device using losetup -fP command but I received this error. losetup: cannot find an unused loop device Then I checked my loopback devices using losetup -a command and ...
0
votes
0answers
57 views

losetup creating encrypted loop device

I'm running a script I found at github.com/rufferson/pureos-pinephone/tree/fd5ecbc2e6b8452545dd93db5235a6e20443071c to convert a Pinephone 64 3GB .img file to a PureOS .img that the PP 64 can boot. ...
0
votes
0answers
29 views

very large (19GB) loop device on Bionic Beaver

Hi i have read what i can here, but nothing seems to help, maybe because i am not too much of a coder yet. when i open disc utilities (Which I use a lot) it shows a 19gb loop device which is fully ...
-1
votes
1answer
85 views

GParted does not resize the partition on a .img file?

I am backing up data from an old hard drive one partition at a time to .img files using dd. sudo dd if=/dev/sdc5 of=/home/flex/data/partition.img bs=1M status=progress This gives me a 10GB .img file ...
0
votes
0answers
22 views

How can I get Tracker to index a loop device

Having recently upgraded from Ubuntu 16.04 to Ubuntu 20.04, I don't get Tracker to work as it used to before: I am still using Truecrypt (which, I know, is "outdated") in order to encrypt my ...
0
votes
0answers
99 views

Snap not working properly after cloning ubuntu 20.04 to a new disk

I recently cloned my system to a new drive using dd. Everything seem fine. However, Snap is not working as expected. The programs actually work perfectly, but snap doesn't seem to detect them. Ubuntu ...
2
votes
0answers
73 views

systemd --user unit, mapp .img as loop device

I want to use a systemd --user .service to map an image file to a loop device at user login. The the service resides in /etc/systemd/user. The image in question resides in /home/$USER/my.img [Unit] ...
3
votes
1answer
119 views

snap list doesn't match snap related loop mounts

I'm running Ubuntu 18.04. I'm not having any performance issues as indicated in this related question but I have far more snap loop mounts than snaps in the list. me@me-Z370-HD3P:~$ df -h | grep snap /...
2
votes
0answers
89 views

How to make iostat ignore snaps

I am trying to filter out snap loop devices from iostat, while preserving the color formatting of the output. I have tried the following: iostat -y 5 iostat -y 5|grep -v loop Neither option produce ...
1
vote
1answer
143 views

Path error, Unable to Login in Ubuntu 20.04 Login Keep Looping

Suddenly, I am getting into very serious problem with the following error in the image. I shut down my PC and when I started it again suddenly after login, it went into login loop and could not enter ...
0
votes
1answer
53 views

Which filesystem is this?

I'm running Kubuntu 18.04. I have a file that is a diskette image. The diskette was written by an electronic music device, an Ensoniq ASR-10 sampler as it happens. (I don't know much about ...
2
votes
0answers
238 views

netplan doesn't support loopback routes eg: ip route add local default dev lo table 100

I need to route everything with mark 1 to loopback address. With ip rule add fwmark 1 table 100 and ip route add local default dev lo table 100 It works fine. But I want to make it permanent with ...
0
votes
0answers
152 views

Create a loop device from partition image

I have a partition.img. It was created with dd if=/dev/sdb1 of=partition.img conv=noerror,sync. Now I want to have a loop device that: 1) has a GPT partition Table 2) its only partition is partition....
1
vote
0answers
17 views

Why am I seeing loop and squashfs in "blkid" output? [duplicate]

executing $blkid on 20.4 I am seeing a output as below. I don't understand what loop and squashfs are here? Could someone explain? Does this have anything to do with snap installed applications? /dev/...
1
vote
0answers
105 views

Mount disk image as normal user

I want to mount a disk image as normal user, not at boot. So far I added this line to /etc/fstab: # <file system> <mount point> <type> <options> <dump> <pass> /...
1
vote
1answer
4k views

losetup: raspbian-20200505.img: failed to set up loop device: Device or resource busy

I am trying to shrink the image file from raspbian in Ubuntu18 so that it become small in size and easy to transfer. I am following this video where the person uses below command to setup a loop ...
0
votes
0answers
58 views

Is the size of loopback devices considered for calculating total disk space

I am in a dilemma and want to confirm whether the size of loopback devices is considered while calculation disk size using df -h command. Here is the output of my df -h command. Filesystem ...
0
votes
1answer
489 views

Slow Booting 18.04.4 LTS

I noticed my device is becoming slower at booting even when I have SSD so I tried to dig in it. First I saw there was a bug in file resume to change it to resume=none. I saw a little boost. Before ...
0
votes
0answers
1k views

print_req_error: I/O error, dev loop0, sector XXXXXXXX when boot ubuntu from loop file

I am using Ubuntu Server 18.04.3 amd64. Previously the system was installed on hdd. Then I make loop file sda2.img. Now I'm trying to boot it from this file, which is located on Windows 10 NTFS volume ...
-1
votes
1answer
183 views

Changing the format of files in linux

I have a bunch of files with .vcf suffixes, comma separated and containing " like below "","CHROM","POS","ID","REF","ALT","QUAL","FILTER","INFO","FORMAT","NORMAL","TUMOR","Depth","...
0
votes
1answer
52 views

Merging these files

Having a sets of matched files in a folder, the name of each pair of files is like this with a basename, for instance LP6005334-DNA_H01_vs_LP6005333-DNA_H01.passed.somatic.indels.vcf.parsed.txt and ...
1
vote
1answer
64 views

Can't log in; always return to prompt [duplicate]

How do I solve this login loop? Every time I have given the correct password, but my account is not opening. Every time it comes back to my login prompt. Crashes back to the login screen.
7
votes
2answers
17k views

How to remove /dev/loops [duplicate]

On my Ubuntu desktop, the command fdisk -l shows /dev/loopX up to /dev/loop23. I'm using gnome-fallback on Ubuntu 18.04 LTS. I'm wondering what possible effects these could have on performance and ...
0
votes
0answers
61 views

Login loop 19.10 extended problems

Struck at login loop 19.10 running on dual boot Lenevo ideapad Core i5 8th gen no external graphics. This is what I have tried so far.. Alt ctrl F5 , 1) reconfigured and selected gdm3 and lightdm ...
0
votes
1answer
139 views

Lubuntu login screen keeps on appearing [duplicate]

Well I have installed Ubuntu 18.04 LTS lubuntu tty1. Was working fine for two days, but a problem now. When I try to login, the login page keeps on reappearing repeatedly without logging me in. ...
2
votes
0answers
502 views

I discovered several (about around 100) loop processes in memory of my Xubuntu 18.04 LTS desktop. What are these for and can I safely remove them? [duplicate]

loop processes (over 100) in memory: I can see them in taskmanager. Can anyone tell me what these processes are for, and what uses them? They are all called loop (with an increasing number (up to ...
0
votes
0answers
223 views

Are snaps limiting ubuntu product?

Since loop devices are limited, and based on of my ubuntu 18.04 (with cinnamon), one must assume that at some point ubuntu will be useless. There will be so many loop devices for the snaps that will ...
1
vote
0answers
296 views

Mount an image created by adb pull /dev/block/mmcblk*: "wrong fs type"

With the command below, I thought I had rescued the content of my broken Android phone: adb pull /dev/block/mmcblk0p28 mmcblk0p28.img Unfortunately my attempt to mount it on Ubuntu fails: sudo ...
2
votes
1answer
4k views

How do I set up a loop device at startup with service?

I'm setting up a loop device for VM raw image back-file, with this command: sudo losetup /dev/loop0 "/home/asus/VirtualBox VMs/Windows RAW/Windows 10.img" And it works fine. $ losetup -l NAME ...
1
vote
1answer
455 views

Too many loop devices on system monitor

I too have the same issue in Ubuntu 19.04 (had it back in 16.04, but removed the entire snap). I can't remove bunch of snap images since I am not sure whether I need them (e.g. Yaru theme, etc...) ...
1
vote
1answer
100 views

How to speed-up boot by disabling few dev-loox.device? [duplicate]

When I checked my system's boot logs, I noticed that each of the dev-loopx.device takes a good 3-5 seconds to boot, and I have a total 20 such loopx devices lines up during my boot, which ultimately ...
0
votes
1answer
2k views

When I ping my network address the loopback interface answers

On my computer if I ping the address associated to my network card (enp0s31f6 - 192.168.1.15) the loopback device will be the device from where the answer actually come. I know what the loopback ...
2
votes
1answer
452 views

Why is "loop14" not listed in lsblk?

Upon listing the blocks using lsblk, I found 14 look blocks listed, from loop 0 to loop 13. me@alpha:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 87.9M 1 loop /snap/core/...
1
vote
1answer
816 views

For loop not working

I'm creating a bash script that among other things, checks a list against another list. Basicly, I created this for loop to check the file "data.txt" for every item in "names.txt" And all matches ...
1
vote
0answers
286 views

How can I loopback only Line-in with a headphone that has no microphone?

I've been using loopback module for some time and it all works except when I plug a headphone without a microphone. when I plug a headphone without a microphone the system sound is "loopbacked" making ...
3
votes
1answer
416 views

Are these processes basically the same " sudo mount -o loop imagefile mntpoint" vs " sudo losetup /dev/loop2 imagefile"

I am trying understand what the difference is between two ways of creating a loop mount point. Now I can create this with: sudo mount -o loop /file_to_use /mntpoint, and sudo losetup /dev/loop1 /...
5
votes
1answer
6k views

WSL - /dev/loop0 workaround

I am trying to setup Bochs as shown in this tutorial. However, I'm using WSL and there is no loop0 device. # bochsrc.txt # megs: 32 romimage: file=/usr/share/bochs/BIOS-bochs-latest, ...
3
votes
0answers
249 views

I have a lot of loop devices, what are they and should I get rid of them? [duplicate]

Whenever I open my file browser, there are a these loop devices, I don't know what they are, I tried to look up but I didn't understand what they are. They keep increasing every so often, I haven't ...
6
votes
1answer
4k views

Why are there multiple loop devices for the same snap?

I used lsblk to check connected devices, when I found that there are a total of 3 loop devices for the same snap "core", with revision numbers. loop1 7:1 0 81.6M 1 loop /snap/core/4110 loop2 ...
0
votes
1answer
359 views

Login loop after nvidia driver

I know this question has been asked before but i tried all of existing solutions non of them solutions worked for me. Edit: My graphics card is 950M GEFORCE GTX I've tried with Ubuntu 16.04 and ...
2
votes
2answers
19k views

How to create a virtual network interface in Ubuntu?

I'm testing a network program on Ubuntu. Is there any way to create a virtual network interface in Ubuntu. Something like lo is good, but unfortunately there is bunch of packets on lo with 127.0.0.1 ...
6
votes
1answer
1k views

What is the function of the list of loop devices? [duplicate]

A lot of strange loop devices appear in my Kubuntu OS. [translation: Hard disk 107.4GB Hard disk 487.0GB Loop Device Hard Disk 4.0GB Loop Device Loop Device Loop Device ...
2
votes
3answers
16k views

Create loop device for ext4 filesystem

I created and formatted a file as an ext4 file system and I am trying to mount it as a loop device. Initially, there were no loopX entries in /dev, so I created one like this: root:~# mknod -m640 /...
1
vote
2answers
764 views

an 84MB Volume /dev/loop0 popped up and I don't know what it is or why it popped up [duplicate]

So, out of nowhere a 84MB Volume /dev/loop0 popped up. I don't know what it is or why it is there. I did recently install dropbox, Kdenlive, and VLC Media Player. Could one of those programs have ...
0
votes
0answers
65 views

Login Loop after upgrading 16.04 from 14.04

Recently I upgraded my OS to 16.04 from 14.04. Now I can login using root user. However I could not login using the user I created during installation. I tried a lot troubleshooting using Nvidia ...
66
votes
2answers
148k views

What is /dev/loopx? [duplicate]

$ df -kh Filesystem Size Used Avail Use% Mounted on udev 7,8G 0 7,8G 0% /dev tmpfs 1,6G 19M 1,6G 2% /run /dev/sda2 622G 227G 364G 39% / tmpfs ...
3
votes
1answer
1k views

Ping loopback from another computer

I'm having trouble setting up static routing. My target machine 192.168.1.36 has a loopback address of 192.168.46.1 255.255.255.255 which I am trying to ping from another device in the network 192.168....
6
votes
1answer
19k views

How to route pulse audio device into alsa loopback (virtual microphone)?

I want a flash application that wants to record my microphone (something like https://online-voice-recorder.com/) to record a Pulse Audio source. I figured, that flash uses ALSA. So I installed the ...
1
vote
0answers
37 views

Is my way to install an AES encrypted partition good or bad?

I would want to install a partition encrypted with AES using a loop-device. So first, I install the partition and its files system. fdisk /dev/sda mkfs.ext4 /dev/sdaX (with "sdaX" the created ...
0
votes
1answer
290 views

How can i ping loopback IP without entry in routaing table?

ifconfig's output: $ ifconfig enp4s0f1 Link encap:Ethernet HWaddr f8:32:e4:d3:a1:4e UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:...