Seite 1 von 1

Trouble with Netboot products

Verfasst: 24 Mär 2016, 13:53
von Blaubär
Hello,

I've been making great use of your client for localboot products.

The problem I have is with netboot products.
I have no idea where to start when I want to deploy something new. I was looking at Hiren's or Kasperky Rescue Disk for example (Windows Deployments work fine(thanks!!)).

One of the problems I run in to is the startup script when making the package.

When I do fill it in: https://i.imgur.com/svPFobx.png

He can't find it: https://i.imgur.com/mYOveuR.png

When I don't: https://i.imgur.com/M0RKyoa.png I can't install it.


I've made a path SERVER_DATA/tftpboot/linux/pxelinux.cfg and SERVER_DATA/tftpboot/linux/hirens/hirens.iso

I've populated SERVER_DATA/tftpboot/linux/pxelinux.cfg with a new file called 'hirens' and populated it with:

Code: Alles auswählen

LABEL hirens 
  kernel hirens/memdisk
  append iso initrd=hirens/Hiren's.BootCD.15.2.iso raw
I'm stuck. Does anyone have some tips? Looking at the wiki doesn't help me either. This area is not my expertise, but manglement management wants me to do this.
Thank you in advance,


Blaubeer.

p.s. Not German despite my name :P

Re: Trouble with Netboot products

Verfasst: 24 Mär 2016, 14:48
von ueluekmen
Hi,

building netboot-packages are not the same how you build localboot-products.

A good way to learn, how it works is to pick up a standard netbootpackage from us open it and look in it:

opsi-package-manager -x blabla.opsi

This will extract the opsi-package to its source. Then you have to look in the control-File under the OPSI Directory. I don't think that the opsi-packageBuilder supports building netboot-Packages.

You can also look in the WIKI for examples.

Then you have to look how big your iso is. If you want to publish the iso over tftp, you have to check the filesize ;)

We can help you to build a netboot-package over an professional supportcontract.

regards
erol

Re: Trouble with Netboot products

Verfasst: 24 Mär 2016, 15:16
von Blaubär
Thanks for your response!
I don't think that the opsi-packageBuilder supports building netboot-Packages.
AFAIK not entirely. I used it as an example because opsi-newprod also asks for setupscript parameters. I don't know what to write there.

I'll have another go at extracting a package and looking how it works. The wiki gives me great information for localboot products but less so for netboot products.
The filesize is a good one, I didn't think of that. The wiki talks about AVG and SystemRescue CD and I think both are over 200MiB.

Re: Trouble with Netboot products

Verfasst: 24 Mär 2016, 15:52
von m.radtke
Hi,

take a look at the debian8 or ubuntu-14_04 products
Within these procuts the initrd and kernel are downloaded onto a partition created by the bootimage. The bootimage then uses kexec to boot the ubuntu or debian kernel

Cheers
Mathias