cedric briner wrote:
> Dave Miner wrote:
>> cedric briner wrote:
>>> Hello,
>>>
>>> I'm giving a try to opensolaris. So I've downloaded the 6 iso images.
>>>
>>> For Convenience, instead of burning all the CDs, I've just burn the 
>>> first one and try to make an solaris *repository* on my linux box.
>>>
>>> This solaris'repository was made by successively copying the 6 iso 
>>> images (whom was mount like: mount -t iso9660 -o loop) into one 
>>> directory.
>>>
>>> #/bin/bash
>>> #/media/opensolaris-11/57/* holds all the mount -t iso9660 -o loop
>>>
>>>   for file in /media/opensolaris-11/57/* ;
>>>     cp -dR file ./
>>>     find ./ ! -perm  /u=w -ls -exec chmod u+w {} \;
>>>   done
>>>
>>>
>>> And now, I'm in a state where the opensolaris installation ask me for:
>>> [ ] CD/DVD
>>> [x] Network File System
>>>
>>> after choosing NFS, it asks me for the NFS location:
>>>
>>> <nfs_server>:/path_to_Solaris_11/
>>>
>>> but it keeps on telling me :``ERROR: The directory you specified does 
>>> not contain a valid Solaris OS Image''
>>>
>>> I've mounted it successfully from a terminal in the opensolaris 
>>> installation, just to check if my <nfs_server>:/path_to_Solaris_11 
>>> whas working.... and it works
>>>
>>>
>>> if I do a ``ls -1'' of what is under ../Solaris_11
>>> Docs
>>> ExtraValue
>>> Misc
>>> Patches
>>> Product
>>> Tools
>>>
>>>
>>> any idea on how I can achieve this ?
>>>
>>
>> The path you supply must be the root of the image with a "Solaris_11" 
>> directory under it and a whole load of hidden files which provide 
>> other info the installer needs.  For example, the netinstall area for 
>> snv_58 on our lab server looks like:
>>
>> # ls -la /export/install/nv/x/latest
>> total 944
>> drwxr-xr-x   6 root     root          20 Feb 15 05:35 .
>> drwxr-xr-x  50 root     root          51 Feb 15 05:28 ..
>> -r--r--r--   1 root     root          87 Feb  7 13:17 .cdtoc
>> -rw-r--r--   1 root     root           0 Feb 15 05:35 .done
>> drwxr-xr-x   5 root     root           7 Feb 15 05:28 .install
>> lrwxrwxrwx   1 root     root          33 Feb 15 05:27 .install_config 
>> -> ./Solaris_11/Misc/.install_config
>> -r--r--r--   1 root     root         419 Feb  7 13:17 .slicemapfile
>> -r--r--r--   1 root     root          15 Feb  7 13:17 .volume.inf
>> -r--r--r--   1 root     root          22 Feb 12 14:53 .volume.inf.1
>> -r--r--r--   1 root     root          22 Feb 12 14:54 .volume.inf.2
>> -r--r--r--   1 root     root          17 Feb 12 14:50 .volume.inf.3
>> -r--r--r--   1 root     root          17 Feb 12 14:51 .volume.inf.4
>> -r--r--r--   1 root     root          17 Feb 12 14:51 .volume.inf.5
>> -r--r--r--   1 root     root          17 Feb 12 14:52 .volume.inf.6
>> -r--r--r--   1 root     root        6.7K Feb  7 13:17 Copyright
>> -r--r--r--   1 root     root        449K Feb  7 13:17 
>> JDS-THIRDPARTYLICENSEREADME
>> drwxr-xr-x   2 root     bin            3 Feb 15 05:27 License
>> drwxr-xr-x   8 root     root           8 Feb 15 05:28 Solaris_11
>> drwxr-xr-x   4 root     sys            6 Feb 15 05:28 boot
>> -rwxr-xr-x   1 root     root         257 Feb 12 14:52 installer
>>
>> and "/export/install/nv/x/latest" is the path you'd supply to the 
>> installer.
>>
>> Dave
> 
> ok.. but still not work.
> Is there a special way to create this nfs location from the opensolaris 
> CDs.
> 

On Solaris, you run Solaris_11/Tools/setup_install_server from the first 
CD, then Solaris_11/Tools/add_to_install_server from each subsequent CD. 
  They're just scripts that you can take a look at to see how it's done. 
  Generally it's less trouble to use the DVD image for this purpose, 
because then it's just a single setup_install_server that's needed and 
none of the special merging that the add_to_install_server script does 
for the product metadata is necessary (I suspect that's the problem 
that's tripping you up here).

Dave

Reply via email to