Operating System - HP-UX
1834645 Members
2187 Online
110069 Solutions
New Discussion

Re: reinstall from scratch HP-UX 10.20

 
SOLVED
Go to solution
Alan Ridgeway
Occasional Contributor

reinstall from scratch HP-UX 10.20

System: PA-RISC 715/100
OS: UP-UX 10.20

Background:
Test/QA machine. It used to have an x500 directory client
for testing a product. Somewhere during the test or the removable of the client, the OS password file corrupted. Now root can not login. So since it is just a test box, I will reinstall the OS.

The following steps work:

1) from Autoboot
2) search for boot devices
Search sees both scsi hard drives and the scsi cdrom
The cdrom has the "install and core os" cd.
3) type "boot scsi.2.0 ipl"
4) get to ISL>
5) In ISL> I type any of the following:
hpux -is boot
hpux -is boot
/HPUX-Install/BOOT-KRN-700/
hpux -is boot
/HPUX-Install/BOOT-SERV-HPPA/
hpux -is
/HPUX-Install/BOOT-KRN-700/
hpux -is
/HPUX-Install/BOOT-KRN-HPPA/
hpux reboot
All of the above fail to find the executable file. hpux reboot will reboot and hang.

notes:
autoboot and autosearch are enabled.
security is set to off, but when I try
Boot_ADMIN> boot pri ipl
ISL> hpux -is disk(;) /hp-ux
or
ISL> hpux -is disk(;)
/stand/vmunix
I am prompted to supply the root password (which does ont work since the password file is corrupt)

My need:
I just want to reinstall the OS from scratch, what step or path or parameter am I missing ?

Thanks
5 REPLIES 5
erics_1
Honored Contributor

Re: reinstall from scratch HP-UX 10.20

Alan,

Once you search the system for bootable devices, you'll see several columns returned such as:

P0 /0/0/8/0 cd-rom

Just type in:

boot P0

OR

boot /0/0/8/0

...this will begin the boot process from the cdrom media.

Regards,
Eric
Sachin Patel
Honored Contributor

Re: reinstall from scratch HP-UX 10.20

Hi Alan,
Why are you trying to go to isl prompt?

dose "bo scsi.2.0" works?

I think you are bringing system to isl using cd then trying to boot from disk.

Sachin
Is photography a hobby or another way to spend $
S.K. Chan
Honored Contributor
Solution

Re: reinstall from scratch HP-UX 10.20

Don't interact with the Initial Program Loader (IPL). At 3) ..
=> type "boot scsi.2.0"
and that should load a mini kernel and bring up the OS installation screen for you.
The other part on booting up from your disk in single user mode and asking for password, if this is a trusted system then that would explain why you're being prompted for password.
Steven E. Protter
Exalted Contributor

Re: reinstall from scratch HP-UX 10.20

The only ting I do different is the ISL command.

hpux -is

If you get a password prompt, try

hpux -lm

If you get a password prompt you're in trouble, because you've locked the only back door I'm aware of.

You might be able to boot off the core os cd, run a recovery shell and reset the root password.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alan Ridgeway
Occasional Contributor

Re: reinstall from scratch HP-UX 10.20

OK looks like it's working now.

I was typing
boot scsi.2.0 ipl

I needed to typw
boot scsi.2.0

So, I will
make note to remove
"ipl" for this.

Thanks

--------------------
Reply notes below
--------------------

When I search
my menu does NOT look like

po scsi.6.0 disk
p1 scsi.5.0 disk
p2 scsi.20. cdrom

it looks like

scsi.6.0 disk
scsi.5.0 disk
scsi.2.0 cdrom