Operating System - HP-UX
1835195 Members
2590 Online
110077 Solutions
New Discussion

Re: unable to boot due to failure to mount

 
Brett Gengler
New Member

unable to boot due to failure to mount

After incorrectly changing the mounting directory of a secondary harddrive in
/etc/fstab and doing a shutdown the HP-715/50 I am using, the system is unable
to boot completely. After it reports loading of the partitions as failing
(along with most other options that it runs through) it cycles through a 5
minute retry cycle with a 'INIT: command is responding." How can I boot this
machine so that I can corrent my mount error in fstab? Also, keep in mind that
I have just begun to use HP-UX recently (thus the dumb mistakes).

Brett Gengler
1 REPLY 1
Steve White_8
Frequent Advisor

Re: unable to boot due to failure to mount

Interrupt your system when it is starting up and interact with IPL. Tpye hpux
-is and this should provide you with a basic operating environment.

You will have to know what lvols belong as what filesystems.

Try this, the filesystem layout was from a machine installed from CD. I have
seen filesystem layout that differs from this.

cp /etc/fstab /etc/fstab.old
echo /dev/vg00/lvol3 / hfs defaults 0 1>/etc/fstab
echo /dev/vg00/lvol1 /stand hfs defaults 0 1>>/etc/fstab
echo /dev/vg00/lvol4 /home hfs defaults 0 2>>/etc/fstab
echo /dev/vg00/lvol3 /opt hfs defaults 0 2>>/etc/fstab
echo /dev/vg00/lvol3 /tmp hfs defaults 0 2>>/etc/fstab
echo /dev/vg00/lvol3 /usr hfs defaults 0 2>>/etc/fstab
echo /dev/vg00/lvol3 /var hfs defaults 0 2>>/etc/fstab

You may need to change the filesystem type from hfs to vxfs depending on your
configuration.

You should also verify the following:

lvlnboot -v

This should show

/dev/vg00/lvol1 boot
/dev/vg00/lvol2 dump
/dev/vg00/lvol2 swap
/dev/vg00/lvol3 root

You should be reaaly carefull when reworking this machine.

I would now reboot the system and let it start up naturally as see how it goes.