Bug 491526 - Maybe dumb question, but how to select swap partition in Anaconda?
Summary: Maybe dumb question, but how to select swap partition in Anaconda?
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:b3a67c16a1c1dd815...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-22 16:43 UTC by Miroslav Šustek
Modified: 2009-03-24 00:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-23 22:40:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (111.38 KB, text/plain)
2009-03-22 16:43 UTC, Miroslav Šustek
no flags Details

Description Miroslav Šustek 2009-03-22 16:43:25 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.12 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
    device.format.setup()
  File "/usr/lib/anaconda/packages.py", line 193, in turnOnFilesystems
    anaconda.id.storage.fsset.turnOnSwap(anaconda.intf)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
    self.anaconda.dispatch.gotoNext()
FormatSetupError: invalid device specification

Comment 1 Miroslav Šustek 2009-03-22 16:43:33 UTC
Created attachment 336203 [details]
Attached traceback automatically from anaconda.

Comment 2 Chris Lumens 2009-03-23 14:15:34 UTC
anaconda-11.4.0.12 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.

Comment 3 David Cantrell 2009-03-23 22:40:49 UTC
Unable to reproduce on rawhide.  I did an autopart install and a custom partitioning install and swap was created.

Comment 4 Miroslav Šustek 2009-03-24 00:07:13 UTC
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.)

Comment 5 Miroslav Šustek 2009-03-24 00:22:45 UTC
(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". :)


Note You need to log in before you can comment on or make changes to this bug.