Re: can't cleanly exit shell from FC5 rescue CD



On Mon, 2006-07-17 at 17:01 -0500, Mikkel L. Ellertson wrote:
Adam Monsen wrote:
I'm having a problem with the Fedora Core 5 rescue CD: I can't cleanly
exit the shell. When I type in 'exit' and hit enter, I see the following:

sh-3.1# exit
logout

...and nothing happens. Anyone seen this? Any ideas?

Here are the exact repro steps for people who like that kind of thing:

REPRO STEPS:
* boot to Fedora Core 5 rescue CD
* type 'linux rescue' at the prompt and hit ENTER
* choose language = English
* choose keyboard = us
* don't start up network interfaces
* don't try to find existing installations
* at the shell prompt, type 'exit' and hit ENTER

EXPECTED RESULT:
* system reboots

ACTUAL RESULT:
* system hangs after 'logout' is printed to the console

I normally run "shutdown -r now" or "shutdown -h now" to get out of
the rescue mode. I would not expect a clean shutdown just by exiting
the shell. When in the single user mode without using the rescue
mode of the CD, you also have the option of using telinit to change
to run level 3 or 5, instead of doing a shutdown or reboot.

I don't think I've used an FC5 disk in rescue mode but every other
FC/RH version that offered it would reboot cleanly when you exit
the shell, so this would be unexpected behavior for anyone who had
used a prior version. If you have done the 'chroot' to a mounted
installed system, you need to exit twice - once for the chroot
shell, once for the rescue shell.

--
Les Mikesell
lesmikesell@xxxxxxxxx


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: cant cleanly exit shell from FC5 rescue CD
    ... When I type in 'exit' and hit enter, ... type 'linux rescue' at the prompt and hit ENTER ... at the shell prompt, ...
    (Fedora)
  • cant cleanly exit shell from FC5 rescue CD
    ... I'm having a problem with the Fedora Core 5 rescue CD: I can't cleanly exit ... When I type in 'exit' and hit enter, ...
    (Fedora)
  • possible bug in mysql-server.sh
    ... $ #I will hit now CTRL+D ... $ exit ... So, a shell from the user "mysql" is started, and boot process Doesn't continue till y "logout" that shell.. ...
    (freebsd-questions)
  • Re: dd command & reading in background
    ... ^ D,"UnixReview: Shell Corner: The dspl Korn Shell ... user input timeout, do a search on C.U.S. for the ... # 0<c<127 - job exited with this exit code ...
    (comp.unix.shell)
  • Re: shell error codes
    ... > I agree to that when a program is launched by the shell. ... The only standardized exit codes are 126 and 127 ... SUS> If the execvefunction fails due to an error equivalent to ... program returned exit code 127 or the command was not ...
    (comp.unix.shell)