Operating System - Tru64 Unix
1752565 Members
5410 Online
108788 Solutions
New Discussion юеВ

Re: booting problem "load of /etc/init failed error 2"

 
MahdiRa
Frequent Advisor

booting problem "load of /etc/init failed error 2"

Dear all
i have problem in booting my machine which alpha server ds10 with the following error
vm_swap_init:warning /sbin/swapdefault swap device not found
swap set to lazy
load of /etc/init failed error 2
thx in advanced
12 REPLIES 12
Ivan Ferreira
Honored Contributor

Re: booting problem "load of /etc/init failed error 2"

>> device not found

Looks like you have a hardware problem. When the problem started? Did the machine crash previously? Can you see all disks that are connected to the server with the SRM>> show dev command?

I would try booting from the CD to verify access to the disks.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
MahdiRa
Frequent Advisor

Re: booting problem "load of /etc/init failed error 2"

dear Ivan
i could see all the disks they seemed ok
regards
Vladimir Fabecic
Honored Contributor

Re: booting problem "load of /etc/init failed error 2"

I would also try booting from the CD to verify access to the disks.
But before that you can try boot in single user mode:
>>> boot -flag 0
In vino veritas, in VMS cluster
MahdiRa
Frequent Advisor

Re: booting problem "load of /etc/init failed error 2"

i booted from the cd but i need to mount my old root file system any one can advice how to do for os version "4.0f"
Mark Poeschl_2
Honored Contributor

Re: booting problem "load of /etc/init failed error 2"

Assuming your root directory is AdvFS, not UFS:

1. Boot from CD and go to command line interface
2. mkdir /etc/fdmns/fakeroot
3. ln -s /dev/rzxxyyz /etc/fdmns/fakeroot/rzxxyyz
4. mkdir /tmp/fakeroot
5. mount fakeroot#root /tmp/fakeroot

You will of course have to substitute the correct device name for 'rzxxyyz' in step 3.
MahdiRa
Frequent Advisor

Re: booting problem "load of /etc/init failed error 2"

thx but which commands i have to use to know the exact name of my device
Vladimir Fabecic
Honored Contributor

Re: booting problem "load of /etc/init failed error 2"

You said your OS version is 4.0f.
Do:
# scu scan edt
# scu show edt
to see where are your disks
That you may need to create device files:
# cd /dev
# ./MAKEDEV rz0*
Maybe it would be easier:
rz0 if your disk is DKA0 in console
or rz1 if your disk is DKA100 in console
or rz8 if your disk is DKB0 in console etc
If you have UFS then you can mount:
# mount /dev/rz0a /fakeroot
If you have advfs use solution from Mark.
In vino veritas, in VMS cluster
MahdiRa
Frequent Advisor

Re: booting problem "load of /etc/init failed error 2"

i did mount /dev/rz0a /mnt but it gives an error "no such device"
Vladimir Fabecic
Honored Contributor

Re: booting problem "load of /etc/init failed error 2"

What is console name for your boot disk?
Is it DKA0 or something else?
Did you create device files with MAKEDEV?
In vino veritas, in VMS cluster