Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* DU4.0 automatic installation
@ 1998-01-09  5:00 carmier
  1998-01-16  5:00 ` Steve Grandinetti
  0 siblings, 1 reply; 2+ messages in thread
From: carmier @ 1998-01-09  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]


	Hi,

I have to install 50 DWPS 433 under Digital Unix 4.0.

For these task, I manage to create a floppy with the following files :
	- preinstall
	- install.cdf
	- postload

With that floppy, I'm abble to install a station without being in front of to
answer all the question ( I was hoping ;-( ). But I don't manage the postload
file being run. 

I need to create a kernel without some option ( KDEBUG that make our debugguer
crash the station ) and some specific to our application ( maxusers, semmshl, 
... ).
I also need to copy some principal file ( rc.config, /etc/hosts, /etc/svc.conf,
/etc/passwd, ... , /.profile ).

My postload file works well when it's run from command line, but it's never run
after the package installation.

If someone can explain how to make this work or point me to documentation.

	Thanks.

P.S: I look at RIS software but I really don't need a so sofisticated software
for my works, and my manager will never be agree to buy the license.

-- 
CARMIER MARC a l'association `\||||/' des Immortels
carmier@immortels.frmug.org   /O  O\  Servie par Usenet Canal Hyst�rique
----------------------------oooo()oooo----------------------------------
             Le moi est Haissable.  Mais c'est tout ce que j'ai



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DU4.0 automatic installation
  1998-01-09  5:00 DU4.0 automatic installation carmier
@ 1998-01-16  5:00 ` Steve Grandinetti
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grandinetti @ 1998-01-16  5:00 UTC (permalink / raw)
  To: carmier


carmier@immortels.frmug.org wrote:
> 
>         Hi,
> 
> I have to install 50 DWPS 433 under Digital Unix 4.0.

I hope you mean V4.0B or later, as the ability to clone DIGITAL UNIX
from a non-RIS distribution didn't exist until V4.0B.

> 
> For these task, I manage to create a floppy with the following files :
>         - preinstall
>         - install.cdf
>         - postload
> 
> With that floppy, I'm abble to install a station without being in front of to
> answer all the question ( I was hoping ;-( ). But I don't manage the postload
> file being run.
> 
> I need to create a kernel without some option ( KDEBUG that make our debugguer
> crash the station ) 

On the CDROM distribution, you want to take a look at the file
./usr/share/lib/kernel_options/.new..kernel_options.db.  This
is the file that has the mandatory kernel options defined.  Read
the comment header at the top of the file for an understanding
of how "M", "O", and "Z" are used.

If just the mandatory kernel options are fine for you, then
just select "kernel_options=mandatory" in your CDF, and you're done.

If you need to make other kernel options mandatory such that you can
perform an unattended installation, you can make a copy of this file
called "kernel_options.db" (NEVER EVER edit the .new..* version of the
file!!!), and include the additional kernel options that you need
to be mandatory in the kernel.  During the "postload" operation,
copy your modified "kernel_options.db" file to
/mnt/usr/share/lib/kernel_options/kernel_options.db. Then, in your
CDF, make sure you specify "kernel_options=mandatory", so only the 
mandatory kernel oprtions are built (automatically) into your kernel.

>and some specific to our application ( maxusers, semmshl,
> ... ).

For these kernel tunables, you should use the syconfigdb(8)
command to modify the proper subsytem attributes (e.g., maxusers, etc.)
in ./etc/sysconfigtab.  Note that at the time that the postload
operation is run, the newly created file systems are mounted on
/mnt, so ./etc/sysconfigtab is actually at /mnt/etc/sysconfigtab.
You'll need to use the (I believe udocumented) "-t" flag to
sysconfigdb:

	sysconfigdb -t /mnt/etc/sysconfigtab -f $tmpfile $subsys

where "$subsys" is the kernel subsystem name that your targetting,
and "$tmpfile" is the temporary file containing the new stanza-formatted
attributes that you want to modify.

> I also need to copy some principal file ( rc.config, /etc/hosts, /etc/svc.conf,
> /etc/passwd, ... , /.profile ).

Remember that the file systems are mounted on /mnt, so these files
shoule be copied to /mnt/etc/

> 
> My postload file works well when it's run from command line, but it's never run
> after the package installation.
> 
> If someone can explain how to make this work or point me to documentation.

The theory and operation of cloning and user supplied scripts
(preinstall and postload) is well described in the V4.0B Installation
Guide:

(http://www.UNIX.digital.com/faqs/publications/pub_page/pubs_page.html)

However, when it comes to writing the user supplied scripts, your
basically on your own depending upon what you specifically need to
accomplish.

> 
>         Thanks.
> 
> P.S: I look at RIS software but I really don't need a so sofisticated software
> for my works, and my manager will never be agree to buy the license.
> 

	-Steve.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-01-16  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-09  5:00 DU4.0 automatic installation carmier
1998-01-16  5:00 ` Steve Grandinetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox