免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1793 | 回复: 1
打印 上一主题 下一主题

Operating System Installation from network [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-27 10:35 |只看该作者 |倒序浏览
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.

/usr/sbin/share -F nfs -o ro,root=host1,host2 /disk4/solaris8

We can use anon=0 instead of root= but do not use the mount parameters like nosub or ro=host1

Add clients
winyah# cd /disk4/solaris8/Solaris_8/Tools
winyah# ./add_install_client -s winyah:/disk4/solaris8 host1 sun4u

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.

论坛徽章:
0
2 [报告]
发表于 2003-06-27 10:36 |只看该作者

Operating System Installation from network

其中的 挂iso文件的方法,应该是比较实用的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP