gnome-disks truncates a huge image when restoring to a drive from xz-compressed image file

Bug #1571255 reported by sudodus on 2016-04-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-disk-utility (Ubuntu)

Bug Description

This bug affects Lubuntu Xenial i386 but not amd64.

gnome-disks works when restoring from a 300 MB image compressed with xz. But it fails when trying to 'restore' from a 12 GB image compressed with xz. This extraction works with mkusb, which uses xzcat and dd under the hood. The process is described at

and the file to 'restore' is

gnome-disks 'thinks' that the file size is 3.5 GB, so it truncates it, and the result is a corrupted system on the target drive. See the attached screenshot.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-disk-utility
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic i686
ApportVersion: 2.20.1-0ubuntu2
Architecture: i386
CasperVersion: 1.372
CurrentDesktop: LXDE
Date: Sat Apr 16 21:26:16 2016
LiveMediaBuild: Lubuntu 16.04 LTS "Xenial Xerus" - Beta i386 (20160415)
 PATH=(custom, no user)
SourcePackage: gnome-disk-utility
UpgradeStatus: No upgrade log present (probably fresh install)

sudodus (nio-wiklund) wrote :
sudodus (nio-wiklund) on 2016-04-17
description: updated
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:

tags: added: iso-testing
sudodus (nio-wiklund) wrote :

This bug affects Lubuntu Xenial i386 but not amd64.

description: updated
sudodus (nio-wiklund) on 2016-04-17
description: updated
sudodus (nio-wiklund) wrote :


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers