A loop device allows any file to be mounted as a filesystem image. Not to be confused with a loopback interface in networking.

learn more… | top users | synonyms (1)

2
votes
2answers
55 views

Generating a .img from tarball: The /dev/loop devices

I'm trying to make a .img from a tarball using the following script I found: #!/bin/bash # Packages required # dosfstools parted # Can be run on any Linux system # loop.max_part=15 must be in ...
2
votes
2answers
1k views

busybox initramfs loop mount

I'm trying to loop mount my root filesystem (a loop file) within a busybox initramfs. I try to run the command: mount /rootfs.raw /root ... which works on my Ubuntu laptop, however, I simply get ...
2
votes
2answers
2k views

slitaz 4.0 grub2 loopback concatenate multiple initrd images

I'm trying to get slitaz 4.0 ISO to boot using a grub2 loopback on a multiboot USB; insmod font if loadfont /boot/grub/unicode.pf2 ; then insmod gfxterm # insmod efi_gop # insmod efi_uga ...
2
votes
1answer
183 views

How to find alternative superblocks in ext3 file system of partition-less qcow2?

I have an interesting case, where e2fsck refuses to recognize the file system inside a qcow2 image file. Using testdisk I am able to see the partition, so some markers would be left. The reason this ...
1
vote
1answer
377 views

Problem creating raw disk image and mounting it in rescue mode to QEMU

I am trying to create booting system from raw disk image. This is what I do: $ dd if=/dev/zero of=system2.img bs=1M count=6000 6000+0 records in 6000+0 records out 6291456000 bytes (6.3 GB) copied, ...
3
votes
0answers
30 views

Provide loop device functionality for a regular file under a unique name

I want to add a few image files with file systems to a LVM volume group. If I make them available as loop devices changes are pretty high that one day the script gets corrupted due to an increasing ...
1
vote
0answers
95 views

Loopback (bind) mount automatically mounting additional ext4 USB drive

I have a USB (ext4) drive connected and it's registered in /etc/fstab. It mounts at /media/Backup fine. I want to mount a specific directory on that drive using a bind / loopback mount (this is ...
1
vote
0answers
75 views

UDEV rule to run partprobe on loop device

I use udisks2 to mount raw image over a loop device: udisksctl -f image.img --no-user-interaction Policykit is configured, so no errors here. For some reason kernel does not want to re-read ...
1
vote
0answers
74 views

passing variable through cat EOF command with for loop

How do I get the script run with the sbatch command to run with the 23 individual run_prep_chem_$dd.sh (i.e. run_prep_chem_08.sh...run_prep_chem_30.sh)? I am thinking since its in this for loop that ...
1
vote
0answers
72 views

Max file size for create_compressed_fs tool

Somebody knows what the maximum size of file could be processed by create_compressed_fs tool or used by /dev/cloop device? I suspect that it could be the root of the issue. I created "ISO" (UDF) ...
1
vote
0answers
247 views

Will there be any security problem to permit non-root user set up a loopback devices?

if the user has full access to the image file (iso or disk image), will there be any security problem to permit him set up a loopback device backed by this file ? % ls -al /dev/loop* ...
1
vote
0answers
653 views

Debian VPS, no loop devices present, modprobe fails

After acquiring a new virtual Debian squeeze I ran into a problem regarding loop devices. My plan was to set up an encrypted FS in a regular file and mount it. Unfortunately I can't do that since ...
0
votes
0answers
7 views

FTDI FT2232H time setting

I used FTDI FT2232H in MPSSE mode, running it at 30MHz(maximum speed) clock rate and Latency Timer is 255, I have downloaded libraries from below link and compiled with my App. code: ...
0
votes
0answers
170 views

How to mount multiple iSCSI images too loop

I have to mount iscsi images to loop. Yesterday someone with a similar problem asked that already. The difference is, my iscsi image is splitted into 5 parts. ls -la insgesamt 4718592004 -rw-rw-rw- ...
0
votes
0answers
172 views

different loopback mounted volumes exported through NFS are seen as 1 by the client

I have a rather peculiar problem. I'm running 3.2.0-58-generic #88-Ubuntu (Ubuntu 12.04) and I have mouonted the following loopback devices: cat /proc/mounts | grep loop /dev/loop0 ...