James Cammarata wrote:
> Ok, here is what I had to do to get your profile to RIS:
>   

Let's take this discussion over to the devel list.

RIS is not going to be a 1.6 feature, so we are probably looking at 
minimum 6 weeks before this is released.

--Michael


> 1) The kickstart specified in the profile is a Red Hat kickstart:
> /etc/cobbler/default.ks.  Change this with the following command:
>
> "cobbler profile edit --name=WindowsXP-i386
> --kickstart=/var/lib/cobbler/kickstarts/winxp-default.sif"
>
> And sync:
>
> "cobbler sync"
>
> To create all the correct files.  Currently the default kickstart is used,
> which is the default.ks on a new installation.  If you want all new windows
> profiles/systems to use the .sif file above, specify that in
> /etc/cobbler/settings and re-sync.
>
>
> 2) Verify that either the directory holding the imported Windows files in
> /var/www/cobbler/ks_mirror is named WindowsXP-i386, or you have created a
> symlink to it in that same directory.  For example, my profile is named
> winxp-i386 and my imported folder is winxp, so my ks_mirror/ directory
> looks like this:
>
> # ll /var/www/cobbler/ks_mirror/
> total 40
> drwxr-xr-x 8 apache root 4096 Jun 18  2008 centos5.2-i386
> drwxr-xr-x 2 apache root 4096 Mar 13 06:32 config
> drwxr-xr-x 7 apache root 4096 Mar 13 06:38 F10-i386
> lrwxrwxrwx 1 root   root    5 Mar 16 19:45 WindowsXP-i386 -> winxp
> dr-xr-xr-x 8 root   root 4096 Mar 15 23:05 winxp
> lrwxrwxrwx 1 root   root   32 Mar 15 23:36 winxp-i386 ->
> /var/www/cobbler/ks_mirror/winxp
>
> Note that I created a symlink for your profile name too.  This is noted in
> my "pitfalls" section on the RIS wiki page, and could most likely be
> avoided by changing the .SIF (kickstart) file to NOT use the full profile
> name.  Instead, it should figure out the directory named probably based on
> the location of the kernel/initrd files (setupldr/startrom for windows).
>
>
> 3) Verify that you have bind-mounted the folder in ks_mirror (the real one,
> not the symlinked one) to a directory in the TFTP root.  For example, my
> TFTP root is /tftpboot, and the profile is named WindowsXP-i386, so I
> executed the following commands:
>
> # mkdir /tftpboot/WindowsXP-i386
> # mount --bind /var/www/cobbler/ks_mirror/winxp /tftpboot/WindowsXP-i386
>
>
> After doing these three things, I was able to pxe a windows vm with no
> issues.
>
>
> On Mon, 16 Mar 2009 09:59:04 -0500, "Anu Ramachandra"
> <[email protected]> wrote:
>   
>> Thanks for working on this.
>>
>> Attached are the files - first one is the output of 'cobbler profile
>> report --name=WindowsXP-i386'
>> The second file is /var/lib/cobbler/config/profiles.d/WindowsXP-i386.
>>
>> Thanks,
>> Anu
>>
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of James
>> Cammarata
>> Sent: Friday, March 13, 2009 7:11 AM
>> To: cobbler mailing list
>> Subject: Re: Window install with Cobbler 1.7
>>
>>
>> On Thu, 12 Mar 2009 14:34:20 -0500, "Anu Ramachandra"
>> <[email protected]> wrote:
>>     
>>> Hello,
>>>
>>> I am setting up Windows install with cobbler 1.7. In the pxe menu,
>>>       
>> when
>>     
>>> I select the Windows option, nothing happens. 
>>> Please suggest where I should start looking to debug this?
>>>
>>> 'cobbler distro report --name=WindowsXP-i386' returns - 
>>>
>>>  distro               : WindowsXP-i386
>>> architecture         : i386
>>> breed                : windows
>>> created              : Tue Mar 10 14:55:10 2009
>>> comment              : 
>>> initrd               :
>>> /var/www/cobbler/ks_mirror/WindowsXP-i386/i386/setupldr.ex_
>>> kernel               :
>>> /var/www/cobbler/ks_mirror/WindowsXP-i386/i386/startrom.n1_
>>> kernel options       : {}
>>> ks metadata          : {}
>>> tree build time      : Wed Dec 31 18:00:00 1969
>>> modified             : Tue Mar 10 14:55:10 2009
>>> mgmt classes         : []
>>> os version           : 
>>> owners               : ['admin']
>>> post kernel options  : {}
>>> redhat mgmt key      : <<inherit>>
>>> redhat mgmt server   : <<inherit>>
>>> template files       : {}
>>>
>>> Thanks!
>>> Anu
>>>
>>> _______________________________________________
>>> cobbler mailing list
>>> [email protected]
>>> https://fedorahosted.org/mailman/listinfo/cobbler
>>>       
>> If you'd like, I can try and help you with this, but like Michael said
>> this
>> is pretty much for developers only right now.  It is not stable enough
>> or
>> robust enough for general usage, and I definitely would not recommend
>> trying to use this for any production purposes.
>>
>> But, saying that, if you'd like to help debug this, I'd be more than
>> happy
>> to help you out off list.  We have decided not to release this with 1.6
>> yet, so it will remain available in the devel branch only.
>>
>> Execute the following as well:
>>
>> cobbler profile report --name=WindowsXP-i386
>>
>> And if you could send me the file
>> /var/lib/cobbler/config/profiles.d/WindowsXP-i386 as an attachment, that
>> would allow me to test the exact object you are using.
>>
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> _______________________________________________
>> cobbler mailing list
>> [email protected]
>> https://fedorahosted.org/mailman/listinfo/cobbler
>>     
>
>   

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to