You have to modify the x86 miniroot from the original opensolaris dvd.

mv x86.miniroot x86.miniroot.gz
gunzip x86.miniroot.gz

lofiadm -a /<path>/x86.miniroot

mount /dev/lofi/<nr> /mnt/mrmnt

Modifying the miniroot for Jumpstart normally does not require staging it, as 
you need to make only two 
modifications: 
1. Remove the existing symbolic link from the miniroot, and then place the 
sysidcfg file in /etc. 
      # rm /tmp/mrmnt/etc/sysidcfg 
      # cp sysidcfg /tmp/mrmnt/etc 
2. Modify the boot script (/tmp/mrmnt/usr/sbin/install.d/profind) so that it 
will pick up a 
customized Jumpstart configuration. This involves removing the conditional for 
the existence of  
/tmp/.preinstall: 
      cdrom() 
      { 
          # Factory JumpStart is only allowed with factory 
          # stub images, indicated by the file /tmp/.preinstall 
          # 
          if [ -f /tmp/.preinstall ]; then <----------------------------------- 
Remove this line 
              mount -o ro -F lofs ${CD_CONFIG_DIR} ${SI_CONFIG_DIR} >/dev/null 
2>&1 
      T 
              if [ $? -eq 0 ]; then 
                  verify_config "CDROM" 
              fi 
          fi <----------------------------------------------------------------- 
Remove this line 
      } 

If you goal is to install on different server hardware such as dell  1950 or 
2950 or hp, you will have to add extra drivers to the miniroot. This will 
involve some extra steps since there is not much free space on the miniroot.

The procedure is well documented in the following guide:

GRUB AND THE SOLARISTM 
OPERATING SYSTEM ON X86 
PLATFORMS - A GUIDE TO CREATING 
A CUSTOMIZED BOOT DVD 
John Cecere, Sun Services 
Sun BluePrintsTM OnLine ? August 2006 

You also have to copy the jumpstart configs to /mnt/dvd/.install_config:

rules , rules.ok begin , finish script + profile

for a complete hands off install you will need to setup a derived profile, 
because you cannot gues if the disk will be c0d0 or c0t0d0 or maybe c0d1, so to 
solve this you can use a begin script. You need to add probe disks to the rules 
file

The JumpStart program sets the SI_DISKLIST, SI_DISKSIZES, SI_NUMDISKS, and 
SI_TOTALDISK environment variables which you can use in the begin script

see:
 http://docs.sun.com/app/docs/doc/819-5778/6n7rbgtam?a=view
http://docs.sun.com/app/docs/doc/820-0179/6nbugkooh?a=view

K
 
 
This message posted from opensolaris.org

Reply via email to