jumpstart not finishing install

Hi,

I'm in the process of installing a jumpstart server using Solaris 10.

It's a bit unique because rather than installing Solaris on the system,

it is supposed to go directly to a post script that restores the

partitions from a backup (Just including for background).

Currently, after doing the "boot net - install" everything goes fine up

until the install begins. The syidcfg file is found and the settings

are used. After determininng locale and setting up the system. Then,

the install begins and I get the following error message:

System Identification is completed.

Starting Solaris installation program...

Searching for JumpStart directory...

not found

Warning: Could not find matching rule in rules.ok

Press the return key for an interactive install program...

I don't understand how the sysidcfg file is found earlier (which is in

a dir in the jumpstart dir) but the install part fails at this part.

Another item to note is that i can hand mount via nfs the jumpstart

dir. It doesn't appear to be a permissioning error. I have searched

everywhere. Please help!!!

The details:

client: Ultra10

jumpstart dir: /jumpstart

sysidcfg file: /jumpstart/config/clientname/sysidcfg

there is an entry in /etc/hosts for the client

Here are the contents of files and command outputs:

-

# share

-/imagesrw,anon=0""

-/jumpstartro,anon=0""

-/export/installro,anon=0""

# ./add_install_client -e 8:0:20:cf:4d:e0 -c jumpstart:/jumpstart -p

jumpstart:/jumpstart/config/client -s jumpstart:/jumpstart client sun4u

output from add_install_client:

updating /etc/bootparams

copying boot file to /tftpboot/inetboot.SUN4U.Solaris_10-1

# more /etc/bootparams

client.example.com

root=jumpstart.example.com:/export/install/sparc_10/Solaris_10/Tools/Boot

install=jumpstart:/jumpstart boottype=:in

sysid_config=jumpstart:/jumpstart/config/client

install_config=jumpstart:/jumpstart rootopts=:rsize=8192

# cd /jumpstart

# ls -l

total 138

-rwxr-xr-x1 rootroot59701 Dec 18 09:46 check

drwxr-xr-x4 rootroot 512 Dec 29 13:36 config

drwxr-xr-x3 rootroot 512 Dec 18 09:41 jumpstart_sample

-rw-r--r--1 rootroot1890 Dec 18 09:45 post_client

-rw-r--r--1 rootroot4818 Dec 18 09:45 rules

-rw-r--r--1 rootroot 72 Dec 18 09:46 rules.ok

# more config/client/sysidcfg

system_locale=en_US

timezone=US/Eastern

terminal=sun-cmd

timeserver=localhost

name_service=none

network_interface=hme0 {hostname=client

default_route=x.x.x.x

ip_address=x.x.x.xx

netmask=255.255.255.0

protocol_ipv6=no}

security_policy=none

Please help! I am stuck!!!

_Kate Wilson

[2971 byte] By [kati_wilsona] at [2007-11-26 14:01:20]
# 1

I think you're trying to do something that you can't with Jumpstart...

What you want to do, as I understand it, is to kick off the jumpstart, but instead of installing the OS, simply bypass that bit and having configured the box simply run a post-install script that will carry out a restore?

If that's the case, then I don't think it will be possible. You would however be able to jumpstart the box, install the OS, then carry out the post install script to do a restore of the filesystems.

I may be wrong, but at the very least what you will need is a rule setup in /jumpstart/rules to define how the box should be setup. The fact that is missing is the reason it's gong to an interactive install.

In theory you should be able to do a boot from the jumpstart server, then run a script to restore the server - that's perfectly possible, but the mechanics of the jumpstart server means that once it's booted it is going to attempt to install the OS regardless and therefore you'll need to either take the extra step and then do the restore at the end (which could still be problematic, as the root filesystem will be mounted at a minimum) or rethink the plan...

smurf4568a at 2007-7-8 1:43:29 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Yous should consider using flash archives for this.man flash_archive should point you in the rigth direction../tony
tonyalbersa at 2007-7-8 1:43:29 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

Thank you for the quick reply (and detailed). I'm actually using a process that has been used before, i think i'm just hung up on this part.

You are correct that some install happens (needs to boot and install something to start going).

Do you have any advice on the specific issue? the not finding the jumpstart directory?

Thanks again!

_Kate

kati_wilsona at 2007-7-8 1:43:29 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4
Hi,So to uncomplicate this, i am now using the sample rules for "any_machine" so the overall purpose is just a simple install :-). it is stilll failing at the same point.any other ideas?(i edited rules and reran ./check).Thanks!
kati_wilsona at 2007-7-8 1:43:29 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5
WAHOO.. it's alive!so the problem was i needed to remove "hostname" and "ipaddress" from the sysidcfg. After that everything went fine.Thanks for all your help!_kate
kati_wilsona at 2007-7-8 1:43:29 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...