hi,
i've been folowing kickstart for a while lately..
  according to RH the bug with partitioning was fixed (or at least bug
was closed on bugzilla), by adding --onpart. I checked installation code
(one of the pre6.2) it doesn't look like --onpart can solve this
problem:

        if onPart:
            self.addToFstab(extra[0], onPart)
        else:
            self.addNewPartition(extra[0], size, maxSize, grow, device) 

i assume it modifies fstab in case you would like to use already
existing partitions.

  also i noticed --ondisk in the source, which should do the right
thing, but using it resulted into '--ondisk: unknown option'. i tried
going deeper into code, but got stuck.

couldn't check if it was changed on 6.2, cause here kickstart crashes in
doMouse section..


my little workaround for this bug:

 making hda1 appear as largest.

 part / --size 250  ; i'm making it largest 
  part /var --size 100
  part swap --size 100
  part /swapfil --size 100
 part /usr --size 200 --grow --maxsize 800 
  part /tmp --size 100
 part /export --size 200 --grow --maxsize 15000

 now, hda1 is /

the trick is that sorting by size is based on --size (doesn't look at
--grow/--maxsize), so you could specify sizes you want this way. 
 for even more fun, manipulating your disk this way you'll loose
accuracy on sizes, there was a bug reported on --maxsize.

versions used 6.1, 6.1.92
vil.


[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> I like the kickstart tool very much - but I searched in vain
> in the archive for the following problem:
> 
> - kickstart sorts the partitions according size. It starts
>   with the largest one. So I have to repartion afterwards to
>   boot the machine :-(
>   How can I partition in the order I put into the Kickstart file?
> 
> - postinstall commands always fail, because a /bin/sh command is
>   not found.
> 
> I use redhat 6.1 (Halloween Distribution) kernel 2.2.13-12
> 
> Any help would be greatly appreciated.
> 
> Gerd
> 
> --
> To unsubscribe:
> mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to