- Sätt igång arbetsstationen så att du ser
ethernet-adressen.
- Lägg till ethernet-adressen och datornamnet sist i
/afs/.stacken.kth.se/common/etc/ethers.
- Gör ett nytt entry i
/afs/.stacken.kth.se/common/etc/bootparams som ska se
ut på det här sättet:
datan.stacken.kth.se \
root=unix-arkiv.kth.se:/cdroms/operatingsystem/solaris/sparc/2.7/install/Solaris_2.7/Tools/Boot \
install=unix-arkiv.kth.se:/cdroms/operatingsystem/solaris/sparc/2.7/install \
sysid_config=boot.stacken.kth.se:/export/solaris-config \
install_config=boot.stacken.kth.se:/export/solaris-config \
boottype=in
Du byter lämpligen ut datan mot namnet på maskinen
du vill installera.
-
Eftersom bootparams och ethers ligger i
i en readonly AFS volym så skall den releasas:
/usr/afsws/bin/vos release common -verbose
Om det inte fungerar eftersom du inte har admin rättigheter
så kommer det i alla fall fungera temporärt tills package
uppdaterar filerna på maskinen boot.stacken.kth.se (se nedan).
- Logga in på maskinen boot.stacken.kth.se och se till
att bli root.
- cp /afs/.stacken.kth.se/common/etc/{bootparams,ether}
/etc/
(Dessa kopieras egentligen av package, men det tar ganska lång tid... - se ovan)
- I katalogen /tftpboot finns en massa symlänkar som heter
t.ex. 82EDEAFC.SUN4M. Dessa är ip-adressen omskrivet i
hexadecimal form, följt av "." och arkitekturnamnet. Enklaste
sättet att få reda på vad maskinen vill hämta för fil
är att köra 'snoop ether host datan' på
boot och sedan gå till maskinen man vill installera och skriva
'boot net'. Nånstans bland de allra första paketen som
snoop skriver ut finns den strängen du behöver.
Innehållet är igentligen klientens IP nummer i hex följt av
arkitekturen (130 237 234 motsv 82 ED EA) men för att fövirra
mera så frågar vissa nya Sun PROM bara efter numret utan
arkitektursuffix (.SUN4M), så det är enklast att lyssna istället
för att försöka räkna ut det från början.
- När du väl fått tag i strängen gör du följande på
boot.stacken.kth.se:
cd /tftpboot
ln -s 82EDEAFC.SUN4M inetboot.SUN4M.Solaris_2.7-1
Du måste givetvis byta ut 82EDEAFC.SUN4M mot det
du fick av snoop tidigare...
- Nu kan du gå till maskinen du vill installera och skriva
boot net - install w.
(Flaggan w gör att installationsprogrammet inte drar
igång det grafiska installationsprogrammet, och då går det väldigt
mycket fortare att installera solaris)
- Installationen rullar nu igång...
- Om maskinen inte tidigare hade ett operativsystem på sig måste
du skaffa en /etc/srvtab. Det gör du genom att logga
in som root och skriva:
bash-2.03# /usr/athena/sbin/ksrvutil -p hin.admin get
Name [rcmd]:
Instance [jeanne-d-arc]:
Realm [STACKEN.KTH.SE]:
Is this correct? (y,n) [y]
Add more keys? (y,n) [n]
Password for hin.admin@STACKEN.KTH.SE:
Added rcmd.jeanne-d-arc@STACKEN.KTH.SE
Old keyfile in /etc/srvtab.old.
Om maskinen redan hade ett OS på sig är det meningen att
installationen ska spara den gamla srvtaben, och då behöver du
inte göra det sista steget.