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

2014-05-18 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 you

Improper handling of --disk-module argument in grub-install

2014-05-18 Thread Glenn Washburn
Currently when using --disk-module=xxx, grub-install will fail with a message about disk-module not being a valid option. To fix this, OPTION_MODULE should be removed from the option enum and the remaining references to OPTION_MODULE (only one) should be renamed to OPTION_DISK_MODULE. Glenn

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

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 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

Re: How to use grub2-extra-lua module

2014-05-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.05.2014 15:45, 张驰 wrote: I googled for grub2-lua, but found very few information on it. I can't find an official website for grub2-lua (i.e official stable source code tarball download link), except for a git/bzr clone link. Moreover, I can't find any documentation about grub lua. So I

Re: Grub development

2014-05-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 17.05.2014 09:25, r jan wrote: I am a student doing project on grub, I am interested in developing grub. So please allow me and help me for development of grub. Thankyou You're extremely vague. Please detail what you want to develop and what's the usecase and youtr approach to it.

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 directly?

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, how do I

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