LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   kickstart "can't have the end before the start!" (http://www.linuxquestions.org/questions/linux-server-73/kickstart-cant-have-the-end-before-the-start-730581/)

DaveQB 06-04-2009 01:50 AM

kickstart "can't have the end before the start!"
 
I am getting this Python error from Kickstart with a ks file containing [currently]

Code:

part /boot --fstype ext2 --size=100 --ondisk=sda
part pv.4 --size=0 --grow --ondisk=sda
volgroup VolGroup00 pv.4
#--pesize=32768 pv.4
logvol / --fstype ext4 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow --maxsize=8192
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1000 --grow
#--maxsize=1984
logvol /Local --fstype ext3 --name=LogVol02 --vgname=VolGroup00 --size=8192 --grow

I have tried a few variants, as you can see, it doesn't seem to matter. I can't see what the issue it, its looks just like many examples I have seen searching the net for the last 2 hours....

Any advice welcome!

Thanks

DaveQB 06-04-2009 01:55 AM

Oh I must say I have got it working changing this:

Code:

part pv.4 --size=0 --grow --ondisk=sda
To this:

Code:

part pv.4 --size=30000 --grow --ondisk=sda

But from what I read, this should not be needed.

Rogue45 07-27-2012 04:17 PM

Does it have anything to do with the %end that should be at the end of the command, pre, and post sections?

DaveQB 07-28-2012 10:39 PM

Quote:

Originally Posted by Rogue45 (Post 4739666)
Does it have anything to do with the %end that should be at the end of the command, pre, and post sections?

I would give that a look into but I am not working at that company any more and not using Kickstart anywhere now.

Thanks though.


All times are GMT -5. The time now is 09:30 PM.