Re: How to exit from linux kernel and return to then grub?

2014-05-18 Thread Chris Jones
On Sun, May 18, 2014 at 01:33:15AM EDT, Z C wrote: [..] > If you are within one shell and you enter another shell, then if you want > to quit the second shell and return back to the first shell, just simply > type exit. All env variables and commands you previous typed in the first > shell are co

Re: How to exit from linux kernel and return to then grub?

2014-05-18 Thread SevenBits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/18/2014 01:46 PM, Vladimir '?-coder/phcoder' Serbinenko wrote: > On 18.05.2014 19:16, SevenBits wrote: >> On 05/18/2014 01:33 AM, Z C wrote: >>> If I boot into a linux kernel using a grub command like "linux >>> /vmlinuz; inirtd /initrd; boot",

Re: How to exit from linux kernel and return to then grub?

2014-05-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.05.2014 19:16, SevenBits wrote: > On 05/18/2014 01:33 AM, Z C wrote: >> If I boot into a linux kernel using a grub command like "linux >> /vmlinuz; inirtd /initrd; boot", how do I shutdown linux itself >> (but do not power off or reboot the computer hardware) and return >> back to the grub di

Re: How to exit from linux kernel and return to then grub?

2014-05-18 Thread SevenBits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, a correction to what I just said. A processor can return from protected mode to real mode. Read more here: https://en.wikipedia.org/wiki/Protected_mode#Entering_and_exiting_protected_mode I don't know if GRUB supports this (I would assume n

Re: How to exit from linux kernel and return to then grub?

2014-05-18 Thread SevenBits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/18/2014 01:33 AM, Z C wrote: > If I boot into a linux kernel using a grub command like "linux > /vmlinuz; inirtd /initrd; boot", how do I shutdown linux itself > (but do not power off or reboot the computer hardware) and return > back to the grub

Re: How to exit from linux kernel and return to then grub?

2014-05-18 Thread Lennart Sorensen
On Sun, May 18, 2014 at 01:33:15PM +0800, Z C wrote: > If I boot into a linux kernel using a grub command like "linux /vmlinuz; > inirtd /initrd; boot", how do I shutdown linux itself (but do not power off > or reboot the computer hardware) and return back to the grub directly? > > What I meant is

How to exit from linux kernel and return to then grub?

2014-05-17 Thread Z C
If I boot into a linux kernel using a grub command like "linux /vmlinuz; inirtd /initrd; boot", how do I shutdown linux itself (but do not power off or reboot the computer hardware) and return back to the grub directly? What I meant is something equivalent to the "exit" command in most shells: If