Operating System - HP-UX
1819791 Members
3155 Online
109607 Solutions
New Discussion юеВ

/usr/bin not mounting in single-user mode

 
SOLVED
Go to solution
Terry Washington_1
Frequent Advisor

/usr/bin not mounting in single-user mode

I am attempting to boot a C160 with fresh guided install of HP-UX11i in single-user mode to kill the "software distributor agent daemon". The system gets stuck on this script every time I try to boot the system. I have yet to sucessfully boot into the new OS. I have tried pressing CTRL+break to skip the script without success. Anyway when I get into single-user mode /usr is mounting but the bin sub-directory is not and I cannot run any of the needed commands. I am new to HP-Ux and am wondering if this is a normal side-affect of single-user mode? If not how do I fix this? This is my second attempt at installing HP-UX11i on this box (see topic Missing CDE and Language from last week if interested). Any suggestions would be welcome and appreciated. Thanks!
4 REPLIES 4
Eugeny Brychkov
Honored Contributor
Solution

Re: /usr/bin not mounting in single-user mode

Terry,
as I remember you need to mount /usr manually
mount /dev/vg00/lvolX /usr
Please use 'mount' w/o ontions to see which volumes you have mounted
Eugeny
Bill Hassell
Honored Contributor

Re: /usr/bin not mounting in single-user mode

True single user mode has nothing but / and /stand mounted (fairly common Unix behavior). You must mount /usr *and* /var *and* /tmp if you are going to run commands such as vi. Note that there is no /bin directory. This was moved more than 10 years ago to /usr/bin (like Solaris and other SysV flavor of Unix).

The problem with the SD Agent is likely due to networking setup problems.


Bill Hassell, sysadmin
V. Nyga
Honored Contributor

Re: /usr/bin not mounting in single-user mode

Hi,

use mount -a to get all directories mounted which are in /etc/fstab

Regards
Volkmar
*** Say 'Thanks' with Kudos ***
Terry Washington_1
Frequent Advisor

Re: /usr/bin not mounting in single-user mode

Thanks everyone for the suggestions. I was able to mount waht was needed in single-user mode and kill the startup script. However every time I would disable one startup script the system would get stuck on the next one. The root disk then ended up generating "powerfail" errors. I am going to replace the root disk. I am having very bad luck with this system.