Operating System - HP-UX
1827855 Members
1665 Online
109969 Solutions
New Discussion

wrong AUTO file boot string

 
Joao Rei
Frequent Advisor

wrong AUTO file boot string

While mirroring the boot disk I typed the following AUTO file boot string:
boot /stand/vmunix/ -lq

When booting the kernel obviously It was not found and I was thrown to a kind of a single user command line (No kernel loaded).
Then I typed reboot. Well I just corrupted the kernel then.

What would you do on this kind of single user command line?

5 REPLIES 5
Marcel Burggraeve
Trusted Contributor

Re: wrong AUTO file boot string

Reset the system.
Interrupt the boot proces when asked.
bo
Interact with ISL : y
On the next prompt : hpux
Torsten.
Acclaimed Contributor

Re: wrong AUTO file boot string

This is an Integrity, right?

These are the commands available there:

fs0:\EFI\HPUX> hpux

(C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P.
All rights reserved

HP-UX Boot Loader for IPF -- Revision 2.028

Press Any Key to interrupt Autoboot
\efi\hpux\AUTO ==> boot vmunix
Seconds left till autoboot - 8
Type 'help' for help

HPUX> he
Unrecognized command.

HPUX> help
-- HPUX bootloader for IPF Help --

-------- supported commands ---------
boot [kernel] - boots HPUX kernel
help [-d] - help screen (-d to list debug commands)
mmap - show current EFI memory map
ls [-aRdnlogrtucpFLis] [path...]
ll [-aRdnlogrtucpFLis] [path...] (same as ls -alF)
setauto [-d] [str] - sets AUTO file (-d to delete AUTO file)
showauto - shows AUTO file
ver - prints version numbers
exit - exits bootloader


Type

boot vmunix
or simply
boot

there!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: wrong AUTO file boot string

As mentioned before, you should be able to boot. Almost no chance to corrupt the kernel here.

Adjust your AUTO file to this:

# echo "boot vmunix -lq" > /tmp/AUTO.lq
# efi_cp -d /dev/rdsk/c3t2d0s1 /tmp/AUTO.lq /EFI/HPUX/AUTO

(use the right device file)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Joao Rei
Frequent Advisor

Re: wrong AUTO file boot string

This is Integrity.

In this "kind of" single user shell do I must power off and then power on and boot manually the kernel?
Dennis Handly
Acclaimed Contributor

Re: wrong AUTO file boot string

>In this "kind of" single user shell do I must power off and then power on and boot manually the kernel?

You don't need to be in single user mode for efi_cp. You can do it as root while the system is up.

Also, you should NOT turn the power off to reboot but do a normal shutdown -r.