Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

Alpha VMS Boot from CD and not set time

Occasional Visitor

Alpha VMS Boot from CD and not set time

I have to take the systems down to do backups and other things from time to time. But when I boot from CD it always prompts for the Date/Time. Is there anyway around haing to enter this. I have two systems that it is simi important to get near the same time on and would rather not reset the Date/Time every boot from CD I do.
Trusted Contributor

Re: Alpha VMS Boot from CD and not set time

Do you have to set time when you reboot again normally? If so, perhaps the battery on the motherboard is weak/dead.

If not, then it must be a setting on the CD. System Parameter SETTIME controls whether or not you are asked for the time during boot. Try a conversational boot of the CD and check the value of SETTIME, and reset it to 0 if necessary.

Why does it matter what the system time is when you are booted from CD?
Steven Schweda
Honored Contributor

Re: Alpha VMS Boot from CD and not set time

I could be suffering from False Memory
Syndrome, but I have a dim recollection of
some date-time being stored on the system
disk. For a CD-ROM, that'd now probably be
some old-looking date-time, which might be
enough to trigger the demand for a fresh
(operator-supplied) value.

Around here,
discusses some such criteria.

> [...] Is there anyway around [...]

Install a (CD-ROM-like) minimal VMS on some
real disk, and then use that instead of a
CD-ROM? You might still need to boot it up
now and then and do a "SET TIME" (no
parameter) to keep it happy for later, when
you actually care.

If that is the problem, and if you can find
the magic datum, then I suppose that you
might also be able to make a freshly updated
CD-ROM every few years, and use that instead
of the (old) factory-made CD-ROM.

> Why does it matter [...]

If you write any date-time-stamped data (to,
say, a tape or disk), then it might be nice
to have realistic date-times on those data.
A read-only system disk does not imply that
everything in the system is read-only.
Bob Blunt
Respected Contributor

Re: Alpha VMS Boot from CD and not set time

Yes, the time, or at least part of it, gets saved on the system disk. I can't remember if it ends up in SYS.EXE or APB.EXE, though. I think SYS but I'd have to check. At boot times are compared and if the difference is significant, a year or more I think, you get the prompt. There really isn't a way to get around it unless you copy the install CD to a writable disk where the O/S can save the time for the next time it gets checked. Otherwise you're stuck because the O/S can't change what the CD has on it.

Personally I would always use the most recent install CD I had available as long as no bugs were identified in drivers or BACKUP. You're not required to use the version of the O/S install CD that matches your current installation and in some cases you do get some improvements from the more current releases of the native utilities. That still doesn't guarantee you won't get the prompt to set time...

Respected Contributor

Re: Alpha VMS Boot from CD and not set time

I hate booting from CD. One option you might wish to consider, if you have a small spare disk somewhere, is to create a minimal boot disk that you can use to do backups, etc. The procedure to create this small system disk is located on:


Just my humble suggestion...
Andy Bustamante
Honored Contributor

Re: Alpha VMS Boot from CD and not set time

Following on Edgar's solution, you can take a backup/image of the CD to a scratch boot disk.

If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net