Operating System - HP-UX
1833794 Members
2637 Online
110063 Solutions
New Discussion

system keeps on booting /stand/install instead in /stand/vmunix

 
SOLVED
Go to solution
SM_3
Super Advisor

system keeps on booting /stand/install instead in /stand/vmunix

my system refuses to boot from the internal disk

i tried
boot pri
but /stand/install boots

how can i force the system to boot from the internal disk i.e. /stand/vmunix?
6 REPLIES 6
Steve Steel
Honored Contributor
Solution

Re: system keeps on booting /stand/install instead in /stand/vmunix

Hi

A guess is your 'autoexecute' file is set to boot from the INSTALL kernel.
Restart your system and during the 10-second interrupt window hold down the ESC key.

'boot pri isl'
yes to 'interact with IPL?' (if prompted)
ISL> lsautofl <--will show the autoexecute string .
ISL> hpux <--boot from /stand/vmunix by default (ignore autoexecute string).

Once the system booted you can reset the 'autoexecute' string like this
(substitute c0t6d0 with your boot disk):
# lifcp /dev/dsk/c0t6d0:AUTO - <---show autoexecute string again
# mkboot -a "hpux" /dev/rdsk/c0t6d0 <---set to 'hpux'
# lifcp /dev/dsk/c0t6d0:AUTO - <---verify change.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Helen French
Honored Contributor

Re: system keeps on booting /stand/install instead in /stand/vmunix

Interact with ISL while booting, then:

ISL > hpux (;0)/stand/vmunix
Life is a promise, fulfill it!
John Palmer
Honored Contributor

Re: system keeps on booting /stand/install instead in /stand/vmunix

Need more information...

boot pri will attempt to boot from device set as the primary boot path. You can determine what this is with:
pa

If it's not the correct path then you can:
bo

Reply Y to 'Interact with ISL?' then at the ISL> prompt type:
hpux

This will attempt to boot from the default kernel (/stand/vmunix).

Regards,
John
Jeff Schussele
Honored Contributor

Re: system keeps on booting /stand/install instead in /stand/vmunix

Just to add to Steve's excellent reply....

If you have mirrored root/boot disks you may want to change the string from
mkboot -a "hpux" /dev/rdsk/c0t6d0
to
mkboot -a "hpux -lq" /dev/rdsk/c0t6d0

So that you can boot if one of the mirror pairs fails.
The -lq means boot even if quorum is not met.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
James R. Ferguson
Acclaimed Contributor

Re: system keeps on booting /stand/install instead in /stand/vmunix

Hi:

Reboot the system and interrupt the boot when you see "Autoboot from primary boot path...to override press any key...".

When asked to boot from the primary path, answer "N"o. Respond "Y"es or "N"o to the "boot from alternate path?" query. You can use "SEA"rch to look for other available paths if the alternate one is not what you need.

You can permanently set the primary and alternate boot pathes when you have booted from the device you want by using:

# setboot -p primarypath

See the man pages for 'setboot' for more information.

Regards!

...JRF...

When
At the IPL, choose SEArch and look for the path of the device from which you want to boot.
SM_3
Super Advisor

Re: system keeps on booting /stand/install instead in /stand/vmunix

i set both the pri & alt to scsi 6
but did not work

bo pri isl this works

nice explanation steve

thanks for the fast replies!

drinks are on the house!