Continuing tale of the Powerserver 320H

From: Paul Thompson <thompson_at_mail.athenet.net>
Date: Fri Nov 23 19:48:25 2001

On Fri, 23 Nov 2001, Carlos Murillo wrote:

> #getrootfs
> usage: /usr/sbin/getrootfs [-f] diskname
> -f disregard status of hd5
> Available disks: location:
> hdisk0 00-01-00-00
>
> #getrootfs -f hdisk0
> Importing Volume Group...
> rootvg
> /dev/rhd4 (/): ** Unmounted cleanly - Check supressed
> /dev/rhd2 (/usr): ** Unmounted cleanly - Check supressed
> /usr/sbin/getrootfs: mount: not found
> checking all mounts and the existance of df
> /usr/sbin/getrootfs: mount: not found

On my 4.1.5 machine mount lives in /usr/sbin with a symlink in /etc.
Don't know how true this is of the maintenance shell though it is worth a
try to type the paths completely.

What does AIX say when you type /etc/mount and /usr/sbin/mount before and
after you do the getrootfs?

> Further investigation revealed that if I "umount /usr", then there is
> some mount executable in the ram disk. Ok, so I make /usr1, copy all
> the stuff in the ramdisk /usr to /usr1 (also in ramdisk) and run
> getrootfs again. Still no luck mounting /usr .

Why not leave the filesystems alone that the maintenance shell creates and
mounts and instead mkdir /bogus to mount your hd4 on.

I maybe misreading what you're typing above but there is no urgent need to
mount hd2 on usr and hd4 on / just because that's how they are when the
system boots from the system disk. Mount them wherever from the
maintenance shell and cd where you need to get to change things.

/bogus/etc/security/passwd is where your real encrypted password text
lives if you mount hd4 on /bogus. If you can get to an editor eventually
you should be able to just remove the encrypted entry for root as someone
else mentioned.


-- 
Received on Fri Nov 23 2001 - 19:48:25 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:34:12 BST