Installation d'une NeXT via le Net et un CDROM

Des cubes et des boites à pizzas noires

Modérateur : Politburo

Répondre
Avatar du membre
emond
Fonctionne à 1200 bauds
Fonctionne à 1200 bauds
Messages : 458
Enregistré le : 15 févr. 2007 22:10
Localisation : Yvelines
Contact :

Installation d'une NeXT via le Net et un CDROM

Message par emond »

Comme il est impossible de démarrer une NeXT cube ou station standard (c'est à dire non TURBO) sans un magnéto-optique ou un lecteur de disquette.

J'ai essayé ce jour de faire une installation (pour le fun, car j'ai des lecteurs de disquettes) a partir du réseau !

J'ai choisi d'employer une distribution Linux assez conviviale, c'est à dire Ubuntu 7.10. J'ai installé les serveur tftp et bootp.

soit en root (c'est mon cas) soit via sudo :
apt-get install tftpd
et
apt-get install bootp

Créer un répertoire /tftpboot et lui donner les droits :
en root
mkdir /tftpboot
chmod 777 /tftpboot
y copier le fichier de boot qui provient du CDROM NeXTStep :
56 -rwxrwxrwx 1 root root 49812 2008-02-09 17:41 boot-cdrom


En suite il faut activer les services dans xinetd :
/etc/xinetd.d/tftp :
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = root
log_on_success += USERID
log_on_failure += USERID
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}

et

/etc/xinetd.d/bootps :
service bootps
{
protocol = udp
port = 67
socket_type = dgram
wait = yes
user = root
log_on_success += USERID
log_on_failure += USERID
server = /usr/sbin/bootpd
server_args = -i -t 120 -d 4
disable = no
}

ne pas oublier de configurer /etc/bootptab :

# /etc/bootptab: database for bootp server (/usr/sbin/bootpd)
# Blank lines and lines beginning with '#' are ignored.
#
# Legend: (see bootptab.5)
# first field -- hostname (not indented)
# bf -- bootfile
# bs -- bootfile size in 512-octet blocks
# cs -- cookie servers
# df -- dump file name
# dn -- domain name
# ds -- domain name servers
# ef -- extension file
# gw -- gateways
# ha -- hardware address
# hd -- home directory for bootfiles
# hn -- host name set for client
# ht -- hardware type
# im -- impress servers
# ip -- host IP address
# lg -- log servers
# lp -- LPR servers
# ns -- IEN-116 name servers
# ra -- reply address
# rl -- resource location protocol servers
# rp -- root path
# sa -- boot server address
# sm -- subnet mask
# sw -- swap server
# tc -- template host (points to similar host entry)
# td -- TFTP directory
# to -- time offset (seconds)
# ts -- time servers
# vm -- vendor magic number
# Tn -- generic option tag n
#
# Be careful about including backslashes where they're needed. Weird (bad)
# things can happen when a backslash is omitted where one is intended.
# Also, note that generic option data must be either a string or a
# sequence of bytes where each byte is a two-digit hex value.
#
#
#
# Pour tester une installation par le réseau
#
#
nextstep31:\
sa=192.168.0.11:\
sm=255.255.255.0:\
ds=192.168.0.1:\
gw=192.168.0.1:\
ht=ethernet:\
hd=/tftpboot:\
bf=boot-cdrom:\
vm=auto:
#
#
nextstation:\
ha=00000F00B1E0:\
ip=192.168.0.50:\
vm=auto:\
tc=nextstep31:

ici la station a comme MAC adresse 00:00:0F:00:B1:E0 (mettre la votre, visible apres un [command] et [~]
et je lui donne l'adresse IP (locale) 192.168.0.50
le fichier de boot c'est boot-cdrom
192.168.0.11 c'est l'adresse du serveur tftp ou il y a le fichier boot-cdrom !

Une fois tous ces réglages terminés vous pouvez lancer l'installation en appuyant simultanément sur [command] et [~] pour basculer en mode moniteur. Et, lancer l'installation en tapant : ben

Bonne installation !

vous pouvez consulter les log :

clear;tail -f /var/log/syslog

Feb 10 01:16:39 localhost bootpd[7440]: bootptab mtime: Sun Feb 10 00:49:32 2008
Feb 10 01:16:39 localhost bootpd[7440]: request from Ethernet address 00:00:0F:00:B1:E0
Feb 10 01:16:39 localhost bootpd[7440]: found 192.168.0.50 (nextstation)
Feb 10 01:16:39 localhost bootpd[7440]: requested path="" file="boot"
Feb 10 01:16:39 localhost bootpd[7440]: bootfile="/tftpboot/boot-cdrom"
Feb 10 01:16:39 localhost bootpd[7440]: vendor magic field is 78.101.88.84
Feb 10 01:16:39 localhost bootpd[7440]: sending reply (with no options)
Feb 10 01:16:39 localhost bootpd[7440]: setarp 192.168.0.50 - 00:00:0F:00:B1:E0
Feb 10 01:16:39 localhost tftpd[7461]: tftpd: trying to get file: /tftpboot/boot-cdrom
F
Répondre

Retourner vers « NeXT »