-
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
-
Forum Rules
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT
$188.09
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$109.99
SAMSUNG SSD 870 EVO 1TB 500GB 250GB 2.5 inch SATA III 3 Solid State Drive US
$92.99
Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive
$237.49
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$13.99
Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive
$14.99
Mushkin Reactor 500GB Internal 2.5" SATA SSD Solid State Drive
$25.99
120 128GB SSD SATA III 2.5" 7mm Solid State Drive MIXED BRAND APPLE LAPTOP zz
$9.99
M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11
$58.25
4 TB SSD SATA III Drive 2.5" Solid State Drive SATAIII 6Gb/s UP to 540MB/s
$149.00