> Hi
Hi!
>I´m starting to use unattended on a SME7.x server (forums.contribs.org) and
>have it almost working (install ok, dealing with small details now).
>But I´m looking to have it working with PXE and this setup is not very well
>explained so here is my tip: show what to copy to where to PXE boot. I
>think be able to do unattended from PXE is a REALLY killing feature.
I think the reason it's not documented is that the actual implementation
depends on the specifics of the PXE server software you use. You need the
bzimage and the initrd supplied with unattended on your PXE server and then
configure the PXE server to make it available. Here's the relevant lines from
my pxelinux.cfg file on my PXE server, but yours will likely differ:
label utendl4.8
kernel utendl4.8/bzImage
append initrd=utendl4.8/initrd
>The other problem I have is with \\ntinstall\install default to Z_PATH:
>I´d like to change it: but cannot find where to change it.
>Have found it´s inside /etc/master file on live PXE boot... find it on
>bootdisk/template/autoexec.bat and on install/bin/mapznrun.bat but do not
>can it changed on my PXE boot. I think after change it on
>templates/autoexec.bat I should regenerate templates and tftpboot should
>get a new memdisk (or other new file) to reflect new Z_PATH config... but I
>see nothing changing even after a full "make".
>Could you help me to change that or it´s SO HARD CODED I cannot change it ?
There are a few ways to do this. I decided I didn't like to pass the variables
through PXE (and had trouble getting it to work, anyway) so I decided to
hard-code it into /etc/master - here's a copy of my documentation on how to
edit the initrd:
unpack existing initrd file using:
cat initrd | (cpio -i -d -m ; cpio -i -d -m)
change the files as required (this is where you could edit /etc/master to
specify the variables)
repack the image using (with current working directory as the root of the
unpacked image):
find . | cpio -o -H newc -O ../initrd
However this new image is missing /dev
To add it to the image you need devices.txt and mknod-cpio.pl from the
unattended CVS (you need to chmod mknod-cpio.pl to make it executable)
Edit devices.txt to remove all blank lines and all comment lines
./mknod-cpio.pl < devices.txt > devices.cpio
This will create a devices.cpio file, then:
cat devices.cpio >> initrd
to add the devices to the initrd image.
Steven Blackery
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info