Bug 458947 - apple filesystem is not detected
Summary: apple filesystem is not detected
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.04.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-10 09:28 UTC by Evren
Modified: 2023-03-25 08:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
KDE Partition Manager and GParted side by side (305.92 KB, image/png)
2022-09-10 09:28 UTC, Evren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evren 2022-09-10 09:28:41 UTC
Created attachment 151961 [details]
KDE Partition Manager and GParted side by side

SUMMARY
I test some bootable isos on an usb stick, when i write an apple formatted iso file that has apple format, kde partition manager does not detect if its gpt or mbr, and it says "no valid partition table was found on this device", but obviously it is exist that i can mount it on thunar and see its content, even if its read only, its working, then i tried gparted, it shows several partitions, i attach screenshot of both kpartitionmanager and gparted to compare. I also added a FAT32 partition on the stick with gparted, kde partition manager still doesn't detect anything, but thunar file manager is able to mount and modify that partition too, i didn't encounter problems with it.

STEPS TO REPRODUCE
1. Write an apple format iso file like install disc of macos into an usb stick, using dd or similar tool. I have used mintstick from aur for convenience.
2. Launch kde partition manager, wait for detection finished.

OBSERVED RESULT
No partition table is detected on the usb stick.

EXPECTED RESULT
Partition table should be detected and shown as in gparted shows it.

SOFTWARE/OS VERSIONS
Linux Kernel: 5.15.60-1-MANJARO (64-bit)
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
I have installed udftools with pacman, because partition manager warned me to download it in order to see partitions on usb stick, but result did not change, then i tried installing
apfsprogs-git apfs-fuse-git linux-apfs-rw-dkms-git
from aur, also rebooted, result did not change.
Comment 1 Evren 2022-09-10 09:38:08 UTC
Output of:
$ fdisk -l
Disk /dev/sda: 115.23 GiB, 123730388992 bytes, 241660916 sectors
Disk model: DataTraveler 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda           8:0    1 115.2G  0 disk  
├─sda1        8:1    1  31.5K  0 part  
├─sda2        8:2    1 100.2G  0 part  /run/media/.../KING
└─sda3        8:3    1  14.9G  0 part  /run/media/.../Install macOS Monterey
...
$ cat /proc/partitions
major minor  #blocks  name
...
   8        0  120830458 sda
   8        1         31 sda1
   8        2  105060352 sda2
   8        3   15638496 sda3

So fdisk doesn't show partitions, but lsblk and /proc/partitions shows them.
Comment 2 Andrius Štikonas 2022-09-10 10:01:27 UTC
Unlikely to be fixed as KDE Partition Manager uses sfdisk to detect partition table and as you can see fdisk does not detect it.

In particular, we run "sfdisk --json /dev/sda" and look for device type. Maybe you could actually run this command and see if it prints anything useful?