Operating System - HP-UX
1833873 Members
2149 Online
110063 Solutions
New Discussion

Re: Interrupting boot with ctrl+pipe (Ctrl+|)

 
Richard I Curtis
Frequent Advisor

Interrupting boot with ctrl+pipe (Ctrl+|)

I have a couple of questions that I cant seem to find answers to anywhere...

Can someone confirm if the following are correct (I dont have access to a test system to experiment on and could do with knowing should I need these on reboot) ?

On boot, while init is running through the various start scripts, ctrl+\ should terminate the currently running start script (in the event that it has hung) ?

To terminate the boot process completely and drop to a shell, ctrl+| (pipe) will stop execution immediately ?

When in single user mode, I was typing a command and tried to cancel the current input.. I ended up with
"for i in `cat /etc/fstab` do
>
>"
but could not get out of the current command.. ie, everything I tried just gave me another > to enter more input. From /bin/sh what is the key combination to end the current command (ie, similar to ctrl+c in ksh) ?

Any pointers greatly appreciated... are there any good docs covering the ctrl+ ?? key combinations available on boot ?
4 REPLIES 4
Sandman!
Honored Contributor

Re: Interrupting boot with ctrl+pipe (Ctrl+|)

ctrl+d terminates the current session aka exit. ctrl+| skips the hung startup script and moves onto the next one.
Richard I Curtis
Frequent Advisor

Re: Interrupting boot with ctrl+pipe (Ctrl+|)

>ctrl+d terminates the current session aka exit. ctrl+| skips the hung startup script and moves onto the next one.

I originally thought similar about the ctrl+| but I could swear that when I did that last time, it terminated the whole boot process and dropped me to a shell... is there a key combo that will abort the whole boot process and give a shell (assuming that ctrl+| only terminates the current script)
Sandman!
Honored Contributor

Re: Interrupting boot with ctrl+pipe (Ctrl+|)

ctrl+| and ctrl+\ are synonymous and both skip over the hung startup script followed by executing the next one in the sequence. Not sure if there is a key combination that can drop one to the shell during the startup sequence.

~cheers
skt_skt
Honored Contributor

Re: Interrupting boot with ctrl+pipe (Ctrl+|)

"Cntl+ " key combination will skip system rc startup script in HP-UX : Informational.

On real case some time worked for me to get to the next rc script and some it goes to the login prompt.