GNOME Bugzilla – Bug 595309
Gparted crashes after trying to format iPod shuffle 2nd generration
Last modified: 2010-05-01 21:19:42 UTC
I launched GParted, with my iPod mounted and tried to format it, but it crashed with following output.
Ondra, the portion of this message with the "following output". Appears to be missing. Would you be able to retry the problem with the latest version of GParted (currently 0.4.6) and post the results here? Several Live CD's contain GParted 0.4.6 including the GParted Live distribution available on the GParted site. As a heads up GParted currently only works with sector sizes of 512 bytes. If I recall many iPods use larger sector sizes such as 2048 bytes, so you might need to use a different tool if you need a larger sector size.
Created attachment 143252 [details] missing output file
i will try it, but it may take a while
GParted uses an underlying library called libparted from the parted project to detect and manipulate partition tables. From the stack track I can see that libparted 1.8.8 was used and does not properly support sector sizes other than 512 bytes. Parted 1.9.0 might handle this situation better. Both gparted-0.4.6 and parted-1.9.0 are available on the System Rescue CD v1.3.0 which is available at: http://www.sysresccd.org/Download
Set to UNCONFIRMED again as Ondra replied your question
A change has been committed to the GNOME repository to avoid crashes by ignoring devices with sector size > 512 bytes. The relevant git commit can be viewed at the following link: http://git.gnome.org/browse/gparted/commit/?id=3dd34af909907577227341437fd33fea0c37cce4 This is not an ideal solution because devices with sector sizes greater than 512 bytes are silently ignored from a graphical interface perspective. Only if the user starts gparted from the command line will the "ignoring device" message be seen. In my opinion this short term solution of ignoring these devices is still better than a gparted crash which might also result in data loss. A new bug #607165 has been created to add support for devices with sector sizes > 512 bytes. The above committed change will be included in the next release of GParted (0.5.1). Closing this bug.
*** Bug 617402 has been marked as a duplicate of this bug. ***