Comment 4 for bug 1581314

Revision history for this message
Phil (zealophobic) wrote :

I tried to copy an ntfs partition using gparted 0.25, using ubuntu 15.04.

My gparted output:

======================
libparted : 3.2
======================

(gpartedbin:2846): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_M_replace_aux

Trace/breakpoint trap (core dumped)
$ apt-cache policy gparted
gparted:
  Installed: (none)
  Candidate: 0.19.0-3build1
  Version table:
     0.19.0-3build1 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status

$ sudo fdisk -l -u
[output trimmed to just the disks involved.
copy was from /dev/sda5 to /dev/sde4]

Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: [snip]

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 63 36200035 36199973 17.3G 7 HPFS/NTFS/exFAT
/dev/sda2 36200448 234440703 198240256 94.5G f W95 Ext'd (LBA)
/dev/sda5 36202496 234440703 198238208 94.5G 7 HPFS/NTFS/exFAT

Disk /dev/sde: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: [...]

Device Start End Sectors Size Type
/dev/sde1 34 262177 262144 128M Microsoft reserved
/dev/sde2 264192 7579594751 7579330560 3.5T Microsoft basic data
/dev/sde3 7579594752 7611598847 32004096 15.3G Linux swap
/dev/sde4 7611600896 7809839103 198238208 94.5G Microsoft basic data

Partition 1 does not start on physical sector boundary.

$ sudo parted /dev/sda5 unit s print
Model: Unknown (unknown)
Disk /dev/sda5: 198238208s
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
 1 0s 198238207s 198238208s ntfs

$ sudo parted /dev/sde4 unit s print
Model: Unknown (unknown)
Disk /dev/sde4: 198238208s
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
 1 0s 198238207s 198238208s ntfs

$ sudo blkid
[reports them both as type ntfs, but I don't post UUIDs due to paranoia]