Questions tagged [loop-device]
The loop-device tag has no usage guidance.
72 questions
0
votes
0
answers
50
views
Trying to understand two methods of mounting a bitlocker encrypted partition
I have an external HDD with two partitions on it. There's the primary partition and an additional partition I created called "Data" which is bitlocker encrypted (I created the Data partition ...
0
votes
0
answers
23
views
error after installing Ubuntu
[3550.957955] shutdown[1]: Could not detach loopback /dev/loop 2: Device or resource busy
[3550.9580011] shutdown[1]: Could not detach loopback /dev/loop 1: Device or resource busy
[3550 0.965195] ...
0
votes
0
answers
179
views
can access snd-aloop microphone via ALSA but not with pipewire
I use an application that links my phone to my desktop as camera/microphone combo (Iriun Webcam). The application establishes a "virtual" microphone on the desktop computer via the snd-aloop ...
4
votes
2
answers
953
views
How to handle unused loop partition after removing snap/snapd?
While working on an Ubuntu Server for personal use, I removed what would not be necessary for my usage. It is snapd & snap that I would like to properly clean.
I removed snap and snapd using the ...
0
votes
0
answers
99
views
Popping sounds when recording screen with FFmpeg
I am using FFmpeg (X11Grab and Alsa) to record a virtual screen. I have an Ubuntu server, and I am using xvfb as virtual frame buffer. I launch a browser process using Puppeteer, and record it using ...
3
votes
0
answers
308
views
Stop automount of new loop device on Ubuntu 22.04
When creating a new loop device with udisksctl (command below), I want Ubuntu to only create the device without mounting it automatically. How do I do this on Ubuntu 22.04, and why did this work on ...
4
votes
1
answer
778
views
Too many simultaneous gnome-x-xx and core loop devices?
I have many simultaneous gnome-x-xx and core loop devices.
Why is that? Is each of them required by any currently installed snap app? What produces the installation of each of those snaps? As per &...
1
vote
0
answers
245
views
losetup -l doesn't show anything
root@home-1:~# losetup -l
root@home-1:~# losetup -a -l
root@home-1:~# losetup -l /dev/loop0
NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE DIO LOG-SEC
/dev/loop0 0 0 ...
3
votes
1
answer
5k
views
Who/what is creating /dev/loop0, /dev/loop1, ... /dev/loop7?
I've recently been working on a project requiring encrypted files mounted via a connection to a loop device. While the project will run on an Ubuntu system, I was experimenting with setting it up on ...
0
votes
0
answers
140
views
Comparision of methods for implementing directory size quota in Linux?
I came across two solutions for implementing directory size quotas in Linux.
One was using making images using the dd/fallocate/etc command and mounting it using loopback interfaces, resizing can be ...
1
vote
1
answer
662
views
how to remove nautilus fake volume /dev/loop
today i installed nothing than ubuntu daily software update that happens once a day but I see two small size volume on the left pane of nautilus (120mb and 52mb). till now i only see such thing when i ...
1
vote
0
answers
278
views
Weird warning every time I boot my ubuntu Desktop PC
The message is:
Dev loop0: unable to read RDB block 8
After 1 second Ubuntu boot without any problem.
How can I remove this warning by solving the issue?
0
votes
1
answer
57
views
how to configure a user's home to reside in a loop device?
I'm trying to configure our guest account to reside in a loop device mounted to /home/gast.
On startup the loop device gets created via this line in /etc/fstab:
tmpfs /home/gast tmpfs size=3g user
in /...
1
vote
0
answers
2k
views
How to use a loop device as non-root
Do I need to have root privilege in order to create and use a loop device? Suppose I have an ISO file dir.iso containing an image of the directory dir. I want to mount dir.iso as a directory data and ...
1
vote
1
answer
1k
views
how to mount a writable loopback image as easily as we can create it?
To create a image we just run gnome-disks and then format it. And the 1st time it will be (auto?) mounted writable.
but after that, I can only mount it readonly with the "open with disk image ...
0
votes
0
answers
676
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.
...
-1
votes
1
answer
2k
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 ...
2
votes
1
answer
317
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
1
answer
221
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
0
answers
381
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
1
answer
526
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
1
answer
126
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
1
answer
1k
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
0
answers
501
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
0
answers
19
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
0
answers
290
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>
/...
7
votes
1
answer
16k
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
0
answers
699
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
1
answer
581
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 ...
-1
votes
1
answer
401
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
1
answer
63
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
1
answer
140
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.
15
votes
2
answers
57k
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
0
answers
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
1
answer
195
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
0
answers
1k
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
0
answers
386
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
0
answers
984
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 ...
4
votes
1
answer
8k
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
1
answer
956
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
1
answer
218
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
1
answer
3k
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
1
answer
719
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
1
answer
2k
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
0
answers
489
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 ...
4
votes
1
answer
1k
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
1
answer
8k
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
0
answers
259
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 ...
7
votes
1
answer
5k
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
1
answer
363
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 ...