Description of problem: Tried to install after custom partition The following was filed automatically by anaconda: anaconda 18.37.4 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/fs.py", line 465, in doResize raise FSResizeError("resize failed: %s" % ret.rc, self.device) File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 562, in execute self.device.format.doResize() File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 323, in processActions action.execute() File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 323, in doIt self.devicetree.processActions() File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 174, in turnOnFilesystems storage.doIt() File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 114, in doInstall turnOnFilesystems(storage) File "/usr/lib64/python2.7/threading.py", line 504, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run threading.Thread.run(self, *args, **kwargs) AttributeError: 'int' object has no attribute 'rc' Additional info: cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8 cmdline_file: initrd=initrd0.img root=live:UUID=7767-B444 rootfstype=vfat ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 BOOT_IMAGE=vmlinuz0 executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.6.10-4.fc18.x86_64 other involved packages: python-libs-2.7.3-13.fc18.x86_64 package: anaconda-18.37.4-1.fc18.x86_64 packaging.log: product: Fedora release: Fedora release 18 (Spherical Cow) type: libreport version: 18
Created attachment 671463 [details] File: anaconda.log
Created attachment 671464 [details] File: environ
Created attachment 671465 [details] File: ifcfg.log
Created attachment 671466 [details] File: messages
Created attachment 671467 [details] File: program.log
Created attachment 671468 [details] File: storage.log
Created attachment 671469 [details] File: anaconda-tb
was installing fedora18 dual boot with xp error apen right after partitionning hdd Package: anaconda-18.37.11-1.fc18.x86_64 OS Release: Fedora release 18
Custom partitioning. Shrink existing Windows NTFS partition, auto-create new Fedora 18 partitions, edit the sizes of the Fedora 18 partitions. Package: anaconda-18.37.11-1.fc18.x86_64 OS Release: Fedora release 18
In my case, this problem seemed to be caused by an unclean NTFS filesystem: 20:02:15,175 INFO program: Running... ntfsresize -m /dev/sda3 20:02:16,809 INFO program: ntfsresize v2012.1.15 (libntfs-3g) 20:02:16,809 INFO program: Cluster 3410908 is referenced multiple times! 20:02:16,810 INFO program: Cluster 3410909 is referenced multiple times! 20:02:16,810 INFO program: Cluster 3410910 is referenced multiple times! 20:02:16,810 INFO program: Cluster 3410911 is referenced multiple times! 20:02:16,810 INFO program: Cluster 3410912 is referenced multiple times! 20:02:16,810 INFO program: Cluster 3410913 is referenced multiple times! 20:02:16,810 INFO program: Cluster 122906434 is referenced multiple times! 20:02:16,810 INFO program: Cluster 122906435 is referenced multiple times! 20:02:16,810 INFO program: Cluster 122906436 is referenced multiple times! 20:02:16,810 INFO program: Cluster 122906437 is referenced multiple times! 20:02:16,810 INFO program: ERROR: Filesystem check failed! 20:02:16,810 INFO program: ERROR: 73 clusters are referenced multiple times. 20:02:16,810 INFO program: NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE! 20:02:16,810 INFO program: The usage of the /f parameter is very IMPORTANT! No modification was 20:02:16,811 INFO program: and will be made to NTFS by this software until it gets repaired. After booting into Windows and forcing a chkdsk (from the GUI Tools tab on the C: drive properties and rebooting) Fedora 18 was able to resize the disk without error. It seems anaconda needs to catch this error and report it to the user rather than just crashing.
https://lists.fedorahosted.org/pipermail/anaconda-patches/2013-January/002630.html was the patch for this. It seems trivial: - raise FSResizeError("resize failed: %s" % ret.rc, self.device) + raise FSResizeError("resize failed: %s" % ret, self.device) so this only affected cases where the resize failed, and now you'll get a proper failure message instead of a traceback. We haven't had a dupe report with an F19 build, so let's assume the fix is good and close this.