Red Hat Bugzilla – Bug 491526
Maybe dumb question, but how to select swap partition in Anaconda?
Last modified: 2009-03-23 20:22:45 EDT
The following was filed automatically by anaconda:
anaconda 184.108.40.206 exception report
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/formats/__init__.py", line 282, in setup
raise FormatSetupError("invalid device specification")
File "/usr/lib/anaconda/storage/formats/swap.py", line 117, in setup
DeviceFormat.setup(self, *args, **kwargs)
File "/usr/lib/anaconda/storage/__init__.py", line 1356, in turnOnSwap
File "/usr/lib/anaconda/packages.py", line 193, in turnOnFilesystems
File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
FormatSetupError: invalid device specification
Created attachment 336203 [details]
Attached traceback automatically from anaconda.
anaconda-220.127.116.11 is a very old release at this point. Perhaps you are using an older local mirror, or a mirror that has not updated in several weeks. Can you please try with the latest rawhide and see if this problem is reproducable there? Thanks.
Unable to reproduce on rawhide. I did an autopart install and a custom partitioning install and swap was created.
I did an custom partition install.
I have tried official mirror (fedora.redhat.com), too but with same results.
Even though I followed the same procedure, it gave me the same results:
this one and #489520: https://bugzilla.redhat.com/attachment.cgi?id=336210 .
Maybe it was because of specific partition table.
Then I solved my situation by deleting swap partitions. Anaconda asked whether to continue without swap (clicked YES) and everything gone well then. And after installation I enabled the swap manually.
It is not best solution, but it works for me.
(IMHO Anaconda (v11) is great and looks very user friendly, but has a few hidden bugs. Eg. unhandled exceptions almost every time you close a dialog window by escape key. And unhandled exceptions make whole installation worthless.)
(In reply to comment #4)
> Even though I followed the same procedure, it gave me the same results:
> this one and #489520: https://bugzilla.redhat.com/attachment.cgi?id=336210 .
I mean that with the same procedure it "randomly" gave me two different errors.
I also tried to format to ext3, ext2, tried to format swap in Anaconda and always got one of these two errors.
I'd like to help you, but I really don't know (without crunching through the source code) why "it does what it does and isn't supposed to do". :)