1748171 Members
4150 Online
108758 Solutions
New Discussion юеВ

Re: /vmunix

 
Jess_13
Advisor

/vmunix

Hi all,
On 1 of my Alpha 5.1B-3 system, vmunix is not located on /. After searching for a while, found out that it is located at /usr/vmunix.

Should I copy vmunix to put in to /? This file is for kernal configuration?

Correct me if i'm wrong, thanks.
5 REPLIES 5
Steven Schweda
Honored Contributor

Re: /vmunix

I believe that you can put "vmunix" anywhere
on the root file system (and name it anything
you wish), so long as the console "boot"
command can find it. That is, if you specify
its location explicitly in the "boot" command
("boot -file XXXX") or set the "boot_file"
console environment variable appropriately.

The default location/name is "/vmunix", and
you'll probably be happier if all your
systems keep it in the same place.

At the console prompt, "show boot*".
(There's probably some program which will
fetch these data while Tru64 is running, but
I've forgotten. If you need it, I'm sure
that it can be found.)
Victor Semaska_3
Esteemed Contributor

Re: /vmunix

The command is:

# /sbin/consvar -l

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Ivan Ferreira
Honored Contributor

Re: /vmunix

The kernel should not be located on a "mounted" file system different than /. This is because the file systems won't be mounted at startup time. The root file system is located in a "special way" to mount it at startup.

You should put your kernel in /.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Manish PATHAK_2
Regular Advisor

Re: /vmunix

You should put your kernel in the / and also i will not recommend to change the name, atleast for the kernel things should be generic.

You should copy it to / and then reboot the system.

Br
Manish
Venkatesh BL
Honored Contributor

Re: /vmunix

One reason why the vmunix file is present in /usr could be that someone changed something in the kernel and copied the old one in this directory. If this is true, you could try using 'doconfig' to build a new kernel image and use that to reboot the system.

As mentioned by others, the vmunix file should be in the "root" file system. In case of clusters, its a link to the actual file that resides in the member specific boot partition area (which is similar to the member's 'root' partition).