From: "Jan C. Kleinsorge" <wobble@gmx.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Starting a kernel out of a running kernel...
Date: Tue, 16 Jan 2007 09:11:23 +0100 [thread overview]
Message-ID: <45AC88AB.4040308@gmx.de> (raw)
In-Reply-To: <45AC1401.2050503@flexible-solutions.de>
Volker Jung wrote:
> Hello,
>
> is there a solution for starting a new Linux kernel out of a running
> Linux kernel using GRUB or a changed GRUB? First I thought I could use
> LILO. But LILO runs in real mode, not having any idea about protected
> mode. GRUB runs in protected mode itself - in order to boot an OS it
> has to switch back to real mode or to prepare the protected mode
> control registers of the CPU to start the OS. So GRUB may be able to
> pass control from one kernel to the other.
>
> The idea: Instead of using GRUBs abilities to do various things inside
> a shell one could use it to boot a complete Linux. Then one can do
> everything one wants and afterwards one could start the desired system
> WITHOUT rebooting.
>
> Perhaps this sounds crazy but there is a problem where this idea would
> be helpful: So you could implement a read only failsafe system that
> starts again whenever you reset your remote server and out of this
> system (remotely controlled via SSH or similar) you could start the
> desired system WITHOUT having to reboot which would again start the
> failsafe system which isn't the thing one wants. You can call this
> "GRUB with a fully featured OS"...
>
> In LILO this behaviour could be implemented using the -R option - but
> this assumes a read write medium...
>
> Any suggestions?
That is not possible. 'Protected Mode' clearly denotes some form of
protection. Unless you grant the software extra privileges (that is,
write kernel-code)
it's virtually impossible. Apropos 'virtually': Use some virtualization
technology instead and you never will have to reboot any machine again,
ever.
>
> Thanks in advance
> Volker
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
-jan
next prev parent reply other threads:[~2007-01-16 8:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 23:53 Starting a kernel out of a running kernel Volker Jung
2007-01-16 8:11 ` Jan C. Kleinsorge [this message]
2007-01-16 14:18 ` Brian Sammon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45AC88AB.4040308@gmx.de \
--to=wobble@gmx.de \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.