Bug 21510

Summary: could not create swap partition
Product: [Retired] Red Hat Linux Reporter: shivaji apte <shivaji_apte>
Component: anacondaAssignee: Michael Fulbright <msf>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-12-27 17:28:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description shivaji apte 2000-11-30 13:20:31 UTC
I have an Acer machine (256MB RAM, 9.8GB HD).
I had configured the following partition scheme:
   /hda1   ---> /win (windows partition) 6000MB
   /hda2   ---> /boot                    24MB
   /hda3   ---> swap                     256MB
   /hda4   ---> /usr                     2000MB
   /hda5   ---> /                        1400MB

While installing, it failed giving some error like 'unable to create swap 
partition. This is an exceptional condition and might be a bug....'

The log is attached below:
------------------------------------------------------------------------
Traceback (innermost last):
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/iw/progress_gui.py", 
line 20, in run
    rc = self.todo.doInstall ()
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 1472, in 
doInstall
    self.fstab.mountFilesystems (self.instPath)
  File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/fstab.py", line 713, in 
mountFilesystems
    raise SystemError, (errno, msg)
SystemError: (22, 'Invalid argument')

Local variables in innermost frame:
size: 24097
fsystem: ext2
self: <fstab.GuiFstab instance at 84ba848>
msg: Invalid argument
doFormat: 1
errno: 22
device: hda2
instPath: /mnt/sysimage
mntpoint: /boot

ToDo object:
(itodo
ToDo
p1
(dp2
S'method'
p3
(iimage
CdromInstallMethod
p4
(dp5
S'progressWindow'
p6

<failed>
-----------------------------------------------------------------------

However, the same installation when attempted again went through fine.

Shivaji

Comment 1 Michael Fulbright 2000-11-30 17:20:07 UTC
What was your original partitioning scheme before you created the partitions
listed in your bug report?

This is a dupe of bug 16686, and we're having trouble reproducing it. Your info
would really help!

Comment 2 shivaji apte 2000-12-01 04:02:55 UTC
The original configuration before I used the fdisk was:
   1 big fat ugly 9.8GB partition with Win2K on it.

Shivaji

Comment 3 Michael Fulbright 2000-12-27 17:28:24 UTC

*** This bug has been marked as a duplicate of 16686 ***