- 论坛徽章:
- 7
|
gooutya1 发表于 2014-04-24 17:43 ![]()
kernel /platform/i86pc/multiboot kernel/unix - install dhcp nowin nfs://10.162.116.2/opt/jumpstart/c ...
贴一段几年前完成的x86 PXE solaris 10的安装文档,仅供参考:
Solaris 10u10Jumpstart X86 Installation Procedure
1,prepare for ISO images
Download x86 ISO images from oracle.com
Mount ISO images
# lofiadm -a /export/sun/sol-10-u9-ga-x86-dvd.iso
# mkdir /cd
# mount -F hsfs -o ro /dev/lofi/1 /cd
# cd /cd/Solaris_10/Tools
# mkdir /export/
# ./setup_install_server -b /export/jump
Verifying target directory...
Calculating space required for the installation boot image
Copying Solaris_10 Tools hierarchy...
Copying Install Boot Image hierarchy...
Copying /boot netboot hierarchy...
Install Server setup complete
2, Update system configuration file
Update /etc/hosts
# vi /etc/hosts
1.1.1.1 js #jumpstart server IP
1.1.1.3 v20z #jumpstart Client IP
Update or Make /etc/ethers to resolve the MAC for client OS
# cat /etc/ethers
00:14:4F:0F:A6:14 v20z
3, Enable tftp service
Check the trailing contents of /etc/inetd.conf
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
Run inetconv to convert to SMF service
# mkdir /tftpboot
# inetconv
inetconv: Notice: Service manifest for 100235/1 already generated as /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml, skipped
tftp -> /var/svc/manifest/network/tftp-udp.xml
Importing tftp-udp.xml ...Done
tftp -> /var/svc/manifest/network/tftp-udp6.xml
Importing tftp-udp6.xml ...Done
4, Setup ISC-DHCPD 3.1
Dhcpd is GNU software packages, you can get it from internet freely.
update dhcpd configration file
allow booting;
allow bootp;
option domain-name "private.jtac";
option domain-name-servers 1.1.1.1; #a valid DNS server, given by your ISP
default-lease-time 3600;
max-lease-time 86400;
ddns-update-style none;
subnet 1.1.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
next-server 1.1.1.1;
option routers 1.1.1.1;
host jiagang {
hardware ethernet 00:14:4F:0F:A6:14;
filename "v02z";
fixed-address 1.1.1.3;
}
}
v20z is under the /tftpboot directory
Startup the dhcp deamon
# /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf bge1
5, populate the client jumpstart configration
# cd /cd/Solaris_10/Tools
# ./add_install_client -d -s 1.1.1.1:/cd v20z i86pc
Update the menu.list for GRUB
# cat /tftpboot/boot/grub/menu.lst
default=0
timeout=30
min_mem64 1024
title Solaris_10 cd
kernel$ /I86PC.Solaris_10-1/multiboot kernel/$ISADIR/unix -B install_media=1.1.1.1:/cd,install_boot=1.1.1.1:/cd/boot -v -m install
module$ /I86PC.Solaris_10-1/$ISADIR/x86.miniroot
Tip: "-v -m install" will be taken effect during full automaitic installation.
6, Verify the current status.
# share #confirm the /cd directory is shared
# svcs -a \*tftp\* # confirm the tftp is online
# ps -eaf|grep dhcp # confirm dhcp is online
# ls /tftpboot #confirm the v20z and directory boot exists.
7, boot from network to begin installation.
Reference:
https://support.us.oracle.com/oi ... d=1018925.1&h=Y |
|