Questions tagged [loop-device]
The loop-device tag has no usage guidance.
70
questions
-1
votes
0
answers
25
views
How to recover sda partitions after 23.10 loop=TYPE install
USB install of 23.10 from 23.04. Lost access to my sda and Windows11 partitions. Boot-repair-disk did not fix the issue as it has in the past. Probably because a new type of file system has been ...
2
votes
0
answers
54
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
690
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
116
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
2k
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
19
views
Why my Ubuntu MATE freezes and loops the audio? [duplicate]
I'd like to know based of my problem, if is a problem of my Ubuntu MATE or in the worst of the cases my hardware.
When I read online news it doesn't seem to happen anything.
But when I watch a video ...
0
votes
0
answers
75
views
Ubuntu shows "no bootable device" all of a sudden
All of a sudden, on a good morning my ubuntu Acer Aspire E5-575 series PC was displaying "no bootable device" yet it has the ubuntu loaded HDD that was working the days before. Tried ...
0
votes
0
answers
72
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
415
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
260
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
44
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 /...
0
votes
0
answers
1k
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
888
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
558
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
1k
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
240
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
210
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
283
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
474
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
87
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
0
answers
918
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
378
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
216
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>
/...
6
votes
1
answer
12k
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
495
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
568
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
350
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
55
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
77
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.
14
votes
2
answers
47k
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
183
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
336
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
728
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
7k
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
878
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
179
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
636
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
1k
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
449
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
1
answer
976
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
257
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
362
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 ...
4
votes
2
answers
34k
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
1
answer
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 ...