This Jumpstart uses dhcp PXE boot process, assuming you have your MB LAN ROM enabled in the bios and set in the boot priority before the cdrom and HD. I # sh -x ./dhcp2.sh SERVER=192.168.1.7 INSTALL_BASE=/zfs1/install SERVER=192.168.1.8 CLIENT=192.168.1.24 HOSTNAME=server24 MAC=0:1d:7d:e6:b6:16 PXEMAC=01001D7DE6B616 OS=Solaris_11 REL=snv_b104 + export INSTALL_BASE SERVER HOSTNAME CLIENT MAC PXEMAX OS REL # 1. Mount dvd iso image mount -F hsfs -o ro `lofiadm -a /zfs1/image/sol-nv-b104-x86-dvd.iso` /zfs1/insta ll/dvd ##2. create the jumpstart profile directory in my case /zfs1/install/jumpstart # 2. vi /etc/dfs/dfstab you can add the two following share lines. share -F nfs -o ro,anon=0 -d "home dirs" /zfs1 share -F nfs -o ro,anon=0 -d "home dirs" /tftpboot shareall share # 3. Create add_install_client out_file=/tftpboot/menu.lst.01001D7DE6B616 + /zfs1/install/snv_b104/Solaris_11/Tools/add_install_client -d -e 0:1d:7d:e6:b6:16 -s 192.168.1.8:/zfs1/install/snv_b104 -c 192.168.1.8:/zfs1/install/jumpstart -p 192.168.1.8:/zfs1/install/jumpstart -t /zfs1/install/snv_b104/boot i86pc /zfs1 is already shared. However, the zfs file system /zfs1 must be shared read-only with root access. Use the "zfs set" command to set the sharenfs property for file system /zfs1 as follows: Use ro and anon=0 for /zfs1. This must be fixed and /zfs1 shared before 0:1d:7d:e6:b6:16 can boot. cleaning up preexisting install client "0:1d:7d:e6:b6:16" To disable 0:1d:7d:e6:b6:16 in the DHCP server, remove the entry with Client ID 01001D7DE6B616
# 4. Macros to configureenable PXE boot by creating dhcp entries. a macro named 01001D7DE6B616 with: Boot server IP (BootSrvA) : 192.168.1.8 Boot file (BootFile) : 01001D7DE6B616 + dhcpconfig -S -d DHCP server disabled. DHCP server shutdown. + dhcpconfig -U -f -x -h DHCP server not running. Deleted the server macro from dhcptab. Deleted table for network 192.168.1.0. Deleted the dhcptab. Deleted the DHCP configuration file. + dhcpconfig -D -r SUNWfiles -p /var/dhcp -h files Created DHCP configuration file. Created dhcptab. Added "Locale" macro to dhcptab. Added server macro to dhcptab - unknown. DHCP server started. + dhcpconfig -N 192.168.1.0 -m 255.255.255.0 -t 192.168.1.1 -g Added network macro to dhcptab - 192.168.1.0. Created network table. + dhcpconfig -S -r DHCP server shutdown. DHCP server started. + dhtadm -A -s SrootIP4 -d Vendor=SUNW.i86pc,2,IP,1,1 + dhtadm -A -s SrootNM -d Vendor=SUNW.i86pc,3,ASCII,1,0 + dhtadm -A -s SrootPTH -d Vendor=SUNW.i86pc,4,ASCII,1,0 + dhtadm -A -s SinstIP4 -d Vendor=SUNW.i86pc,10,IP,1,1 + dhtadm -A -s SinstNM -d Vendor=SUNW.i86pc,11,ASCII,1,0 + dhtadm -A -s SinstPTH -d Vendor=SUNW.i86pc,12,ASCII,1,0 + dhtadm -A -s SsysidCF -d Vendor=SUNW.i86pc,13,ASCII,1,0 + dhtadm -A -s SjumpsCF -d Vendor=SUNW.i86pc,14,ASCII,1,0 + dhtadm -A -s SbootURI -d Vendor=SUNW.i86pc,16,ASCII,1,0 + dhtadm -A -s BootFile -d Vendor=SUNW.i86pc,16,ASCII,1,0 + dhtadm -A -s BootSrvA -d Vendor=SUNW.i86pc,16,ASCII,1,0 + dhtadm -A -m PXEClient:Arch:00000:UNDI:002001 -d :BootFile=SUNW.i86pc:BootSrvA=192.168.1.8: + dhtadm -A -m 01001D7DE6B616 -d:SinstNM=unknown: + dhtadm -M -m 01001D7DE6B616 -eSinstIP4=192.168.1.24 + dhtadm -M -m 01001D7DE6B616 -eSinstPTH=/zfs1/install/snv_b104 + dhtadm -M -m 01001D7DE6B616 -eSrootNM=unknown + dhtadm -M -m 01001D7DE6B616 -eSrootPTH=/zfs1/install/snv_b104/boot + dhtadm -M -m 01001D7DE6B616 -eBootFile=nbp.01001D7DE6B616 + dhtadm -M -m 01001D7DE6B616 -eSbootURI=tftp://192.168.1.24/01001D7DE6B616 + dhtadm -M -m 01001D7DE6B616 -eSjumpsCF=192.168.1.24:/zfs1/install/jumpstart + dhtadm -M -m 01001D7DE6B616 -eSsysidCF=192.168.1.24:/zfs1/install/jumpstart + pntadm -A 192.168.1.24 -c server24 -f PERMANENT -i 01001D7DE6B616 -m 01001D7DE6B616 192.168.1.0 # 5. setup the auto install from -m kernel option and turn on verbose. + cp /tftpboot/menu.lst.01001D7DE6B616 /tftpboot/menu.lst.01001D7DE6B616.tmp + sed s/unix/unix -rv -m verbose install/g /tftpboot/menu.lst.01001D7DE6B616.tmp + cat /tftpboot/menu.lst.01001D7DE6B616 default=0 timeout=30 min_mem64 1024 title Solaris_11 Jumpstart kernel$ /I86PC.Solaris_11-1/platform/i86pc/kernel/$ISADIR/unix -rv -m verbose install -B install_config=192.168.1.8:/zfs1/install/jumpstart,sysid_config=192.168.1.8:/zfs1/install/jumpstart,install_media=192.168.1.8:/zfs1/install/snv_b104,install_boot=192.168.1.8:/zfs1/install/snv_b104/boot module$ /I86PC.Solaris_11-1/$ISADIR/x86.miniroot # 6. Reset the dhcp server + dhcpconfig -S -r DHCP server started. # 7. Display the dhcp server configuration. + dhtadm -P Name Type Value ================================================== 01001D7DE6B616 Macro :SinstNM="unknown":SinstIP4=192.168.1.24:SinstPTH="/zfs1/install/snv_b104":SrootNM="unknown":SrootPTH="/zfs1/install/snv_b104/boot":BootFile="nbp.01001D7DE6B616":SbootURI="tftp://192.168.1.24/01001D7DE6B616":SjumpsCF="192.168.1.24:/zfs1/install/jumpstart":SsysidCF="192.168.1.24:/zfs1/install/jumpstart": PXEClient:Arch:00000:UNDI:002001 Macro :BootFile=SUNW.i86pc:BootSrvA=192.168.1.8: 192.168.1.0 Macro :Subnet=255.255.255.0:Router=192.168.1.1:Broadcst=192.168.1.255: unknown Macro :Include=Locale:Timeserv=192.168.1.8:LeaseTim=86400:LeaseNeg:DNSdmain="rochester.rr.com":DNSserv=192.168.1.1: Locale Macro :UTCoffst=-18000: BootSrvA Symbol Vendor=SUNW.i86pc,16,ASCII,1,0 BootFile Symbol Vendor=SUNW.i86pc,16,ASCII,1,0 SbootURI Symbol Vendor=SUNW.i86pc,16,ASCII,1,0 SjumpsCF Symbol Vendor=SUNW.i86pc,14,ASCII,1,0 SsysidCF Symbol Vendor=SUNW.i86pc,13,ASCII,1,0 SinstPTH Symbol Vendor=SUNW.i86pc,12,ASCII,1,0 SinstNM Symbol Vendor=SUNW.i86pc,11,ASCII,1,0 SinstIP4 Symbol Vendor=SUNW.i86pc,10,IP,1,1 SrootPTH Symbol Vendor=SUNW.i86pc,4,ASCII,1,0 SrootNM Symbol Vendor=SUNW.i86pc,3,ASCII,1,0 SrootIP4 Symbol Vendor=SUNW.i86pc,2,IP,1,1 # -- This message posted from opensolaris.org