标题: Operating System Installation from network [打印本页] 作者: zlp 时间: 2003-06-27 10:35 标题: Operating System Installation from network Solaris 8
Operating System Installation from network
Prepare install server winyah - OS
Create and share disk image of Solaris distribution on winyah.
download Solaris binary: Solaris binaries
unzip
mount iso image as filesystem:
winyah# lofiadm -a /disk4/sol-8-u5-sparc-v1.iso /dev/lofi/1
winyah# mkdir /disk4/sol-8-v1
winyah# mount -F hsfs -o ro /dev/lofi/1 /disk4/sol-8-v1
winyah# lofiadm -a /disk4/sol-8-u5-sparc-v2.iso /dev/lofi/2
winyah# mkdir /disk4/sol-8-v2
winyah# mount -F hsfs -o ro /dev/lofi/2 /disk4/sol-8-v2
winyah# lofiadm -a /disk4/sol-8-u5-install-sparc.iso /dev/lofi/3
winyah# mkdir /disk4/sol-8-install
winyah# mount -F hsfs -o ro /dev/lofi/3 /disk4/sol-8-install
Or we can burn those iso images into cd.
create an install server
winyah# cd /disk4/sol-8-v1/Solaris_8/Tools
winyah# ./setup_install_server /disk4/solaris8
winyah# cd /disk4/sol-8-v2/Solaris_8/Tools
winyah# ./add_to_install_server /disk4/solaris8
winyah# cd /disk4/sol-8-install/s0
winyah# ./modify_install_server /disk4/solaris8 /disk4/sol-8-install/s1
If from cd, use those scripts from cd instead of from hard disk.
If the client need to be installed is in a different subnet, we need create a boot server in that subnet.
winyah# cd /cdrom/cdrom0/Solaris_8/Tools
winyah# ./setup_install_server -b /export/install/boot
winyah# cd /cdrom/cdrom0/Solaris_8/Tools
winyah# ./add_to_install_server /export/install/boot
winyah# cd /cdrom/cdrom0/s0
winyah# ./modify_install_server /export/install/boot /cdrom/cdrom0/s1
Prepare install server winyah - system
Edit file /etc/hosts and /etc/ethers. Make sure the following information about the system to be installed has been added to the name service:
Host name
IP address
Ethernet address
Edit the file /etc/dfs/dfstab.
winyah has 3 IP address in 3 different subnets. Use a different name winyah-ge1 or use IP address instead of winyah.
Install Soalris 8
Boot the machine from the net (press 'stop+a', type 'boot net' after 'ok' prompt or 'boot cdrom' if the machine boots from cdrom.)
Language: English;
Installation: Initial Install;
format: yes;
swap size: 512MB;
...begining of...: yes;
Is this OK: yes;
Networked: networked;
use DHCP: no;
Host Name: xxxxx;
IP Address: xxx.xxx.xxx.xxx;
Netmask: 255.255.255.0;
Enable IPv6: No;
Name Service: DNS;
Domain Name: cse.sc.edu;
Server's IP Address: xxx.xxx.xxx.xxx;
Search Domain: cse.sc.edu;
Default Router: Specifiey one;
Router Address: xxx.xxx.xxx.1;
Georgeophy: United States / Eastern;
Root Password: rootpasswd;
Power Management: off;
Direct to Internet -->; confirm -->;next ;
Media: Network File System;
Type of Install: custom install;
Software Localizations: North America / English(en_us);
Products: Uncheck Europe and Asia documents;
Entire Group -- custom packages. Uncheck the followings:;
Apache Web Server
DHCP Server
Line Printer Support
MP Printer Filter
Mobile IP software
NIS Server for Solaris (root)
NIS Server for Solaris (usr)
Russian 1251 fonts
Solaris User Registration
Thai Partial Locale pkgs
Ingore dependency ;
Manual Layout -- customize
File System Table
Mounted as Size (Mbytes) comment
/ 512 root file system
swap 512 twice the size of physical memory
/usr 1536 usr directory
/var 1024 var spool
/work 5106 unused
Post Installation
Details are in solaris 7 installation and E250 installation.作者: zlp 时间: 2003-06-27 10:36 标题: Operating System Installation from network 其中的 挂iso文件的方法,应该是比较实用的。