Operating System - HP-UX
1833016 Members
2313 Online
110048 Solutions
New Discussion

No 'mount' command when I boot from CD-ROM

 
SOLVED
Go to solution
Paul Redman
Occasional Advisor

No 'mount' command when I boot from CD-ROM

Hello all,

This is for B.11.11, rp7420.

When I boot to single-user mode, I am prompted for a root password. I have no idea what this is, so I booted from HPUX media in the DVD-ROM in an attempt to mount / and /usr in order to run the 'passwd root' command.

I have a problem ....

# ls
.sh_history dev duped_root opt tmp
CDROM dev.old etc sbin usr
core disc lost+found stand var

# ls /sbin
awk funzip ls pstat
bdf get_disk_layout lssf reboot
cat get_partition_info map_root_lv rescan
chmod init mkdir rm
chown insf mknod sh
fs lib mksf sync
fs_type loadfile mv unlink

# ls /usr/bin
basename cp egrep grep ln tftp uname

# ls /usr/sbin
setboot

.... I have no "mount" command with which to mount the necessary partitions.

Has anybody seen anything like this before, please? It's a bit tricky trying to search for clues with this as it tends to point me towards URLs for mounting media when the server is at multi-user level. :o)

Many thanks in advance!
3 REPLIES 3
Robert-Jan Goossens_1
Honored Contributor

Re: No 'mount' command when I boot from CD-ROM

Paul,

Steps are in the document, link is below. Just instead of recompile the kernel use the passwd or vi command.

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080361016

Regards,
Robert-Jan
Michael Roberts_3
Honored Contributor
Solution

Re: No 'mount' command when I boot from CD-ROM

You booted like:

ISL> hpux -is /stand/vmunix

And were prompted for a passwd?

As for the mount command you can load it
manually from the shell with

loadfile /sbin/mount

There are filesystem specific mount commands also:

/sbin/fs/hfs/mount
/sbin/fs/vxfs/mount

That can be loaded as described above.
etouq ot hguone revelc ton m'i
Paul Redman
Occasional Advisor

Re: No 'mount' command when I boot from CD-ROM

.... and "loadfile" was the fellow who helped me nail this.

Marvellous, thank you kindly!