https://bugs.kde.org/show_bug.cgi?id=507360

            Bug ID: 507360
           Summary: Partition type is not copied when copy paste partition
    Classification: Applications
           Product: partitionmanager
      Version First 25.04.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: ash...@linuxcomp.ru
  Target Milestone: ---

I was transferring data from one ssd to another. I inserted both SSDs to the
PC, and copy-pasted partitions one by one from first ssd to second ssd.

In Windows `diskpart` utility, the NTFS partitions were not recognized. I.e.
the partitions were presented in `diskpart list part`, but not in `diskpart
list vol`.

I then realized that KDE Partition Manager did not copied the partition type. I
did it manually via terminal utility cgdisk/gdisk (because of Bug 394639 -
unable to view/change partition type guid), and diskpart started recognising
ntfs partition normally (recognized as volumes).

STEPS TO REPRODUCE
1. Have one partition with ntfs file system, marked as 0700 type.
2. Have a space on some drive where you could paste the partition.
3. Right click partitition, then click copy.
4. Right click empty space, then click paste.
5. Apply operations.
6. Wait until copying finishes.
7. Check partition type with gdisk (type t, then type partition number, then
see its type hex code) or cgdisk (select partition, select Type, see its hex
code).

OBSERVED RESULT
The new partition has code 8300 - Linux filesystem.

EXPECTED RESULT
The new partition should have the original partition type hex code, i.e. 0700.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.6-arch1-1 (64-bit)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to