Results 1 to 10 of 10

Thread: Mounting self-made cloop file - how?

Threaded View

  1. #4
    Member registered user
    Join Date
    Dec 2006
    Posts
    44
    I make a cloop file directly from the mounted file system like this:
    Code:
    $ genisoimage -input-charset ISO-8859-15 -R -l -D -V KNOPPIX_FS -quiet \
      -no-split-symlink-components -no-split-symlink-fields \
      -hide-rr-moved -cache-inodes /path/to/cloop/filesystem/root/directory \
      | create_compressed_fs -q -B 65536 -t 8 -L 9 \
      -f /tmp/isotemp - /path/to/created/cloop/file
    I don't know if your creation method with ddrescue and create_compressed_fs does the same.
    Does the method below work for you?
    Code:
    $ sudo losetup --verbose --read-only  /dev/cloop7 /mnt-system/KNOPPIX/KNOPPIX1
    losetup: /mnt-system/KNOPPIX/KNOPPIX1: Warning: file does not fit into a 512-byte sector; the end of the file will be ignored.
    
    $ sudo mount --verbose  /dev/cloop7  /mnt-user
    mount: /dev/cloop7 is write-protected, mounting read-only
    mount: /dev/cloop7 mounted on /mnt-user.
    
    $ sudo blkid | grep cloop7
    /dev/cloop7: UUID="2016-10-22-16-00-20-00" LABEL="KNOPPIX_ADDONS1" TYPE="iso9660"
    
    $ df | grep cloop7
    /dev/cloop7      1033766   1033766         0 100% /mnt-user
    Since Knoppix 7 I cannot find a way to detach the cloop device again, so I have to reboot to release the device.
    Code:
    $ sudo umount --verbose  /dev/cloop7
    umount: /mnt-user (/dev/cloop7) unmounted
    
    $ sudo losetup --verbose --detach  /dev/cloop7
    losetup: /dev/cloop7: failed to use device: No such device
    
    $ sudo blkid | grep cloop7
    /dev/cloop7: UUID="2016-10-22-16-00-20-00" LABEL="KNOPPIX_ADDONS1" TYPE="iso9660"
    Last edited by fredvej; 03-05-2017 at 11:33 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Case For Samsung Galaxy Tab A9/ A9+ 5G/ A9 Plus Kids Shockproof Cover with Stand picture

Case For Samsung Galaxy Tab A9/ A9+ 5G/ A9 Plus Kids Shockproof Cover with Stand

$16.99



Samsung Galaxy Tab A 32GB, 10.1in, WiFi ONLY picture

Samsung Galaxy Tab A 32GB, 10.1in, WiFi ONLY

$80.00



Samsung T7 1TB MU-PC1T0T USB 3.2 SSD External Solid State Drive picture

Samsung T7 1TB MU-PC1T0T USB 3.2 SSD External Solid State Drive

$59.95



Genuine Samsung 30W Type-C Charger For Chromebook Pro Plus With Samsung Box picture

Genuine Samsung 30W Type-C Charger For Chromebook Pro Plus With Samsung Box

$12.99



Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New) picture

Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)

$129.99



Samsung 512GB PM981 NVMe Gen 3x4 80mm SSD MZ-VLB512A 09Y4V9 picture

Samsung 512GB PM981 NVMe Gen 3x4 80mm SSD MZ-VLB512A 09Y4V9

$23.99



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$38.00



Samsung SATA SSD SM863a 960GB - MZ7KM960HMJP-00005 picture

Samsung SATA SSD SM863a 960GB - MZ7KM960HMJP-00005

$50.00



OEM Samsung Galaxy Tab S9 Ultra 14.6

OEM Samsung Galaxy Tab S9 Ultra 14.6" Book Cover Keyboard, Black, EF-DX915UBEGUJ

$144.99



Samsung PM9A3 2.5

Samsung PM9A3 2.5" 1.92TB SSD PCIe Gen4 MZ-QL21T90

$120.00