Bug 431704 - Dolphin cannot mount some iso's
Summary: Dolphin cannot mount some iso's
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: ISO mounting (show other bugs)
Version: 20.08.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kwon-Young Choi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-16 17:11 UTC by soredake
Modified: 2022-08-11 16:13 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
trying to mount DVD-video ISO images created with K3b (3.18 MB, video/webm)
2021-04-24 14:49 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soredake 2021-01-16 17:11:59 UTC
SUMMARY
Sample iso's:
https://www.myabandonware.com/game/the-punisher-c6u#download (first russian iso)

STEPS TO REPRODUCE
1. Try to mount these iso's
2. Fail.

OBSERVED RESULT
Iso cannot be mounted.

EXPECTED RESULT
Iso can be mounted.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.10
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Comment 1 soredake 2021-01-16 17:37:40 UTC
Another iso https://archive.org/details/what-if-jun-27-2014-prototype/
Comment 2 Kwon-Young Choi 2021-01-16 18:11:29 UTC
Hello,

I will try to investigate, but it would be easier if you had a smaller iso to test with.

Could you test this command to mount your iso:

```
udisksctl loop-setup -f myisofile.iso
```
Comment 3 Justin Zobel 2021-01-17 06:12:11 UTC
Error when loading the second ISO:

Loading the archive ‘/home/justin/Downloads/what-if-jun-27-2014-prototype/What if (Jun 27, 2014 15.44.07PM aka Life is Strange).iso’ failed with the following error:
Archive corrupted or insufficient permissions.

When opening from terminal:
ark.kerfuffle: Could not detect mimetype from content. Using extension-based mimetype: "application/x-cd-image"
ark.kerfuffle: Could not detect mimetype from content. Using extension-based mimetype: "application/x-cd-image"
ark.libarchive: Could not open the archive: Lzma library error: Corrupted input data
Comment 4 Justin Zobel 2021-01-17 06:12:51 UTC
Permissions on ISO -rw-rw-r--
Comment 5 Justin Zobel 2021-01-17 06:18:30 UTC
Sorry those comments were meant for the Ark bug about the same ISOs.

I've just used the "Mount Unmount ISO" addon service by "pulsar-ai" to mount and unmount the second ISO and I can browse the contents of the disc.
Comment 6 Kwon-Young Choi 2021-01-17 09:25:49 UTC
(In reply to soredake from comment #0)
> SUMMARY
> Sample iso's:
> https://www.myabandonware.com/game/the-punisher-c6u#download (first russian
> iso)
> 
> STEPS TO REPRODUCE
> 1. Try to mount these iso's
> 2. Fail.
> 
> OBSERVED RESULT
> Iso cannot be mounted.
> 
> EXPECTED RESULT
> Iso can be mounted.
> 
> SOFTWARE/OS VERSIONS
> Windows: 
> macOS: 
> Linux/KDE Plasma: Kubuntu 20.10
> (available in About System)
> KDE Plasma Version: 5.19.5
> KDE Frameworks Version: 5.74.0
> Qt Version: 5.14.2
> 
> ADDITIONAL INFORMATION

So I tested the iso from the link and the only problem is that the mimetype of the iso is not recognized.
The downloaded iso file uses the `.mdf` extension which seems to not be recognized as an x-cd-image file.
If I rename the file with a `.iso` extension, everything works as intended.

So the problem is not with the plugin itself but with the handling of the mimetype of the file.
Comment 7 soredake 2021-01-17 09:39:39 UTC
I've identified that i cannot mount these iso's because they was stored in ntfs partition, mounting from ext4 works fine.
Comment 8 Kwon-Young Choi 2021-01-17 12:12:06 UTC
(In reply to soredake from comment #7)
> I've identified that i cannot mount these iso's because they was stored in
> ntfs partition, mounting from ext4 works fine.

Okay, I have no idea why this is the case.
I hope someone more experimented can comment on this issue.
Comment 9 Kwon-Young Choi 2021-01-17 12:23:29 UTC
So, I actually tried to mount an iso from a USB key formatted with a NTFS partition.

What I have found is that the iso is actually correctly mounted (I was able to explore the iso by going to /run/media/username/myiso) but it did not appear in the dolphin sidebar.

Therefore, I think this is a problem with Dolphin itself.
Comment 10 Elvis Angelaccio 2021-03-21 15:45:51 UTC
@Kwon: could be an issue with solid. Does "solid-hardware5 list" show it?
Comment 11 Patrick Silva 2021-04-24 14:48:31 UTC
I have the same problem on Arch Linux.
In the attached screen recording, I can't mount two DVD-video ISO images created with K3b.

Mounting with udisksctl gives me this output (ISOs are still not visible in Places panel of Dolphin after
this command):
$udisksctl loop-setup -f <my ISO>
Mapped file <my ISO> as /dev/loopX.

Operating System: Arch Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 12 Patrick Silva 2021-04-24 14:49:24 UTC
Created attachment 137873 [details]
trying to mount DVD-video ISO images created with K3b
Comment 13 Kwon-Young Choi 2022-08-05 08:31:52 UTC
(In reply to Patrick Silva from comment #11)
> I have the same problem on Arch Linux.
> In the attached screen recording, I can't mount two DVD-video ISO images
> created with K3b.
> 
> Mounting with udisksctl gives me this output (ISOs are still not visible in
> Places panel of Dolphin after
> this command):
> $udisksctl loop-setup -f <my ISO>
> Mapped file <my ISO> as /dev/loopX.

Hello,

Does this bug still happen ?
Comment 14 Kwon-Young Choi 2022-08-05 08:43:16 UTC
Also, does the iso appear if you restart dolphin ?
Comment 15 Patrick Silva 2022-08-08 12:13:34 UTC
Despite sometimes I need to restart Dolphin to make the mounted ISO visible in the Places panel, I'm unable to reproduce this bug. Tested on Arch Linux with Dolphin 22.08 RC and on neon unstable.
Comment 16 empyreal 2022-08-11 11:32:34 UTC
Looks similar to https://bugs.kde.org/show_bug.cgi?id=443125
Comment 17 soredake 2022-08-11 14:40:58 UTC
I tried mounting both iso's linked by me in latest fedora kde vm, they mounted fine, and without restarting dolphin, so i suppose it's fixed now. Bug can be closed.
Comment 18 empyreal 2022-08-11 16:13:39 UTC
There is no problem in mounting ISOs. All are mounted perfectly fine in media folder.
There is problem with displaying mounted ISOs in Dolphin.
Bug persist's even here with more interesting results while mounting in Dolphin:
Operating System: Kubuntu 22.10
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.4
Kernel Version: 5.15.0-46-generic (64-bit)
Graphics Platform: X11