This page gives a Quickstart installation guide for prepareing and using ANI.
^ topI386
directory from a MS Windows 2000 resp. XP installation CD to ~/Ai386/i386
. Patch the i386
content with the recent service pack, if needed. For this purpose have a look in ~/Ai386/i386/CONTENT
for further details.~/Ai386/i386/$OEM$/$1/install/ActiveP.msi
with the original ActiveState Perl 5.6.1.638 msi file. You can obtain the original msi file from ActiveState. IMPORTANT: Rename the original msi file to 'ActiveP.msi' before the replacement (like the dummy file).~/Ai386/ani/unattend.tpl
: Replace the <ProductId> dummy with your Windows 2k/XP Id.~/Ai386/i386/$OEM$/$1/PNP
and its subfolders.Ai386
and APACK
with SMB.Ai386
and APACK
.
useradd -d /dev/null -b /bin/false hanswurst
smbpasswd -a hanswurst
smb.conf
-- snip -- [Ai386] path = /shared/ANI/Ai386 browsable = true read only = Yes valid users = hanswurst, @admins write list = @admins guest ok = No [APACK] path = /shared/ANI/APACK browsable = true read only = Yes valid users = hanswurst, @admins write list = @admins guest ok = No -- snip --
chown -R smbrun:nogroup /shared/ANI/Ai386 /shared/ANI/APACK
chmod -R 750 /shared/ANI/Ai386 /shared/ANI/APACK
Ai386
and APACK
Ai386
and APACK
.encrypt.exe
" (Win32) or "encrypt
" (Linux, ELF) located in the ~/TOOLS
directory.adrv354ggsdgs433
(case sensitive!). You may change this as soon as we manage to publish the sources...
c:>encrypt.exe
Please enter key (16 characters): adrv354ggsdgs433
Please enter password (max. 16 characters): honolulu23
Encrypted password: /IQr8qqEB4hr3JqlK0TTPg==
dhcpcd.conf
-- snip -- # Option definitions common to all supported networks... option domain-name "substring.ch"; option domain-name-servers 192.168.2.1; option netbios-name-servers 192.168.2.1; option netbios-node-type 8; # User defined options option ani-domain-name code 201 = text ; option ani-install-share code 202 = text ; option ani-packages-share code 203 = text ; option ani-installer-password code 204 = text ; option ani-installer-account code 205 = text ; subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.128 192.168.2.252; option routers 192.168.2.1; option ani-domain-name "ou=computers,dc=substring,dc=ch" ; option ani-install-share "\\\\server1\\Ai386" ; option ani-packages-share "\\\\server1\\APACK" ; option ani-installer-password "MlEhFkH1JMsrhIzUAxieMg==" ; option ani-installer-account "hanswurst" ; } -- snip --
Name: Data type: Code: Description: ani-domain-name string 201 Domain to Join ani-install-share string 202 Installation share ani-packages-share string 203 Software package share ani-installer-password string 204 Installer password ani-installer-account string 205 Installer AccountIn the next step choose a scope and there 'scope options'. Make a right click in the right field and choose 'Configure options...'. Under the 'general'-tab activate the options 201..205 and fill in following values:
option: Value (example): 201 ou=computers,dc=substring,dc=ch 202 \\YourServerName\Ai386 203 \\YourServerName\APACK 204 MlEhFkH1JMsrhIzUAxieMg== 205 hanswurstRepeat this procedure for every scope you want to be affected.
fdformat /dev/fd0u1440
(to make sure the floppy is ok)
dd if=ADISK/bootdisk.img of=/dev/fd0 bs=10k
- CD-Rom:
-
cdrecord [dev=bus#,dev#] -data ADISK/bootcd.iso
- If you use Windows:
-
- Floppy disk:
-
You're welcome to use our tool "
AniDisk.exe
", located in ~/ADISK
, for writing the floppy disk! With AniDisk.exe
you have the possibility to change the default configuration on the bootdisk (see ~/CONFIGURE
).
- CD-Rom:
-
Almost any CD-Rom burn software should be able to burn the Boot-CD-image
~/ADISK/bootcd.iso
.
- Make some coffee.
- Make sure you're not going to update the wrong PC.
- Start the installation:
-
If you boot from floppy-disk, the drive should be auto detected. Just press enter on the bootprompt.
-
If you boot from CD-Rom, ANI tries to mount from
/dev/hdc
(second IDE controller, primary device) by default.
You may change this behavior by adding 'INITDEV=hd<xy>
' at the boot prompt. (IDE0,master=hda; IDE0,slave=hdb; IDE1,master=hdc; IDE1,slave=hdd; a.s.o)
In this case you will also have to specify a boot label. Defined boot labels are 'new' and 'update'.
For a first installation with ANI the boot label 'new' is mandatory. This is also the default.
In our example with the CD-drive on IDE1/slave, the right prompt at the boot prompt would be:
boot: new INITDEV=hdd [ENTER]
^ top
C - If something goes wrong
- Make sure your network card is supported. Please read
TOOLS/modules/README
.
- Make sure you supplied the proper
INITDEV
for CD-Rom boots (default is "hdc
").
- Check the BIOS settings:
- For the HDD LBA mode should be enabled.
- Is '
booting from CDROM/FDD
' enabled?
^ top
D - Integrate the latest Service Pack
After having done some test installations with ANI,
you should at least upgrade your ~/Ai386/i386
ANI-folder
to the latest Service Pack (SP) available before using ANI productively.
D.1 - Integrate SPs for Windows 2000
- Download the latest SP from Microsoft (let's say SP4)
- A good starting point to get it is here.
Download the SP in the right language and as a "Network Installation", not
as an "Express Installation". Beware: SPs always have size over 100 MB.
- Extract the SP
-
This is done with
W2KSP4_EN.EXE -x
(replace W2KSP4_EN.EXE
with the name of your downloaded Exe).
You are then asked where to extract the files. Let's assume your choice is D:\SP
.
You end up with a D:\SP\i386
folder with around 150 MB of files.
- Slipstream the SP into the
~/Ai386/i386
-Folder
-
Let's assume
~/Ai386
is mapped to G:\
.
Do a D:\SP\i386\update\update.exe -S:G:\
then.
Note that you do not point to the i386
folder directly.
- Clean up
-
Remove the folder
win9xmig
in G:\Ai386\I386
created during the slipstream process. It contains files to upgrade
from a previous Win9x installation, which is never the case with ANI :-).
D.2 - Integrate SPs for Windows XP
- Download the full "Network Install" of the Service Pack (let's say
Windows XP SP 2 english),
and save it to a directory on your HD (eg,
C:\xpsp2\
).
- Copy the contents of your windows XP CD to another folder on your hard drive (eg.
C:\xp\
).
- Open a command prompt, and change to the folder where you downloaded SP2 (eg.
cd \xpsp2
),
and type
xpsp2.exe /integrate:C:\xp
It will expand the service pack, then integrate the files into the directory
you specified, ending with an "Integrated install has completed successfully"
message.
D.3 - Integrate Hotfixes
You can also integrate hotfixes from Microsoft which is described
for Win2k here.
^ top
E - Limitations
- Currently ANI does not support a dynamic activation/registration of XP clients. A solution ist to choose a 'Select' licence. In future releases it's planned to provide the licence keys by a database and to automatize the activation.
- ANIs support of USB FDDs is limited and mostly untested.
- ANI doesn't support dual boot systems, RAIDS, Johns supa dupa special configurated workstation.
- Currently it is only supported to join the Windows client to an Active Directory. NT4 and samba domains will be supported with the next release.
- The usage of user classes, while discovering the DHCP-options is implemented but not tested.