Operating System - HP-UX
1833738 Members
3048 Online
110063 Solutions
New Discussion

Is there an easier way to fix it mkboot -a "booboo"

 
Bolek Mynarski
Frequent Advisor

Is there an easier way to fix it mkboot -a "booboo"

Well, I thought I got it right only to find out that I can't boot from my mirrored disk. After looking closely at my .sh_history file, I noticed that I missed an important part. Instead of typing:

mkboot -a "hpux -lq (;0)/stand/vmunix/dev/rdsk/c3t15d0

I typed:

mkboot -a "hpux -lq (;0/stand/vmunix/dev/rdsk/c3t15d0

(missing right parenthesis). Is there an easy way to redeem it or I have to remove the disk from the volume group and start over?

Thanks.
It'snever too late to learn new things...
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: Is there an easier way to fix it mkboot -a "booboo"

Hi:

Try doing a 'rmboot' followed by 'mkboot'. See the man pages for either (which are the same).

...JRF...
Bruce Regittko_1
Esteemed Contributor

Re: Is there an easier way to fix it mkboot -a "booboo"

Hi,

You should be able to enter the corrected command since mkboot will also update the AUTO file.

--Bruce
www.stratech.com/training
Darrel Louis
Honored Contributor

Re: Is there an easier way to fix it mkboot -a "booboo"

Hi,

You can re-type the mkboot command once more.
This shouldn't be a problem.

Is there a space after /stand/vmunix /dev/rdsk/??.
In both cases I don't see a space, which should be the case.

Regards

Darrel Louis
Bolek Mynarski
Frequent Advisor

Re: Is there an easier way to fix it mkboot -a "booboo"

Thanks a lot guys! I guess, I panicked. Yes, after re-running mkboot command, everything was find. :-)
It'snever too late to learn new things...
Rob Mallard
Valued Contributor

Re: Is there an easier way to fix it mkboot -a "booboo"

If you want to view the contents of your AUTO file (results or executing a mkboot -a) try:

lifcp dev/rdsk/c3t15d0:AUTO -

This will avoid having to do a reboot to see if the AUTO string is correct.