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
cdrecord [dev=bus#,dev#] -data ADISK/bootcd.iso
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
).
~/ADISK/bootcd.iso
.
/dev/hdc
(second IDE controller, primary device) by default.
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]
TOOLS/modules/README
.INITDEV
for CD-Rom boots (default is "hdc
").booting from CDROM/FDD
' enabled?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.
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.
~/Ai386/i386
-Folder~/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.
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 :-).
C:\xpsp2\
).C:\xp\
).cd \xpsp2
),
and typexpsp2.exe /integrate:C:\xp
You can also integrate hotfixes from Microsoft which is described for Win2k here.
^ top