Hi,

   I am trying to customize the b113 distribution miniroot to set it up for 
jumpstart support  per the instructions provided in "GRUB AND THE SOLARIS? 
OPERATING SYSTEM ON X86 PLATFORMS - A GUIDE TO CREATING A CUSTOMIZED BOOT DVD" 
document (excerpt is below).  However, when we try to do Step 2 and update the 
profind file to pick up our jumpstart settings, we can't edit the file.  It 
doesn not appear to be a text file in this distribution, though it was in our 
previous distribution of OpenSolaris (shows up as "data" when we run the 
Solaris "file" command on it).

I did search around this forum and the web in general, but it looks like all 
references to this file indicate that I should be able to edit it.  Did 
something change?  Is there another way to customize the miniroot jumpstart 
settings?  

Thanks in advance!    


Example 1?Setting Up for Jumpstart
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
}
These are normally all the modifications that you need to make to the miniroot 
in order to set up a custom Jumpstart. However, if you want to perform a flash 
install, then you need to be aware of the following bug
-- 
This message posted from opensolaris.org

Reply via email to