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

Bug #1571255 reported by sudodus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-disk-utility (Ubuntu)
New
Undecided
Unassigned

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

https://help.ubuntu.com/community/Installation/UEFI-and-BIOS

and the file to 'restore' is

http://phillw.net/isos/linux-tools/uefi-n-bios/dd_Ubuntu_16.04-gamma-UEFI-n-BIOS-4-pendrive-12GB.img.xz

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 3.18.3.1-1ubuntu1
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)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-disk-utility
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
sudodus (nio-wiklund) wrote :
sudodus (nio-wiklund)
description: updated
Revision history for this message
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:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1571255

tags: added: iso-testing
Revision history for this message
sudodus (nio-wiklund) wrote :

This bug affects Lubuntu Xenial i386 but not amd64.

description: updated
sudodus (nio-wiklund)
description: updated
Revision history for this message
sudodus (nio-wiklund) wrote :

bump

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.