Gusarapo
16th April 2010, 01:45 AM
Hello,
I am writing here because since 1 week ago I have been trying to get a successful custom installation using Fedora 12, kickstart and Revisor.
I got to build the CD images with Revisor program using my own kickstart file, but when I am going to install my custom Fedora 12 I get stucked always in the same step (the disk partition)
I don't want to use LVM, so that my kickstart file looks like this:
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part / --fstype=ext3 --grow --size=200
part swap --size=2048
In the disk partition step I have always selected (by default) the option "use the whole disk". I thought if anaconda was using my kickstart file in this step I should only press the button next and the installer would format my partitions (1 partition for 2GB swap and 1 partition for / with size the rest of the disk) but when I press next I get always this error:
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/devices.py", line 2030, in _setSize
raise ValueError("not enough free space in volume group")
File "/usr/lib/anaconda/storage/partitioning.py", line 1201, in growLVM
lv.size += grow_amounts[lv.name]
File "/usr/lib/anaconda/storage/partitioning.py", line 213, in doAutoPartition
growLVM(anaconda.id.storage)
File "/usr/lib/anaconda/dispatch.py", line 200, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 123, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/gui.py", line 1195, in nextClicked
self.anaconda.dispatch.gotoNext()
ValueError: not enough free space in volume group
Local variables in innermost frame:
self: LVMLogicalVolumeDevice instance (0xb59a406c) --
name = VolGroup-lv_swap status = False parents = [<storage.devices.LVMVolumeGroupDevice object at 0xb599ea6c>]
kids = 0
id = 14
uuid = None format = <storage.formats.swap.SwapSpace object at 0xb59a458c> size = 2016
major = 0 minor = 0 exists = None
sysfs path = partedDevice = None
target size = 2016 path = /dev/mapper/VolGroup-lv_swap
format args = [] target = None dmUuid = None VG device = <storage.devices.LVMVolumeGroupDevice object at 0xb599ea6c> percent = 0
mirrored = False stripes = 1 snapshot total = 0MB
VG space used = 2016MB
size: 108
(the error continues)
For me that looks like anaconda trying to build a Logical Volume but in my kickstart file I didn't configure it.
Why always anaconda by default tries to create a Logical Volume? I was trying to make an unattended installation but because of this issue I will not be able to do it. I am getting crazy about this. XD
Someone got to install a custom Fedora 12 using a kickstart file without LVM?
Thank you very much!!!
I am writing here because since 1 week ago I have been trying to get a successful custom installation using Fedora 12, kickstart and Revisor.
I got to build the CD images with Revisor program using my own kickstart file, but when I am going to install my custom Fedora 12 I get stucked always in the same step (the disk partition)
I don't want to use LVM, so that my kickstart file looks like this:
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part / --fstype=ext3 --grow --size=200
part swap --size=2048
In the disk partition step I have always selected (by default) the option "use the whole disk". I thought if anaconda was using my kickstart file in this step I should only press the button next and the installer would format my partitions (1 partition for 2GB swap and 1 partition for / with size the rest of the disk) but when I press next I get always this error:
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/devices.py", line 2030, in _setSize
raise ValueError("not enough free space in volume group")
File "/usr/lib/anaconda/storage/partitioning.py", line 1201, in growLVM
lv.size += grow_amounts[lv.name]
File "/usr/lib/anaconda/storage/partitioning.py", line 213, in doAutoPartition
growLVM(anaconda.id.storage)
File "/usr/lib/anaconda/dispatch.py", line 200, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 123, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/gui.py", line 1195, in nextClicked
self.anaconda.dispatch.gotoNext()
ValueError: not enough free space in volume group
Local variables in innermost frame:
self: LVMLogicalVolumeDevice instance (0xb59a406c) --
name = VolGroup-lv_swap status = False parents = [<storage.devices.LVMVolumeGroupDevice object at 0xb599ea6c>]
kids = 0
id = 14
uuid = None format = <storage.formats.swap.SwapSpace object at 0xb59a458c> size = 2016
major = 0 minor = 0 exists = None
sysfs path = partedDevice = None
target size = 2016 path = /dev/mapper/VolGroup-lv_swap
format args = [] target = None dmUuid = None VG device = <storage.devices.LVMVolumeGroupDevice object at 0xb599ea6c> percent = 0
mirrored = False stripes = 1 snapshot total = 0MB
VG space used = 2016MB
size: 108
(the error continues)
For me that looks like anaconda trying to build a Logical Volume but in my kickstart file I didn't configure it.
Why always anaconda by default tries to create a Logical Volume? I was trying to make an unattended installation but because of this issue I will not be able to do it. I am getting crazy about this. XD
Someone got to install a custom Fedora 12 using a kickstart file without LVM?
Thank you very much!!!